Installing Google ads conversion tag with Complianz
-
I enabled the Google Analytics option in Complianz, so Complianz puts Google Analytics on my site.
I filled in the tracking ID (UA-……), I filled in the conversion ID (AW-….) (all via the Complianz wizard)But now I need to add the event fragment (To record a Google ads conversion)
(<script>
gtag(‘event’, ‘conversion’, {
‘send_to’: ‘AW-……………….’,
‘value’: 1.0,
‘currency’: ‘EUR’
});
</script>)I used an additional plugin “Header Footer Code Manager”, to put this code in the header of the page I want to trigger the conversion for.
But If I visit that page, I get the error (in my console):
“Uncaught ReferenceError: gtag is not defined”
How should I add the event fragment for Google ads if I configured Complianz this way?`
- The topic ‘Installing Google ads conversion tag with Complianz’ is closed to new replies.