Skip to content

Instantly share code, notes, and snippets.

@underdown
Last active May 10, 2022 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save underdown/37586432191a006384baf688f8a1b2dd to your computer and use it in GitHub Desktop.
Save underdown/37586432191a006384baf688f8a1b2dd to your computer and use it in GitHub Desktop.
a default Google Ads url tracking template that passes (almost) all ValueTrack parameters
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={adgroupid}&utm_term={keyword}&matchtype={matchtype}&device={device}&devicemodel={devicemodel}&target={target}&placement={placement}&mobile={ifmobile:true}{ifnotmobile:false}&creative={creative}&adposition={adposition}&network={network}&campaignid={campaignid}&adgroupid={adgroupid}&loc_interest_ms={loc_interest_ms}&loc_physical_ms={loc_physical_ms}&utm_region=
// I havent added {ignore} to urls as im not sure of its behavior and syntax. Will test.
@underdown
Copy link
Author

underdown commented May 10, 2022

{lpurl}?gclid={gclid}&utm_source=google&utm_medium=cpc&utm_campaign=&utm_content={adgroupid}&utm_term={keyword}&matchtype={matchtype}&device={device}&devicemodel={devicemodel}&target={target}&placement={placement}&mobile={ifmobile:true}{ifnotmobile:false}&creative={creative}&adposition={adposition}&network={network}&campaignid={campaignid}&adgroupid={adgroupid}&loc_interest_ms={loc_interest_ms}&loc_physical_ms={loc_physical_ms}&utm_region=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment