Hello,
I’m trying to pass through the UTM parameters via the Embed Code in our CTA button. It currently has the redirect code and a bunch of other IDs; all I want is to take whatever is in the URL of the forwarding page and append it to the end of the redirected URL from hubspot. Basically I want to pass through all the UTM parameters to our event management platform so they can track conversions, and right now all the UTM parameters are getting stopped at our company landing page.
I’ve removed all the ID codes from below but this is the gist of how it is with the current default CTA:
<!--HubSpot Call-to-Action Code -->
<span class="hs-cta-wrapper" id="some id here">
<span class="hs-cta-node node id here" id="some id here">
<!--[if lte IE 8]><div id="hs-cta-ie-element"></div><![endif]-->
<a href="https://cta-redirect.hubspot.com/cta/redirect/bunch_of_redirect_URL" target="_blank" ><img class="hs-cta-img" id="redirect id here" style="border-width:0px;" src="button image" alt="Register now"/>
</a></span><script charset="utf-8" src="https://js.hscta.net/cta/current.js">
</script><script type="text/javascript"> hbspt.cta.load(4505120, some id here', {"useNewLoader":"true","region":"na1"}); </script></span>
<!-- end HubSpot Call-to-Action Code -->
This is the way it looks currently, any ideas on how to take the query string of the current page and append it to the redirect?
Thanks very much!
Ian