Campaign Tracking Test Page

Test URLs with src

Click a link, watch the URL append ?src=, and check the console for tracking logs.

Current Page Parameters

src value

None

Append ?src=G or ?src=M to this page’s URL to change the value.

Session Storage Snapshot

ad_source_last

Nothing tracked yet

The tracker records a source only once per browser session. Clear storage or open a private window to re-trigger the same network.

How to Test

  1. Click a test link (src=G or src=M).
  2. Confirm the URL shows the expected src query parameter.
  3. Open DevTools → Console and look for “Tracking ad source via SiteBehaviour …” plus page-view logs.
  4. Reload without an `src` parameter – no ad-source event should fire, but page views continue.

Integration Checklist

Note for Production

Use real production URLs when sharing with paid media teams. They only need to append ?src=G or ?src=M; no other UTM parameters are required.