[Snippet] GDPR Opt-out for Sendinblue WordPress Plugin

If you are using the official Sendinblue for WordPress plugin, you may have recognized that it provides an excellent feature of tracking user behavior. When enabling the tracking for marketing automation feature in Sendinblue’s WordPress plugin, you are able to use workflows to send targeted email or text messages to users.
For privacy and legal reasons, you may want to allow your visitors to opt-out of Sendinblue tracking. The following snippet will provide you with the needed functionality.

How to make this snippet work?

  • activate tracking for Sendinblue marketing automation by setting ‘Activate Marketing Automation through SendinBlue’ to ‘Yes’ on the plugin’s settings page
  • copy/paste the full snippet code to your child theme’s functions.php
  • put a clickable element (opt-out link) to your website (usually in the privacy policy) and add the ID “sib-opt-out” to the element

Example opt-out link code:

Get the snippet

Find this snippet on Github.

Need help?

Please let us know in the comments if the snippet does not work for you or if you need any help.

Share on whatsapp
WhatsApp
Share on email
Email
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

About the author

Discussion

Join the discussion about ‘GDPR Opt-out for Sendinblue WordPress Plugin’