Hi there,
Hopefully this question makes sense. Currently I’m using Embed SDK to include Typeform in all pages on the website with this code:
<script src="//embed.typeform.com/next/embed.js"></script>
<link rel="stylesheet" href="//embed.typeform.com/next/css/slider.css" />
<script>
const { open, close, toggle, refresh } = window.tf.createSlider('XXXXXXXX')
document.querySelectorAll("#button-leadform").forEach(btn => btn.onclick = toggle)
</script>
This is the only code I’m using.
But now we are missing some embed code that allows us to dynamically pass through UTM data. How would I go ahead in adding this line of code:
data-tf-transitive-search-params=“utm_source, utm_medium, utm_campaign, utm_term, utm_content”
Thanks in advance!