You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using Google Tag Manager include Google Analytics.
If I accept the consent Google Analytics are available, but after I decline the GA the GA Cookies will not be deleted.
analytics: { // Existing category Unique name // This example shows how to block Google Analytics category: 'tracking', // Type of blocking to apply here. // This depends on the type of script we are trying to block // Can be: dynamic-script, script-tag, wrapped, localcookie type: 'dynamic-script', // Only needed if "type: dynamic-script" // The filter will look for this keyword in inserted scipt tags // and block if match found search: 'analytics', // List of known cookie names or Regular expressions matching // cookie names placed by this service. // These willbe removed from current domain and .domain. cookies: [ { // Known cookie name. name: '_gid', // Expected cookie domain. domain: .foobar.de}, { // Known cookie name. name: '_gcl_aw', // Expected cookie domain. domain:.foobar.de}, { // Regex matching cookie name. name: /^_ga/, domain:.foobar.de}, { // Regex matching cookie name. name: /^__utm/, domain:.foobar.de}, { // Regex matching cookie name. name: /^_g/, domain:.foobar.de } ], language: { locale: { de: { name: 'Google Analytics' } } } }
The text was updated successfully, but these errors were encountered:
I don't think there is a direct solution for it. Once a third party cookie is set there is no way for a 1st party JS to access it. I think the best that can be done is to reload the page, which may be adequate
Hello, I am using Google Tag Manager include Google Analytics.
If I accept the consent Google Analytics are available, but after I decline the GA the GA Cookies will not be deleted.
analytics: { // Existing category Unique name // This example shows how to block Google Analytics category: 'tracking', // Type of blocking to apply here. // This depends on the type of script we are trying to block // Can be: dynamic-script, script-tag, wrapped, localcookie type: 'dynamic-script', // Only needed if "type: dynamic-script" // The filter will look for this keyword in inserted scipt tags // and block if match found search: 'analytics', // List of known cookie names or Regular expressions matching // cookie names placed by this service. // These willbe removed from current domain and .domain. cookies: [ { // Known cookie name. name: '_gid', // Expected cookie domain. domain:
.foobar.de}, { // Known cookie name. name: '_gcl_aw', // Expected cookie domain. domain:
.foobar.de}, { // Regex matching cookie name. name: /^_ga/, domain:
.foobar.de}, { // Regex matching cookie name. name: /^__utm/, domain:
.foobar.de}, { // Regex matching cookie name. name: /^_g/, domain:
.foobar.de} ], language: { locale: { de: { name: 'Google Analytics' } } } }
The text was updated successfully, but these errors were encountered: