Embed script not passing data | Community
Skip to main content
Answered

Embed script not passing data


We can see data pass through on our test form, manually adding:
https://www.treasurevalleyexteriors.com/typeform-embed.html?utm_source=Google&utm_medium=cpc

But it does not pass here:
https://www.treasurevalleyexteriors.com/typeform-embed.html

 <div data-tf-live="01HV726XXFEJV9V9N29Q446WWZ"></div><script src="//embed.typeform.com/next/embed.js" data-tf-transitive-search-params="utm_source, utm_medium"></script>

thanks for the help

 

Best answer by mathio-tf

Hello @Keith of UpHero 

the data-tf-transitive-search-params attribute should be placed on<div>, not the <script> tag.

Hope this helps. Cheers.

View original

5 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14847 replies
  • April 12, 2024

@mathio do you happen to see anything that looks funky with the code? I can’t offhand!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • April 15, 2024

Hello @Keith of UpHero 

the data-tf-transitive-search-params attribute should be placed on<div>, not the <script> tag.

Hope this helps. Cheers.


<div data-tf-live="01HV726XXFEJV9V9N29Q446WWZ" data-tf-transitive-search-params="utm_source, utm_medium"> </div><script src="//embed.typeform.com/next/embed.js"</script>

@mathio Anything go in the div?


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • April 16, 2024

There is a missing > in the first opening script tag, but other than that it looks good 👍


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14847 replies
  • April 17, 2024

Thank you, @mathio ! Let us know if this fixes the issue, @Keith of UpHero 


Reply