How to Use Vine Tracking with Third Party Cookie Consent Dialog without GTM
Note: Make sure your pages include the Vine script.
Please go to the Cookie Consent pane in in Web Site->Settings and turn the Use Vine Cookie Consent Dialog switch OFF to disable Vine Consent Dialog.
To comply with the European GDPR law, Vine cookies can not be saved until you call Vine.allowCookies();
in your JavaScript code.
Allowing Vine Cookies
Please refer to the documentation of your cookie consent system how to add a proper code calling Vine.allowCookies();
.
Denying Vine Cookies
If the visitor does not accept marketing (tracking) cookies in your consent dialog then you do not need to do anything to deny cookies as they are denied by default until you explicitly allow those with a Vine.allowCookies();
call.
Example
For example, here is how you can integrate Vine cookies to be used with Osano consent dialog (in its simplest compliance type: “Just tell users that we use cookies”):
Integrating Vine Cookies with Osano Consent Dialog
<script>
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000"
},
"button": {
"background": "#f1d600"
}
},
"position": "top",
onStatusChange: function(status) {
console.log(this.hasConsented() ?
'enable cookies' : 'disable cookies');
if (this.hasConsented())
Vine.allowCookies();
},
});
</script>
Comments
0 comments
Please sign in to leave a comment.