Skip to Content
UTM Tracking Templates

UTM tracking templates for attribution

To ensure accurate attribution in Usermaven, each ad platform requires specific UTM parameters. These parameters allow Usermaven to track which campaigns, ads, and clicks are responsible for conversions and user actions.

This guide includes:

  • UTM tracking templates for each platform
  • Parameter descriptions
  • The most important attribute for attribution

1. Google ads

UTM tracking template

{lpurl}?utm_source=google&utm_medium=ppc&utm_campaign={{campaignid}}&utm_term={{keyword}}&utm_content={{creative}}&ad_id={{creative}}&um_campaign_id={{campaignid}}&um_cl={{gclid}}

Most important attribute

  • ad_id={{creative}} — Required to attribute conversions to the specific ad
  • um_campaign_id={{campaignid}} — Required to track Performance Max (PMAX) campaigns

Parameter descriptions

ParameterDescription
utm_sourceIdentifies the traffic source (e.g., google).
utm_mediumSpecifies the marketing medium (e.g., ppc).
utm_campaignDynamically passes the campaign ID using {{campaignid}}.
utm_termCaptures the search keyword using {{keyword}}.
utm_contentDynamically passes the ad creative ID using {{creative}}.
ad_idRequired for attribution; duplicates {{creative}}.
um_campaign_idRequired for PMAX; passes {{campaignid}}.
um_clCaptures the Google Click ID ({{gclid}}).

Here’s the full guide on integrating Google Ads with Usermaven and setting up attribution tracking.


2. Meta ads (Facebook & Instagram)

UTM tracking template

utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content={{adset.name}}&ad_id={{ad.id}}&um_cl={{fbclid}}

Most important attribute

  • ad_id={{ad.id}} — Required to associate conversions with the specific ad

Parameter descriptions

ParameterDescription
utm_sourceIdentifies the traffic source (e.g., facebook or instagram).
utm_mediumSpecifies the marketing channel (e.g., paid).
utm_campaignDynamically passes the campaign name using {{campaign.name}}.
utm_contentDynamically passes the ad set name using {{adset.name}}.
ad_idRequired for attribution; passes the ad ID using {{ad.id}}.
um_clCaptures the Facebook Click ID ({{fbclid}}).

Here’s the full guide on integrating Meta Ads (Facebook & Instagram) with Usermaven and setting up attribution tracking.


3. Microsoft ads (Bing)

UTM tracking template

{lpurl}?utm_source=bing&utm_medium=ppc&utm_campaign={Campaign}&utm_content={AdGroup}&utm_term={QueryString}&ad_id={AdId}&um_cl={msclkid}

Most important attribute

  • ad_id={AdId} — Required to tie conversions to the correct Microsoft Ads creative

Parameter descriptions

ParameterDescription
utm_sourceIdentifies the traffic source (e.g., bing).
utm_mediumSpecifies the marketing channel (e.g., ppc).
utm_campaignDynamically passes the campaign name using {Campaign}.
utm_contentDynamically passes the ad group name using {AdGroup}.
utm_termCaptures the search query that triggered the ad using {QueryString}.
ad_idRequired for attribution; passes the ad ID using {AdId}.
um_clCaptures the Microsoft Click ID using {msclkid}.

Here’s the full guide on integrating Microsoft Ads with Usermaven and setting up attribution tracking.


4. LinkedIn ads

UTM tracking template

utm_source=linkedin&utm_medium=paid&utm_campaign={{CAMPAIGN_NAME}}&utm_content={{CREATIVE_ID}}&ad_id={{CREATIVE_ID}}

Most important attribute

  • ad_id={{CREATIVE_ID}} — Required to attribute conversions to the correct LinkedIn ad

Parameter descriptions

ParameterDescription
utm_sourceIdentifies the traffic source (e.g., linkedin).
utm_mediumSpecifies the marketing channel (e.g., paid).
utm_campaignDynamically passes the campaign name using {{CAMPAIGN_NAME}}.
utm_contentDynamically passes the creative ID using {{CREATIVE_ID}}.
ad_idRequired for attribution; duplicates the creative ID ({{CREATIVE_ID}}).

Here’s the full guide on integrating LinkedIn Ads with Usermaven and setting up attribution tracking.


Best practices

  • Always use & to append UTM parameters in your URLs.
  • Set tracking templates at the account level for consistency.
  • Use platform-specific macros; don’t mix tokens between platforms.
  • Include ad_id in all templates to enable attribution in Usermaven.
  • For Google PMAX campaigns, make sure to include um_campaign_id.

By following these templates, you’ll enable accurate, actionable insights inside Usermaven across all major ad platforms.

Last updated on