-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify implementing content consent like Youtube/Google Maps/facebook/... #158
Comments
…aps (#158) (#167) Co-authored-by: Oliver Kroener <[email protected]>
…aps (#158) (#167) Co-authored-by: Oliver Kroener <[email protected]>
…aps (#158) (#167) Co-authored-by: Oliver Kroener <[email protected]>
…aps (#158) (#167) Co-authored-by: Oliver Kroener <[email protected]>
An idea might be a web component wrapped around the content that is to be protected. The content that is shown until the trackingObject is allowed could be templated and the buttons slotted in: <cookieman-protect tracking-object="myTrackingObject">
<template slot="cookieman-banner">
<div>
In order to show this content a connection with YouTube will be initiated.<br>
This will transmit data to the USA.
<div slot="buttons"></div>
</div>
</template>
<cookieman-protect-element tag-name="iframe" src="..." />
</cookieman-protect> (+ the button that accepts that group/trackingObject) |
Here is a gist that might help you implementing it with the current cookieman v2 (that does not have a plug-and-play integration yet): |
Did anyone succesfully implemented this feature for coockieman dev/12lts? When I tried, I got the error:
also on line 7 in CookiemanYoutubeRenderer.php YoutubeImageService is used.. but there isn't such a file. |
Feature Request
Is your feature request related to a problem? Please describe.
Currently, implementing e.g. a consent before loading a Youtube video requires quite some custom code to interact with cookieman.
As this is becoming more common, cookieman should provide an easier solution.
Describe the solution you'd like
It should allow to use Fluid templates for the banners.
The text was updated successfully, but these errors were encountered: