@nicmare – I think you’re asking for whether this plugin can automatically parse the UTM parameters of a URL. Unfortunately, that is not the purpose behind this plugin.
If I mis-understood, let me know. For now, I’ll close the ticket as it does not seem to be a support question related to HFCM.
Regardless, we’re happy to help if you add more clarification.
indeed i am trying to pass get parameters thru the code. But i found a way with JS:
<script>
var url = new URL(window.location.href); var eventaction = url.searchParams.get("eventaction");
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'gaEvent',
'eventCategory': 'Kontaktaufnahme',
'eventAction': eventaction,
'eventLabel': 'DE'
});
</script>
@nicmare That’s great good luck with that. Scripts work great with our plugin. If you need our help feel free to contact us.
We will really like to help our users.