Skip to main content

I have a popup on my site that a lot of people sign up through as their first interaction with us. With it, I am also updating some properties about them based on which URL they are on. I’m playing with the code, but its roughly something like this...

window.addEventListener("klaviyoForms", function(e) {
if (e.detail.type == 'submit') {
_learnq.push(h'identify', {'code' : 'x'}]);
}
});

For some reason, some people are coming in beautifully, with the code, as well as the “Where they first found you” data and everything. Others are not.

 

What would break the “Where they first found you” … 

  • is this all dependent on cookies or something?
  • are there specific issues with first time visitors?

I got my code working!


Hi @sarah.lauden,

Happy to hear you were able to get your code working! Would you be able to share what change(s) you made? This information will be super helpful to other Klaviyo users who may stumble upon this post in the future.

Best,

Caroline


Reply