How do I get a button to include the UTM parameters when a client lands on the page from an ad?
For example, I have people directed to our landing page from a Facebook add.
When a client lands on the page, their browser gets a URL like so:
bsns . com/landing-page?utm=fromFB
On the landing page, there’s a button. I would like the link that clicking the button loads to also include the query parameters from the landing page, e.g.
bsns . com/ button-load-page?utm=fromFB
Is this even possible?
I’ve been able to capture UTM query parameters into hidden form fields, but I don’t see how I can add custom code to generate the button’s “Link URL”
Hi Patrick, <button> elements do not support a src, but if you’re referring to an <a> link element that is styled as a button, then Sygnal’s Attributes supports that;
I do not want “all links” on my page affected. Just the one button.
Furthermore, I do not understand how it works, nor how to implement it given the reference links, so no thank you - I don’t implement solutions which I do not understand.