Why are UTM parameters removed, and how can you fix it?

Written by

Alex Held

Updated Jul 4, 2025 comments

Why are UTM parameters so valuable?

Why can UTM parameters be removed?

How can you avoid UTM removal?

Before starting

How to configure server-side tracking to avoid UTM removal

Step 1: Come up with your unique UTM parameters replacement

Note:

We recommend creating unique UTM parameter replacements and avoiding using short substitutions so that the transformation works correctly and doesn't affect other parameters in the requests.

Step 2: Use the new UTM parameters on your marketing platforms

Campaign settings in Google Ads
Campaign settings in Google Ads

Step 3: Make changes in the server GTM container

3.1 Add the Query Replacer variable template in your server GTM container

Import template
Import template

3.2 Create a Query Replacer variable and configure it

Create new variable
Create new variable
Query Replacer variable configuration
Query Replacer variable configuration

3.3 Create and adjust the UTM parameters transformation

Transformations in server GTM
Transformations in server GTM
Transformation configuration
Transformation configuration

Test the configuration

Test the configuration
Test the configuration

Conclusion

Want to start using server-side tags?

Stape has lots of tags for server GTM! Click on Try for free to register and check them all.

Try for free

Written by

Alex Held

Content writer

Alex, a tracking expert, specializes in first-party data, enrichment, and measurement. With GTM and sGTM expertise, he helps businesses enhance data accuracy, attribution, and audience insights.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free