I am using Mixpanel through Segment. From my website I trigger page views using
and identify them using
In Segment I have
- Use Mixpanel People - On
- Traits & Properties - All Off
- Automatically set all Traits as Super Properties and People Properties - On
I am getting events into Mixpanel, everything looks good, except this:
If I land on my website (from an incognito window) with UTM parameters set in the URL, that page view event will contain the right data (UTM Campaign = test for example). Then I navigate to a different page, the UTM Parameters disappear from the URL, as expected, the event sent to Mixpanel does not contain any UTM Parameters, and the user doesn’t have them set as People Properties.
I was under the impression that Mixpanel would do this automatically, did I read this wrong? Either way, how can I get the UTM data to be automatically associated with users (anonymous or logged in)?
Thanks in advance 🙂