GDPR on html document

Hello, we have created a page with a Vimeo video, Facebook pixel and Google Analytics code. When we see it on a browser we find it uses cookies for this. According to European GDPR we must show a popup and a way to disable them. How can we do that with Hype?

Regards.

You can insert all these elements after a click on a popup built in Hype using a Hype function. You can add HTML by appending a div to body and setting the innerHTML to whatever is needed to render the tracking code.

For the video you can use a lazy loading solution similar to this (but the example is for YouTube)

2 Likes