Stuck on step 3 of the 3-step implementation
Hi all,
I hope you can assist me with this (probably very easy step):
I have followed the three step implementation as shown on the Wordpress Plugin Page under "support".
I registered at Cookiebot, have an ID and was able to activate the Cookiebot banner as it shows on the page https://www.familienreisenmitkind.de
However, the three scanned cookies (visible when I log into my Cookiebot account) do not show on the live version on the website. The reason is pretty obviously that I haven't been able to activate the necessary scripts on the Wordpress end.
You were helpful in indicating that there is a helper function (below), but I don't know where and how to perform this change to activate the helper function Could you be more specific on how to use the helper function, then I might be all set with the configuration.
Best regards and thanks
Pier
"
Helper function to update your scripts
You are able to update your scripts yourself. However, Cookiebot also offers a small helper function that makes the work easier.
Update your script tags this way:
<script type="text/javascript">
to <script<?php echo cookiebot_assist('marketing') ?>>
-
Hi Pier,
The 3 step of the implementation guide is about 'Prior Consent'. You could find more about prior consent and what does it means here: https://support.cookiebot.com/hc/en-us/articles/360004104033-What-does-prior-consent-mean-and-how-do-I-implement-it-
However, in order to enable prior consent on your website you would need to apply the attribute "data-cookieconsent" to cookie-setting script tags and assign cookies to specific categories e.g. marketing, statistics etc.
Usually, after adding 'data-cookieconsent' attribute your cookie-script should look like this:
<script type="text/plain" data-cookieconsent="marketing">
By means of this helper function you could use <script<?php echo cookiebot_assist('marketing') ?>> instead of the above mentioned cookie-script.
Regards,
Spas
Please sign in to leave a comment.
Comments
1 comment