# Removing UTM-tags from URL

**URL:** <https://community.piwik.pro/t/removing-utm-tags-from-url/939>\
**Category:** Data collection and tags\
**Created:** [August 30, 2022, 12:04pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939 "2022-08-30T12:04:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![michiel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/michiel/32/236_2.png) [@michiel](https://community.piwik.pro/u/michiel)\
**Post date:** [August 30, 2022, 12:04pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/1 "2022-08-30T12:04:12Z")

</div>

Hi!

Just to double check: in my pages report I’m seeing UTM parameters added to the URL. To make the pages report more readable, I’d like to exclude these parameters through the global site settings. Can I do so without losing the campaign information (medium, source & campaign)?

The help-text suggests that it’s better to keep these parameters instead of excluding them:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/4c3f0adc8c98aea55e9599fe53d92b36e53ad9db.png)

---

<div class="post-metadata">

**Author:** ![Piotrek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/piotrek/32/160_2.png) [@Piotrek](https://community.piwik.pro/u/Piotrek)\
**Post date:** [August 30, 2022, 3:14pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/2 "2022-08-30T15:14:04Z")

</div>

Hello @michiel,

We’ll check what’s the best approach here. Could you provide an example of a URL from the pages report or could you share a screenshot?

---

<div class="post-metadata">

**Author:** ![michiel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/michiel/32/236_2.png) [@michiel](https://community.piwik.pro/u/michiel)\
**Post date:** [August 30, 2022, 6:18pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/3 "2022-08-30T18:18:05Z")

</div>

Hey @Piotrek,

Haha! I figured it out myself. I was looking at the outlinks report, not at the pages report. 🤦‍♂️

Sorry for the confusion.

---

<div class="post-metadata">

**Author:** ![Admin](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Admin](https://community.piwik.pro/u/Admin)\
**Post date:** [August 30, 2022, 6:34pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/4 "2022-08-30T18:34:08Z")

</div>

UTMs should be excluded by default from the page URL report.

---

<div class="post-metadata">

**Author:** ![joao](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/joao/32/1820_2.png) [@joao](https://community.piwik.pro/u/joao)\
**Post date:** [November 11, 2024, 2:30pm UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/5 "2024-11-11T14:30:28Z")

</div>

Hi @Admin , we have a client that has these UTM parameters on both the Pages and the Downloads reports. What is the recommended approach to remove these from any future sessions?

Can we add these UTMs to the “Remove parameters from page URLs” without them impacting the session channel, source, medium, campaign information?

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/a/ad25388ad9273b8d74d6d2f87fefb8e1490012cc.png)

---

<div class="post-metadata">

**Author:** ![Admin](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Admin](https://community.piwik.pro/u/Admin)\
**Post date:** [November 12, 2024, 9:00am UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/6 "2024-11-12T09:00:09Z")

</div>

Hi. I think that there’s a problem with encoding. Those parameters are currently not properly sent (that’s the reason why you see `&amp`; between the params).

---

<div class="post-metadata">

**Author:** ![joao](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/joao/32/1820_2.png) [@joao](https://community.piwik.pro/u/joao)\
**Post date:** [November 12, 2024, 9:06am UTC](https://community.piwik.pro/t/removing-utm-tags-from-url/939/7 "2024-11-12T09:06:29Z")

</div>

Thank you for your reply, yes I noticed that the `&` was being encoded as `&amp;`, but I wasn’t sure if that might be the reason why they were not being removed by Piwik PRO.

I will do some further tests and check with the client to see if these ampersands can be handled differently by the website and/or server.
