Use case

GA4 and Analytics Testing With a Known Number of Visits

After a new tag, a consent banner or a template change, the way to know analytics still counts correctly is to send traffic you can count yourself. Run 200 real browser sessions to a test page in one hour, then check that GA4, your server log and your CDN report the same visits.

The sessions come from automated browsers. They test how your analytics counts visits; they are not an audience.

Why Test Analytics With Sessions You Control

A report has no error message

Broken tracking rarely looks broken. A tag that fires twice doubles page views, a consent banner that holds the tag back drops sessions, and a single-page app that sends no page_view on route changes hides whole sections of the site. Each of these still produces a plausible number.

The gap shows only when you know what the number should be. A batch whose session count, page count and source you fixed before it ran gives you that figure.

Changes worth a test batch

A new GA4 property, a move to Google Tag Manager, a redesign that replaced the page templates, a new consent banner, or renamed referral sources that should land in a different default channel group.

Each check is a small campaign pointed at the pages the change touched, scheduled in a quiet hour so the batch stands out from your regular visitors.

Direct, referral and backlink paths

Traffic Generator sends direct sessions, or referral and social sessions with a referrer you name, so you can see that each lands in the channel you expect. To test the referral path through a real page, Link Clicker opens a page that links to you and clicks the link itself.

Organic search is a separate check: GA4 does not show the search term of organic visits at all, and visits that come from a results page are SERP Clicks, not Traffic Generator.

Example: Checking GA4 After a Template Change

A site has moved to new page templates and wants to confirm that GA4 still counts sessions, page views and channels. The batch runs against a test page that regular visitors do not open, so it can be told apart in every report.

Campaign settings
Target URLhttps://example.com/analytics-test/, a page regular visitors do not open
Volume and schedule200 sessions, all in one hour of a quiet day
Traffic sourceDirect
Session duration30 to 90 seconds
Page depth3 pages, following links from the test page
Bounce rate0 percent, so every session opens all 3 pages
CountryThe country most of your audience comes from
Referral checkLink Clicker, 50 clicks on one backlink on a site you control

What the reports should show

  • GA4 Realtime overview: the sessions arriving during the hour you scheduled
  • GA4, Reports, then Engagement, then Landing page: about 200 sessions on the test page, once standard reports have processed, which can take a day or two
  • Page views: about 600, that is 200 sessions times 3 pages. A count near double points to a tag that fires twice
  • Server access log: about 600 page requests to the test pages in that hour, plus the asset requests each page makes
  • The Link Clicker clicks: about 50 sessions in the Referral channel, under Session source, from the domain of the linking page

Cost of the whole test: 200 sessions at $0.0015 come to $0.30, and 50 backlink clicks at $0.003 come to $0.15, so $0.45 in all, well inside the $5 minimum deposit.

Running the Test

  1. 01

    Write down the expected figures

    Before the batch starts, note the sessions, page views and channel each report should show. A test without an expected figure is only a look at a dashboard.

  2. 02

    Check filters and consent

    Look at the data filters on the GA4 property and at how the consent banner loads the tag. If the tag waits for consent, sessions that never accept the banner are not recorded the way accepted ones are, and the test shows you that gap.

  3. 03

    Run the batch in one hour

    Schedule the whole batch inside one hour of a quiet day, so it is easy to isolate in Realtime, in the landing page report and in the log.

  4. 04

    Put three sources side by side

    Compare GA4, the server log and the CDN for the same hour. When they agree, the tag counts what reaches the site; when GA4 alone falls short, look at the tag, the consent setup or a filter.

What This Test Shows and What It Does Not

What it does

  • Shows whether GA4 counts sessions, page views and channels for a batch whose size and source you set yourself
  • Gives you a figure to reconcile against your server log and CDN, independent of any dashboard, ours included
  • Tests direct, referral and social attribution, and the referral path through a real backlink with Link Clicker

What it does not do

  • Does not test conversions or forms: nobody behind these sessions fills in or buys anything
  • Does not test search attribution: visits from search results are SERP Clicks, a separate tool
  • Does not replace GA4 DebugView for checking the parameters of individual events

Acceptable use, data handling and the limits that apply to every tool are in the Trust Center

Tools Used in This Example

The sessions come from Traffic Generator, billed per session at a rate that follows the session duration, and the backlink check uses Link Clicker, billed per click. Both rates are on the pricing page.

See Traffic Generator

FAQ

Analytics Testing Questions

Run a Small Test Batch

Write down the figures you expect, send 200 sessions in one hour and compare GA4 with your own log