Disable the collection of remarketing data

Remarketing helps you reach people who have previously visited your website or used your mobile app. You can choose to disable the collection of remarketing data for users who do not wish to view personalized ads by using the parameter: allow_ad_personalization_signals

How it works

By using the parameter: allow_ad_personalization_signals, you can disable the collection of remarketing data for users who do not wish to view personalized ads. The default of this parameter is set to true. When you set the parameter’s value to false, it will disable the usage of the data for personalized ads. This parameter does not disable conversion tracking.

You can set the allow_ad_personalization_signals parameter once and apply it across all products configured through the global site tag. To ensure that the parameter's value is available in a given Google Ads account, you should add it using the gtag('set') command.

Edit your global site tag to disable remarketing data

  1. Sign in to Google Ads.
  2. Click on the tool icon in the upper right and click Audience Manager under the section labeled “Shared library”
  3. On the left, click Audience sources. This opens a group of sources from which you can edit remarketing lists.
  4. In the “Google Ads tag” card, click the 3-dot icon  in the upper right, then select Edit source.
  5. Click Save and continue.
  6. When the installation screen appears, your global site tag and event snippet will be ready for use. You can modify the global site tag to disable ad personalization signals by following the example below. To integrate the code into your site, copy the code and paste it between the <head></head> tags of the website.
The code below should not be copied and pasted as-is for use on your website. It contains placeholder values that your webmaster must dynamically populate when they integrate the snippet code into their web server.

< ! -- Global Site Tag (gtag.js) -  Google Ads  -->

< ! -- Container request -->

<script async src="https://www.googletagmanager.com/gtag/js?id=AW-999999"></script>

<script>

  window.dataLayer = window.dataLayer | | [ ] ;

  function gtag ( ) { dataLayer.push ( arguments ) } ;

  gtag ('set', 'allow_ad_personalization_signals',  false ) ;

  gtag ( 'js', new Date ( ) ) ;

  gtag ( 'config' ,  'AW-999999' ) ;

</script>

Note: If you’re using the old AdWords tag, you can set var google_allow_ad_personalization_signals = "false"; where you set other AdWords tag parameters. See the example below for more detail.

<!-- Google Code for Purchase Conversion Page -->

<script type="text/javascript"> 

/* <![CDATA[ */

    var google_conversion_id = 1234567890;

    var google_conversion_label = "xxx-XXx1xXXX123X1xX";

    var google_remarketing_only = "false"

    var google_conversion_value = 10.0;

    var google_conversion_currency = "USD";

    var google_allow_ad_personalization_signals = "false" ; 

    /* ] ] > */ 

</script>

<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">

</script>

7. Click Done.

Note: if you are using the AdWords API to send remarketing pings via server to server (eg: for app dynamic remarketing), make sure those pings also include the allow_ads_personalization parameter set to false,  if the user does not wish to view personalized ads.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue