# Tracking user activity via email

**URL:** <https://meta.discourse.org/t/tracking-user-activity-via-email/56428>\
**Category:** Feature\
**Created:** [26 בינואר,‏ 2017,‏ 11:00pm UTC](https://meta.discourse.org/t/tracking-user-activity-via-email/56428 "2017-01-26T23:00:46Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![AshleyTH](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashleyth/32/246050_2.png) [@AshleyTH](https://meta.discourse.org/u/AshleyTH)\
**Post date:** [12 בינואר,‏ 2022,‏ 12:24pm UTC](https://meta.discourse.org/t/tracking-user-activity-via-email/56428/17 "2022-01-12T12:24:28Z")

</div>

Hello! Got a bit of a puzzle happening with setting up GA4 tracking on notification emails.

I’ve tried appending the tracking code to the end of keys sent via email (i.e. %{invite\_link}), but Google doesn’t seem to like tracking the source, medium or campaign that I add. I used the Google Campaign URL Builder just to be sure I had everything right, but still no joy.

The resulting link looks like this: URL/invites/sQFAD7aZmE?t=NUMBERNUMBER&utm\_source=forum\_email&utm\_medium=email&utm\_campaign=forum\_notifications

The traffic shows up in GA as (direct)/(none) when I look for the source/medium. Any ideas?

(I’ve tried cache clearing, using a different browser/computer, etc)

---

_[View the full topic](https://meta.discourse.org/t/tracking-user-activity-via-email/56428)._
