I’m trying to take the UTMs passed in by the referring URL into custom properties on a profile. My site is on Shopify so it’s tightly integrated with Klaviyo.
I’m having a problem trying to save the utm_id from the referring URL using _learnq.push in an EventListener for a Submit button on a Klaviyo embedded form. _learnq is populated correctly in the debugger and returns 1 (screenshots attached). The Custom Properties are setup with default values on the embedded form (screenshot attached).
'$email' : e.detail.metaData["$email"],
'$first_name' : e.detail.metaData["$first_name"],
'Campaign ID' : utm_id
Campaign ID is not coming through to the profile, even though _learnq.push is returning 1.
Any help would be greatly appreciated!
Best answer by retentionView original