Plugin Directory

Changeset 3036769


Ignore:
Timestamp:
02/16/2024 10:44:47 AM (2 years ago)
Author:
cookiehub
Message:

Consent mode v2

Location:
cookiehub/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cookiehub/trunk/changelog.txt

    r3016450 r3036769  
    11=== CookieHub ===
     2
     3= 1.1.0 =
     4*Release Date - 16 February 2024*
     5
     6Consent mode v2 support added - Defaults for ad_personalization and ad_user_data added
    27
    38= 1.0.3 =
  • cookiehub/trunk/includes/ch-generate.php

    r3016450 r3036769  
    127127window.dataLayer = window.dataLayer || [];
    128128function gtag(){dataLayer.push(arguments);}
    129 gtag('consent', 'default', {'ad_storage': 'denied', 'analytics_storage': 'denied', 'wait_for_update': 500});
     129gtag('consent', 'default', {'ad_storage': 'denied', 'analytics_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'wait_for_update': 500});
    130130</script>";
    131131            }
  • cookiehub/trunk/includes/ch-settings.php

    r3000646 r3036769  
    116116                <div class="dcchub-checkbox" style="margin-top:30px;">
    117117                    <input type="checkbox" id="dcchub_gcm" name="dcchub_gcm" <?php if (isset( $options['dcchub_gcm'] ) && $options['dcchub_gcm'] == "1") {printf('checked');}?>>
    118                     <label for="dcchub_gcm" class="dcchub-p">Google Consent Mode</label>
     118                    <label for="dcchub_gcm" class="dcchub-p">Consent mode v2 (Only available in CookieHub 2.7.x)</label>
    119119                </div>
    120                 <a class="dcchub-hint" target="_blank" href="https://docs.cookiehub.com/installation/wordpress#what-is-google-consent-mode" style="margin-left:45px;">What Is Google Consent Mode?</a>
     120                <a class="dcchub-hint" target="_blank" href="https://docs.cookiehub.com/getting-started/release-notes/cookiehub-2.7" style="margin-left:45px;">What is Consent mode v2?</a> <a class="dcchub-hint" target="_blank" href="https://docs.cookiehub.com/getting-started/release-notes/cookiehub-2.7#what-are-the-next-steps" style="margin-left:45px;">How to upgrade to CookieHub 2.7?</a>
    121121
    122122                <h3 class="dcchub-header small" style="margin-top:85px;">3rd party tags</h3>
  • cookiehub/trunk/readme.txt

    r3016450 r3036769  
    4646
    4747== Changelog ==
     48
     49= 1.1.0 =
     50*Release Date - 16 February 2024*
     51
     52Consent mode v2 support added - Defaults for ad_personalization and ad_user_data added
    4853
    4954= 1.0.3 =
Note: See TracChangeset for help on using the changeset viewer.