Replies: 0
Hi Guys,
I tried a few times in a few different ways, but i can not figure out how to track a google ad conversion using this plugin.
When i place my google ads code directly on my website everything works fine, but when i place it inside cookie categories (inside my google analytics snippet) my google ad conversion does not trigger.
Google analytics tracks the user perfectly and only activates when user accepts the cookies, but for some reason google ads is unable to track conversions.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXX');
gtag('config', 'AW-XXXXX');
</script>