Auto-tagging of URLs

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, Bing 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 remove 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.

Bing Ads

  • HockeyStack’s script will add our parameters to all campaigns.

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

Dynamic URLs

Here is the list of HockeyStack parameters:

Parameter Key
Parameter Value

hstk_network

linkedinAds, googleAds, or bingAds

hstk_creative

{creative}

hstk_campaign

{campaignid}

Enabling Auto-Tagging

  1. Ensure your ad account (LinkedIn, Google, or Bing) is integrated with HockeyStack and you have administrative (write) permissions.

  2. Go to Settings → API & Integrations → [Platform] → Configure.

  3. Toggle Auto-tagging Creatives and Campaigns.

  4. Click Save.

HockeyStack appends tracking parameters automatically but only at certain levels depending on the platform. If you set UTMs manually at a deeper level (for example, inside individual ads), they will override the template and disable auto-tagging.

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