DEV Community

Ntty
Ntty

Posted on

Practical SEO for Developers: Content Ops and Geo Targeting Made Simple

Why SEO matters for developers

When you write a web app, the code often works perfectly but the pages never appear on Google. SEO is not a separate marketing department; it is a set of technical steps that you can embed in your build pipeline. The goal is simple: make sure search engines can read what you have built and serve the right version to the right user.

Content ops basics

Content operations, or content ops, is the practice of treating content like code. That means version control, automated testing, and repeatable builds. Here are three steps to get started:

  1. Store copy in a repo - Keep headings, meta descriptions, and JSON‑LD data in markdown or YAML files. This lets you review changes with pull requests.
  2. Validate at build time - Use a linter like remark-lint to catch empty titles or duplicate meta tags before they reach production.
  3. Deploy with a CI pipeline - Add a stage that runs a headless crawler (e.g., puppeteer) to verify that every URL returns a 200 status and contains the expected <title> tag.

By treating content the same way you treat code, you reduce the chance of a broken meta tag slipping into production.

Geo targeting without overkill

Many sites need to show region‑specific information, but a full‑blown geo‑routing system can add latency and complexity. A lightweight approach is to:

  • Detect the visitor's country with a CDN edge function (Cloudflare Workers, Netlify Edge Functions, etc.).
  • Serve a small JSON payload that contains localized strings and URLs. The main HTML stays the same; JavaScript swaps in the region‑specific bits after the page loads.
  • Cache per country - Set the CDN cache key to include the country code. This prevents one region's content from being served to another.

This pattern keeps the SEO crawlable version stable (the default language) while still delivering a personalized experience to users.

Building an agentic workflow

Agentic content workflows let a script decide what to publish based on data. For developers, this often means:

  • Fetching analytics - Pull page‑view data from Google Analytics or Plausible.
  • Scoring pages - Give each page a score based on traffic, bounce rate, and conversion.
  • Automating updates - If a page's score drops below a threshold, open a pull request that suggests adding a missing <h1> or improving the meta description.

A simple Node script can run nightly, read the scores, and use the GitHub API to create the PRs. The result is a self‑healing site that gradually improves its SEO health without manual triage.

A tiny tool that helped

In my recent project I needed a quick way to generate JSON‑LD for each article. I discovered a small online service that lets you paste a title, author, and date and returns the script tag. I used it once and then built a wrapper around the API so my CI pipeline could generate the markup automatically. The service lives at https://www.citedy.com and saved me a few minutes of copy‑pasting each sprint.

Takeaway

SEO is not a separate discipline; it is a set of repeatable technical steps. By storing copy in version control, validating it during builds, using edge functions for light geo targeting, and automating content health checks, you can keep your site discoverable and fast. The biggest win is that these practices fit naturally into a developer's existing workflow, so you spend less time fixing SEO bugs and more time building features.

Top comments (0)