Custom cookie prompts for GDPR when using HubSpot, Marketo, Drift, etc.

Most of the marketing platforms have their own options when it comes to asking for consent to drop cookies, but there are two big problems:

  1. Most are very generic and just an on/off - no option to target differently based on GEO, etc. 
  2. They often don't play nicely with other tools, so someone may have opted-out of tracking but other tools are still tracking them since you don't want 15 separate prompts for every visitor. 

In the past few weeks we've worked with a number of customers that were interested in having one prompt for only folks in the EU and to control a number of different systems based on that response. 

Everyone is talking about GDPR this week as the deadline fast approaches, so wanted to share the tools that we used. 

CookieConsent Pop-Up - We had originally planned to build this custom, but after seeing the level of customization that was allowed this was the smartest route to go to handle a variety of different requirements.

Ipdata Geolocation - Generous free plan to get started, along with one tag via the API "is_eu" to know if you need to show the pop-up. 

With these two tools, we quickly wired up some custom code that would check if someone is in the EU and display the option to opt-in for cookies. Once someone has opted-in then the tracking codes for whatever tools you need can be loaded easily. 

If you're working on getting GDPR compliant and need some help with this piece, don't hesitate to reach out and we will be happy to help!