Tracking Template Builder

Generate and validate URL tracking templates for Google Ads, Microsoft (Bing) Ads and Facebook / Meta Ads. Pick a platform, fill in the fields, and copy a ready-to-paste template with the correct macros.

Build template — Google Ads

Use {lpurl} so the platform inserts the real landing page automatically.

Add your own utm_* and macro parameters separated by &.

Example for Google Ads

{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}&device={device}&gclid={gclid}

Available macros — Google Ads

MacroDescription
{lpurl} Final URL (landing page), URL-encoded
{campaignid} Campaign ID
{adgroupid} Ad group ID
{creative} Ad ID
{keyword} Keyword that triggered the ad
{matchtype} Match type: e (exact), p (phrase), b (broad)
{network} Network: g (search), s (partner), d (display)
{device} Device: m (mobile), t (tablet), c (computer)
{gclid} Google Click Identifier
{loc_physical_ms} Physical location (geo) criteria ID