• Resolved ww_hoax

    (@ww_hoax)


    I find no information in this regard. Shortcodes for content based on the plugin e. g.
    [cookies_accepted]content[/cookies_accepted]
    [cookies_not_accepted]content[/cookies_not_accepted]
    Many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @ww_hoax,

    What is the specific use case? If this is to show/hide a service like YouTube, integrating it with the cookie blocker might be a better solution (of course Youtube is already integrated).

    Or do you want to show a specific message regarding cookie consent status etc?

    ww_hoax

    (@ww_hoax)

    Many thanks for your quick reply.

    For specific Third Party Links like OpenStreetMap or Photonic etc.(https://de.wordpress.org/plugins/photonic/ (Google etc.).
    Content should only be displayed after Cookie Consent. If Cookies not accepted the user should see the actual cookie consent status and should have the opportunity to accept Cookies.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Because it wouldn’t work if you used shortcodes to wrap your consent requiring content in combination with caching, we don’t use shortcodes for that. In Complianz, this content is blocked on the server side, then activated in the browser when consent is given.

    OpenStreetMaps: I will add it as built in integration in Complianz, like our current Google Maps integration, complete with placeholder (example at the bottom is the default maps integration):
    https://complianz.io/google-maps-and-gdpr-what-you-should-know/

    In the meantime you can do this yourself by adding the URL that is used for the service to the script center on the Integrations page, in complianz/integrations/script center. For example, with OpenStreetMap, you can add the URL “openstreetmap.org” to the “URL’s from iframes that should be blocked before consent.

    When you do this, the map will be blocked before consent, then activated. Other services like Google Maps, Youtube, Facebook, Instagram, are all already working out of the box.

    You can also add Photonic to the script center. Add an iframe URL to the iframes field, or a (part of the) script url to the scripts section to block it before consent has been given.

    As Photonic has a lot of different services/implementations, a built in integration will take a few days, but we’ll add this plugin as well. If you have a specific page you’d want to block, I can take a look at it if you post it here. I can then tell you what URL to paste in the script center.

    Let me know if you have any questions!

    ww_hoax

    (@ww_hoax)

    Many thanks Rogier – sounds good and I will try it. I have seen the features and I will try it for photonic. Many Thanks!

    • This reply was modified 1 year ago by ww_hoax.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode’ is closed to new replies.