I have a cloud mode connection to Mixpanel. I'm tr...
# support
a
I have a cloud mode connection to Mixpanel. I'm trying to get Rudderstack to set all utm traits to be people properties. A very basic use-case for why we need this is that if someone comes in via a specific utm campaign in the URL (e.g., ?utm_campaign=ad-1), then converts later on another page where there's no utm parameter in the URL (e.g., /checkout-thankyou), I can still attribute that conversion back to the utm campaign they came in from). It seems like Rudderstack only supports this for device mode. Is there a way for me to do this via cloud mode? Maybe I'm just completely missing something because I imagine this is a super common use case.
For now, I'm going to call an empty identfiy and get all URL parameters as a workaround. Is there any downside to doing this? // Get all URL parameters const urlParams = new URLSearchParams(window.location.search); let properties = {}; urlParams.forEach((value, key) => { if(value) properties[key] = value; }); // Call rudderanalytics.identify with properties rudderanalytics.identify("", properties);