Hi guys,
Installed the Cookies-plugin on my test-website.
The message shows up correctly, but is there a way, if the visitor not click on the ACCEPT button the tracking scripts are disabled/hide, until the visitor clicks on the 'accept' button?
Is there a way implement this in the Cookie plugin or with an if-condition disabled/enabled the scripts in the theme-template.
Example:
Installed the Cookies-plugin on my test-website.
The message shows up correctly, but is there a way, if the visitor not click on the ACCEPT button the tracking scripts are disabled/hide, until the visitor clicks on the 'accept' button?
Is there a way implement this in the Cookie plugin or with an if-condition disabled/enabled the scripts in the theme-template.
Example:
Code:
<?php if (cookie-plugin == ACCEPT) { ?>
<script>
TRACKING-CODE
</script>
<?php } ?>