virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-21

Programmatic SEO revenue tracking by page template

By Devendra Variya, co-founder of Virling. Published 2026-11-21, updated 2026-11-30.

Programmatic SEO means generating many pages from one template and a table of data: one page per integration, per city, per alternative, per use case. Search tools tell you how many of those pages are indexed and how many clicks they get. They do not tell you whether anyone who landed on them went on to pay.

This guide shows how to answer that per template and per page: credit each payment to the visit that brought the customer, group the generated pages by URL pattern, and compare revenue per visitor.

Why traffic is the wrong measure

A template that makes 2,000 pages can pull a lot of search visits without bringing a single buyer. Visitors who search for a long-tail phrase are often looking for a quick answer, not a product. Counting indexed pages or clicks rewards the template that makes the most pages, not the one that brings customers. The number to compare is revenue per visitor: credited revenue divided by visitors.

What you need first

Revenue per page only means something once payments are joined to visits. Two things must be in place:

  • Payments connected. Connect your payment provider with a read-only key. Virling imports the last 90 days and then checks for new payments every minute.
  • The visitor ID in checkout. Payment links are tagged by the script on click. Checkout you create on your server needs the virling_vid cookie passed in, such as client_reference_id for Stripe Checkout. Make a test payment and check that it shows a channel instead of Unattributed.

The script must run on the generated pages too. Templates are often served by a different part of the stack than the rest of the site, so check that one generated page records a visit before you trust any numbers. See find which channel brings paying customers for the full setup.

How a payment reaches a generated page

Each visit is described by its first pageview, and that page is its landing page. When a payment comes in, Virling picks one visit in the lookback window before it and credits the whole payment, after refunds, to that visit’s channel, referrer, campaign and landing page.

Which visit gets the credit depends on the attribution model, set in Site settings:

  • Last non-direct, the default, credits the latest visit that was not Direct. A buyer who found a generated page through Google and came back days later by typing your address is credited to the generated page.
  • First touch credits the earliest visit in the window. It shows which pages introduce people who later pay, which is usually the question for programmatic pages, since they tend to be the first contact.
  • Last touch credits the visit right before the payment, Direct included.

The lookback window is 30, 60, 90 or 365 days, 90 by default. Visits older than the window are ignored. Saving either setting rebuilds attribution for every payment, history included, so you can switch to first touch, read the numbers, and switch back. See the attribution model.

Group generated pages by URL pattern

Virling lists every landing page as its own row. It does not group them by template, so the template has to be readable from the URL. If each template has its own path prefix, such as /integrations/, /alternatives/ or /templates/, every row tells you which template it came from. If several templates share one prefix, give them separate ones before you start measuring; it is the only way to tell them apart later.

1. Filter to Organic search

On the Channels card, click Organic search. The whole dashboard filters to it, so the pages and revenue you read next are for search visitors only. Pick a long date range: generated pages often rank slowly, and their visitors may take days to pay. See organic search revenue tracking for how search visits are counted.

2. Read revenue per page

With the filter on, the Landing page tab of the Pages card lists each page searchers arrived on, with visitors, revenue and revenue per visitor. Sort by revenue per visitor, not by visitors. The chip on each row compares it with your site average: green above, red below. See which blog posts bring paying customers for how to read this card.

3. Add up each template

A template with hundreds of pages has hundreds of rows, each with too few visitors to judge on its own. Add them up by prefix: total visitors and total revenue for every row under /integrations/, then revenue divided by visitors. That is revenue per visitor for the template. For more rows than you want to add by hand, pull the landing page breakdown from the API, up to 1,000 rows, or with virling query landing-pages --json, and sum it by prefix in a spreadsheet or a short script. The API breakdown covers every channel, not only search, so use the dashboard when you need the Organic search filter.

4. Compare templates, then pages within one

First compare templates with each other and with the rest of your search traffic. Then, inside a template that pays, look at which pages carry it. Usually a few pages bring most of the revenue, and they tell you which rows of your data table are worth extending.

Indexed but worthless, or bringing buyers

A page can rank, get clicks and still never be credited with a payment. Here is a hypothetical example to show how to read the result.

Example only: made-up numbers for an imaginary SaaS on a $67 monthly plan, not results from a real business. It runs four templates. Over 90 days, filtered to Organic search, first payments only:

TemplatePagesVisitsPaid customersRevenueRevenue per page
/alternatives/361,36514$938$26.06
/integrations/1203,91518$1,206$10.05
/templates/2505,4456$402$1.61
/glossary/6408,7451$67$0.10
All four1,04619,47039$2,613$2.50

By traffic, the glossary looks like the winner. By revenue, each alternatives page earned about 250 times what a glossary page did, and three of the 36 bring 10 of its 14 customers. The integrations template earns the most in total and is the one to extend with more rows. To put a monthly dollar value on each template's search visits, add each one as a row in the traffic value calculator. Signs that a template or page is indexed but worthless:

  • Visitors but no revenue over a long range. A page with a few hundred search visitors and nothing credited, on first touch as well as last non-direct, is not bringing buyers.
  • A red chip on most rows. When nearly every page of a template sits below your site average, the template, not a few weak pages, is the problem.
  • No path to a paying page. The Before paying tab shows the last page viewed before each payment. If paying search visitors go through pricing or a comparison page and a template never links there, it may be the template, not the topic, that fails.

Before you cut a template, check the timing. The Time to pay card shows, for each channel with at least three first payments in the range, the median time from first visit to first payment. If Organic search takes weeks, a range shorter than that will undercount every generated page.

Start free trial and see revenue per landing page for your own templates.

What is one more generated page worth

Revenue per visitor turns a template into money. Put a template’s search visitors and revenue, and what it cost to build and keep up, into the SEO ROI calculator to get return on spend and the break-even point. Dividing the template’s revenue by its number of pages gives a rough value per page, which tells you whether adding more rows to the data table is worth it. To compare that with your other content, see how to measure content marketing ROI. Free calculators and generators are read the same way, by landing page; whether a free tool brings paying customers walks through it.

What to check if the numbers look off

  • Generated pages show visitors but nothing is credited anywhere. Payments are not matched to visits. Open the payments list: if most show Unattributed, checkout is not carrying the visitor ID. See Unattributed revenue.
  • Template revenue looks too low. On the default model, a buyer who found a generated page and came back through a newsletter is credited to Email. Switch to first touch and compare.
  • Old payments have no landing page. Payments are backfilled 90 days, but visits only exist from when the script was added, so pages published before that have no history.

Frequently asked questions

Does programmatic SEO bring customers?

Only your own data can say. Connect your payment provider and pass the visitor ID into checkout, then read revenue per visitor for the landing pages each template generates. Traffic alone does not answer it.

How do I measure programmatic SEO?

Give each template its own URL pattern, such as /integrations/ or /alternatives/, then add up visitors and credited revenue for the landing pages under each pattern. Compare revenue per visitor between templates and between pages of the same template.

Can Virling group pages by URL pattern for me?

No. The Landing page tab lists each URL as its own row. Read the rows that share a pattern, or pull the landing page breakdown with the API or the virling query command and add them up by prefix.

How long should I wait before judging a template?

Long enough for its pages to collect a few hundred visitors between them, and longer than the median time to pay for Organic search on the Time to pay card. Generated pages often take months to rank.

See which generated pages pay

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo