AdWords Remarketing Tag cookie consent

Please note that this is no longer being updated. Kindly visit the new Cookiebot support area (https://support.cookiebot.com/hc/en-us) for updated guides, articles and FAQs. If you do not find the answer to your question there, you are welcome to post it in the Cookiebot community (https://support.cookiebot.com/hc/en-us/community/topics).

Since the standard AdWords Remarketing Tag does not support asynchronous loading, you need to use the asynchronous version when implementing cookie consent on the tag.

If your existing tags looks like this:

<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 123456789;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>

Then change it to this asynchronous version (remember to replace the value of google_conversion_id to your own id):

<script type="text/plain" data-cookieconsent="marketing">
    Cookiebot.getScript("//www.googleadservices.com/pagead/conversion_async.js", true, function () {
        window.google_trackConversion({
        google_conversion_id: 123456789,
        google_custom_params: window.google_tag_params,
        google_remarketing_only: true
        });
    });
</script>

Feedback and Knowledge Base