Integration of Revoke cookies function on the Hub page
Dear All,
we need to create the page where the user has the possiblility to remove the cookies. The idea is to create the hubspot page with this java script function:
But as soon as we put the code on the hubspote page some elements are disappearing after the saving (see screenshot, e.g.onclick function). Who knows what we are doing wrong? What is the right way to create the page with the revoke/remove cookies function.
So the first thing I'm noticing is that you're putting this script tag in the source code of a rich text module. That's not officially supported, and is likely the reason you're not seeing success with this particular page. I'd recommend taking your code and putting it into your pages footer, or a custom HTML module instead.
Can you send me a link to the page in HubSpot you're referring to? Generally I'd advise you to consult with a developer for custom work like this, but I can jump in and take a quick look.
The code which we would like to integrate you can see as a screenshot in my question to discuss. The results what we have after the integration you can see at our page directly. It would be great if you can tell us why some java script code was just dismissed after saving. We are very glad for the help of any kind.