# tracking custom clicks

**URL:** <https://forum.mautic.org/t/tracking-custom-clicks/10316>\
**Category:** Product Support\
**Created:** [March 5, 2018, 5:31pm UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316 "2018-03-05T17:31:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)\
**Post date:** [March 5, 2018, 5:31pm UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/1 "2018-03-05T17:31:42Z")

</div>

Hi,  
I’m trying to track custom clicks created into ‘Segment Email’ and ‘Template Email’. These two type of emails where sent by API action ‘Send Email To Contact’. In first case (‘Segment Email’) on emails view page there is no tracking information at all. In second case (‘Template Email’) I can see almost all of the tacking data like “Sent Emails” “Read Emails” etc. except the Clicks count. I’m using latest staging repository branch. I need somehow to catch these custom links clicks. It can be a bug? Also everywhere in date filter From, To data are displaying without current day. For example to see statistic for current day I need to pass into date ‘To’ tomorrow date. Thanks.

---

<div class="post-metadata">

**Author:** ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.mautic.org/u/marty)\
**Post date:** [March 6, 2018, 4:21am UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/2 "2018-03-06T04:21:09Z")

</div>

Hey Dorin, no help from me I’m afraid, just an extra question for anyone that may have an answer to your question… is there any way to track WHO is clicking the links in emails? At the moment all we can get is click counts/open email counts etc. All very generic and not specific enough for our requirements…

---

<div class="post-metadata">

**Author:** ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)\
**Post date:** [March 6, 2018, 8:38am UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/3 "2018-03-06T08:38:25Z")

</div>

Probably my answer to you wouldn’t be the best answer but you can do a trick in this case. For each link just add into query parameters lead id. Ex. [http://www.site.com?id=1](http://www.site.com?id=1). In this case you’ll have click statistics for each lead.

---

<div class="post-metadata">

**Author:** ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)\
**Post date:** [March 6, 2018, 8:47am UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/4 "2018-03-06T08:47:18Z")

</div>

About my top question, I’ll ask in few words.

- Links from email are not tracked at all.  
What can be the reason? the url link from email is redirecting correctly, first to my site then to final destination link.

---

<div class="post-metadata">

**Author:** ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)\
**Post date:** [March 6, 2018, 9:45am UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/5 "2018-03-06T09:45:14Z")

</div>

After digging into the code I found that clicks are tracked only for anonymous users. And that’s, logic. Quickly changing the browser I got my tracking point. But I still don’t understand why “Emails sent” and “Emails read” are not tracked.

---

<div class="post-metadata">

**Author:** ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.mautic.org/u/marty)\
**Post date:** [March 6, 2018, 8:49pm UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/6 "2018-03-06T20:49:44Z")

</div>

Hey Dorin, not very good logic? :=] I might try adding {contactfield=id} to the end of the clickable field and see what happens in the Mautic emails interface

Thanks for your feedback

---

<div class="post-metadata">

**Author:** ![daftenii](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@daftenii](https://forum.mautic.org/u/daftenii)\
**Post date:** [March 7, 2018, 8:50am UTC](https://forum.mautic.org/t/tracking-custom-clicks/10316/7 "2018-03-07T08:50:21Z")

</div>

In the Mautic emails interface links will split by every id you’ll enter. I’ve already tested. But pay attention this additional parameter may affect final url. So another safe idea: you can use anchor, for ex: [http://www.site.com#1](http://www.site.com#1). Good luck!
