Tracking Templates
Recommended URL patterns for ad click reconciliation across platforms
What is a tracking template?
A tracking template is a URL parameter added to the destination URL of your ads. When a user clicks on an ad, the ad platform automatically replaces dynamic placeholders in the template with the actual values for that click — campaign ID, ad group ID, creative ID, etc. — and appends the result to the landing page URL.
For example, a click on a Google Ads campaign might produce a URL like:
https://www.example.com/page?qid=qid_gad_c12345678_g987654_a11223344This qid parameter is then read by any analytics tool collecting data on that page load.
Why does QUANTI: use tracking templates?
QUANTI: connects your ad platform data (spend, impressions, clicks) with your on-site session and conversion data. To join these two data sources, QUANTI: needs a common key — the qid value carried in the URL.
The qid parameter is designed to work with any analytics data collection tool connected to QUANTI:. It is captured in two ways depending on your setup:
QUANTI: tracking tag — the tag reads the
qiddirectly from the URL and stores it alongside the session in theraw_hitsandraw_sessionstables.Third-party analytics tools (GA4, Piano Analytics, Piwik PRO, and others) — when
qidis included in the landing page URL, these tools capture it as a URL parameter within their own data. QUANTI: can then read it from your analytics connector data and use it as the reconciliation key.
In both cases, QUANTI: can match each session or conversion back to its exact campaign, ad group, and creative — across all ad platforms, in a single data model.
Without a tracking template, cross-platform attribution relies on UTM parameters alone, which do not carry granular ad IDs and cannot link a session to a specific creative or ad group.
Template structure
All QUANTI: templates follow the same naming convention:
Where c, g, and a stand for campaign, group, and ad respectively. When a field is not available for a given platform, the placeholder is left empty.
The {platform} prefix is a 3-letter code that identifies the ad source — for example gad for Google Ads, fbk for Meta, lkd for LinkedIn.
Templates by platform
Affilae
Amazon Ads
Awin
Commission Junction
Criteo
DV360
Effinity
Google Ads
Reference: Google Ads ValueTrack parameters
LinkedIn Ads
Meta Ads
Reference: Meta dynamic URL parameters
Microsoft Advertising
Reference: Microsoft Ads URL tracking parameters
Outbrain
Pinterest Ads
Rakuten Advertising
RTB House
Snapchat
Stylight
Taboola
TikTok Ads
Wonderpush
Last updated