Cookies Allowed
Add front-end cookie notification bar, front-end cookie settings pannel, back-end Cookie management, back-end scripts manager page
by Gravity BV · github.com/cloudadmin-gravity/cookies-allowed-wpplugin
★ 0stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/cloudadmin-gravity/cookies-allowed-wpplugin/archive/refs/heads/master.zipFrom the readme
Gebruikd dit stukje code om teksten aan te passen in de cookie melding.
Gebruik in combi met Google tag manager:
Before all header scripts
window.dataLayer = window.dataLayer || [];
LVL 1 header scripts
dataLayer.push({'event':'cookieconsentfunctional'});
dataLayer.push({'allowAdFeatures': 'false'});
dataLayer.push({'anonimyzeIp': 'true'});
LVL 2 header scripts
dataLayer.push({'event':'cookieconsentstatistics'});
dataLayer.push({'allowAdFeatures': 'false'});
dataLayer.push({'anonimyzeIp': 'false'});
LVL 3 header scripts
dataLayer.push({'event':'cookieconsentmarketing'});
dataLayer.push({'allowAdFeatures': 'true'});
dataLayer.push({'anonimyzeIp': 'false'});
After all header scripts
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-xxxxx');
Gebruik in combi met Google analytics:
Before all header scripts
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 3.0.2 | Jun 30, 2020 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.