# UTM tag Contact properties and reporting

**URL:** <https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320>\
**Category:** Ideas and Feature Requests\
**Tags:** tracking\
**Created:** [March 6, 2018, 11:26pm UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320 "2018-03-06T23:26:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wagner-benh](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@wagner-benh](https://forum.mautic.org/u/wagner-benh)\
**Post date:** [March 6, 2018, 11:26pm UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/1 "2018-03-06T23:26:46Z")

</div>

If UTM tags were properties of the contact, then these tags could be used for things like segmentation and reporting. Right now there is no way to use the UTM tag info from the contact timeline and the only value they add is to manually view their source one by one.

Related to this request: [#4166](https://github.com/mautic/mautic/issues/4166)

---

<div class="post-metadata">

**Author:** ![jessew](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jessew](https://forum.mautic.org/u/jessew)\
**Post date:** [May 17, 2018, 11:36am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/2 "2018-05-17T11:36:25Z")

</div>

I agree this would be a very useful feature for tracking ROI from paid ads etc…

---

<div class="post-metadata">

**Author:** ![Huckleberry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/huckleberry/32/535_2.png) [@Huckleberry](https://forum.mautic.org/u/Huckleberry)\
**Post date:** [August 27, 2019, 1:11pm UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/3 "2019-08-27T13:11:59Z")

</div>

+10000 for this  
I just discovered this issue and I’m scratching my head that it’s even an issue.  
I need to pass a report to the marketing department with a list of known contacts that originally came from an 3rd-Party remarking campaign. Despite all the necessary data being there already, there is no easy and clean way to do this. My reports only show the anonymous record with no email or names, and no way to obtain those.  
The only way I can currently make this report is by hand, manually looking at all contacts in a segment and manually locating those that have the 3rd-party UTM tag in their “contact identified” records.  
This is a must-have feature.

---

<div class="post-metadata">

**Author:** ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)\
**Post date:** [August 27, 2020, 9:17am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/4 "2020-08-27T09:17:11Z")

</div>

This would be a very good feature to have!

Maybe my workaround will help someone having a similar problem. I create a segment with the following filter:  
`visited url` contains `utm_campaign=NAME`

This solves some of my needs.

---

<div class="post-metadata">

**Author:** ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)\
**Post date:** [September 25, 2020, 6:20am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/5 "2020-09-25T06:20:53Z")

</div>

I just heard that this feature got mentioned in the Mauticast. 🙂 I started working on this last week. Hope to finish it soon (testing missing). [https://github.com/adiwegs/mautic/tree/track-utm-tags-from-url](https://github.com/adiwegs/mautic/tree/track-utm-tags-from-url)

---

<div class="post-metadata">

**Author:** ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)\
**Post date:** [October 3, 2020, 8:55am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/6 "2020-10-03T08:55:05Z")

</div>

I just created a PR. Please help with testing [https://github.com/mautic/mautic/pull/9265](https://github.com/mautic/mautic/pull/9265)

---

<div class="post-metadata">

**Author:** ![abracadabra.photogra](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/abracadabra.photogra/32/505_2.png) [@abracadabra.photogra](https://forum.mautic.org/u/abracadabra.photogra)\
**Post date:** [February 12, 2021, 2:00pm UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/7 "2021-02-12T14:00:57Z")

</div>

Hello,  
any news about UTM tracking? Is there any way to attach UTM to a contact?  
I would need to know If my leads came from advertising or not

thanks!

---

<div class="post-metadata">

**Author:** ![abracadabra.photogra](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/abracadabra.photogra/32/505_2.png) [@abracadabra.photogra](https://forum.mautic.org/u/abracadabra.photogra)\
**Post date:** [February 13, 2021, 9:33am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/8 "2021-02-13T09:33:42Z")

</div>

at the end I solved with this clever solution:

> <https://github.com/mautic/mautic/issues/7830>
>
> What type of report is this:
> 
> Q
> A
> 
> 
> Bug report?
>  
> 
> Feature request?
>  
> 
> Enhancement?
> X
> 
> Description:
> As of today, 2.15.2, there is no way for the system to parse and...

---

<div class="post-metadata">

**Author:** ![ledzee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ledzee/32/4252_2.png) [@ledzee](https://forum.mautic.org/u/ledzee)\
**Post date:** [May 27, 2021, 5:27am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/9 "2021-05-27T05:27:45Z")

</div>

10 default contact fields that capture the most recent and the original UTM values for:

1. utm\_campaign
2. utm\_source
3. utm\_medium
4. utm\_content
5. utm\_term

The original utm field could be a calculated field, something like mentioned in this discussion - [Automatic lead source tracking - #7 by ledzee](https://forum.mautic.org/t/automatic-lead-source-tracking/19583/7)

The most recent value would be the most recent value of the utm on form submission or campaign event field changes or list upload.

To calculate all the “in between” touches, it will have to be a history table of the all of the combination of these values. Maybe a custom object?

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 16, 2021, 8:00am UTC](https://forum.mautic.org/t/utm-tag-contact-properties-and-reporting/10320/10 "2021-07-16T08:00:42Z")

</div>

- Implemented with Mautic 4 /EG -
