Xippo / OM-Cookie-Manager

TYPO3 Extension - OM Cookie Manager | Feats: Consent Panel (Optin), Grouping and Google Tag Manager support
GNU General Public License v3.0
10 stars 9 forks source link

How about a feature to replace iframe content only after consent to specific group? #15

Open kanow opened 3 years ago

kanow commented 3 years ago

Hi, I miss this feature in this extension. I mean replace all kind of external loaded content (iframe,object) with a placholder and only after giving consent to a specific cookie group the content will be loaded. Is there a chance for realizing? If you think yes, I have an idea and would spend some time on it. But I wont do work for nothing if you don't plan to integrate those feature.

Xippo commented 3 years ago

Hi kanow, it would be a great feature.

My motivation for realizing this extension was to build something simple and ready to use for people that are not developers or skilled integrators. But the extension should also give developers the possibility to customize it like they want in a simple way or integrate something like content blocking etc. on his own. So if you know how to block the loading from external content, you can block the loading, add some kind of dummy group and then simply check inside the cookie set by the extension if the specific group id is active (1). When that is the case you will load the blocked stuff. There are also some event, that help you to do so after the user made his choice the first time. The problem that i see is that a feature like this, can be implemented in a lot of ways and with different depths of configuration etc. also the users often has their own understanding how this should work, so it feels kind of hard to find a good middle way and meet also the goal of ready to use (a saw a lot of stuff also on the commercial cmp where the user should change tags from script to text or add HTML comments etc. that is a no go for the scope of the extension).

On top of this i spend some thoughts on this as well:

so i saw quickly that this is a quite big (troublesome) feature with a lot of question marks to be solved and a lot of time investment to be done, for this reason i decided for now to not work on this. Maybe you have a different approach to tackle this, it would be a great feature and i would be pleased to add this to the extensions (maybe also as optional feature) if the purpuse of the extension ready to use and simple configuration remain the same.