RocketCrawler logotype  RocketCrawler
 56
2025-02-26 | Time to read: 3 minutes
Facebook
Author: Ilya Bykov

Dynamic parameters to track paid traffic in GA4 (Google Analytics 4). Complete list for Google / Meta / LinkedIn / TikTok / Pinterest Ads.

Dynamic parameters to track paid traffic in GA4

Google Ads

{campaignid} – Campaign ID
{adgroupid} – Ad group ID
{targetid} – Keyword ID, DSA target, audience, PLA, or HPI
{matchtype} – Type of keyword match (broad, phrase, exact)
{network} – Where the ad is shown (Search, Display, YouTube, etc.)
{device} – The user’s device type (mobile, tablet, desktop)
{devicemodel} – What model of phone or tablet the click came from (Apple+iPhone)
{creative} – Ad creative ID
{keyword} – The search keyword that triggered the ad
{placement} – Website or app where the ad appeared

Meta Ads

{{ad.id}} – Ad ID
{{adset.id}} – Adset ID
{{campaign.id}} – Campaign ID
{{ad.name}} – Name of the Meta ad
{{adset.name}} – Name of the Meta ad set
{{campaign.name}} – Name of the ad campaign
{{placement}} – Placement where the ad appeared (feed, stories, reels, etc.)
{{site_source_name}} – Name of the platform where the ad was shown (Facebook, Instagram)

Linkedin Ads

{{ACCOUNT_NAME}} – Name of the LinkedIn ad account
{{ACCOUNT_ID}} – Account ID
{{CAMPAIGN_GROUP_ID}} – Campaign group ID
{{CAMPAIGN_GROUP_NAME}} – Name of the LinkedIn campaign group
{{CAMPAIGN_ID}} – Ad campaign ID
{{CAMPAIGN_NAME}} – Name of the LinkedIn ad campaign
{{CREATIVE_ID}} – Creative ID (image, video, text)
{{CREATIVE_NAME}} – Name of the LinkedIn ad creative

Tiktok Ads

CAMPAIGN_NAME – Name of the campaign
CAMPAIGN_ID – Campaign ID
AID_NAME – Name of the ad group
AID – Ad group ID
CID_NAME – Name of the creative
CID – Creative ID
PLACEMENT – Placement type (TikTok, Pangle)

Pinterest Ads

{campaignid} – Campaign ID
{campaign_name} – Campaign name
{adgroupid} – Ad group ID
{ad_group_name} – Ad group name
{creative_id} – The Pin promotion ID
{adid} – The Pin promotion ID
{device} – 't', 'c', or 'm' for tablet, computer, or mobile
{product_name} – Product name
{product_id} – Product ID
{product_partition_id} – Product group ID
{promoted_product_group_id} – Product group ID within the Ads Manager
{campaignid} – Campaign ID
{adgroupid} – Ad group ID
{product_partition_id} – Product group ID
{device} – 'm' for mobile, 't' for tablet, 'c' for computer

Examples:

Google Ads – utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}
Meta Ads – utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_content={{ad.id}}&utm_term={{placement}}
LinkedIn Ads – utm_source=linkedin&utm_medium=cpc&utm_campaign={{CAMPAIGN_NAME}}&utm_content={{CREATIVE_ID}}
TikTok Ads – utm_source=tiktok&utm_medium=cpc&utm_campaign=CAMPAIGN_NAME&utm_content=CID
Pinterest Ads – utm_source=pinterest&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative_id}

Author: «Ilya Bykov»

Rate this article
5/5
1



<< Back