Auto-tagging of URLs

To avoid inaccurate UTM parameters from LinkedIn and Google Ads, you can enable HockeyStack Auto-tagging.

Auto-tagging is a feature that automatically appends HockeyStack’s unique parameters to the URL tracking templates.

Benefits of Auto-Tagging

There are two main benefits of auto-tagging:

  • Accurate Attribution

    Eliminates manual tagging mistakes and ensures each ad is tracked back to its source, campaign, and creative

  • Time Savings

    Automates the tagging process once at the account or campaign level, rather than tagging each URL manually.

How does it work?

Currently, we support the auto-tagging feature for Google and LinkedIn Ads. This feature reduces manual tagging errors, enriches reporting data, and makes tracking more accurate.

LinkedIn Ads

  • HockeyStack’s script will go over every active campaign and automatically append our parameters to your tracking templates

  • It will not edit any existing URL tracking parameters, only append additional ones

Google Ads

  • HockeyStack’s script will add our parameters on the customer level and then to all campaigns where Campaign URL Options are not empty. If the campaign does not have any URL Options set up, it will be skipped and covered by customer level parameters.

  • If your campaigns already have URL Options set up, the script will append our parameters to the existing campaign template. It will not edit any existing parameters.

Dynamic URLs

Here is the list of HockeyStack parameters:

Parameter Key
Parameter Value

hstk_network

linkedinAds or googleAds

hstk_creative

{creative}

hstk_campaign

{campaignid}

How to Enable Auto-Tagging?

Enabling Auto-Tagging for LinkedIn Ads

  1. Make sure LinkedIn Ads are integrated with HockeyStack with administrative permissions (writing permissions are required)

  2. Go to Settings → API & Integrations → LinkedIn → Configure

  3. Toggle “Dynamic UTM Tracking”

  4. You’re all set!

Enabling Auto-Tagging for Google Ads

  1. Make sure Google Ads are integrated with HockeyStack with administrative permissions (writing permissions are required)

  2. Go to Settings → API & Integrations → Google Ads → Configure

  3. Toggle “Dynamic UTM Tracking”

  4. Our script appends HockeyStack’s parameters only on the Customer or Campaign level. This means if you have your parameters set up on a deeper level, it will overwrite our template, and auto-tagging will not work. For example, if you add any UTMs directly to the Ad template, our campaign parameters will not show up, as they will get overwritten.

  5. You’re all set!

Troubleshooting

No 'hstk' parameters in the URL

Confirm auto-tagging is enabled in Settings. Check if it is being overwritten by an ad-level template.

I turned off auto-tagging, but still see URL parameters showing up. Why?

When you turn off auto-tagging we stop appending our parameters to new campaigns/accounts, but it doesn’t affect those that were already appended (we do not delete tags from affected templates).

Last updated