Placeholder not showing for OSM

[ad_1]

Hi @sunkid,

The thread you’re referring to concerns a Google Maps block in the Kadence Theme itself, but it seems that your question refers to a different plugin altogether.

The OpenStreetMap integration in Complianz that you mentioned would block the ‘standard’ OpenStreetMap embeds & add a placeholder. For example, when copying the embed code from OpenStreetMap.org directly.

This is the reason why the “Waymark” Map isn’t blocked by activating the standard OpenStreetMaps integration. Waymark has it’s own implementation, i.e. there are other scripts involved; which must also be blocked prior to consent (and the class where the placeholder has to be added is likely also different).

Could you confirm whether it concerns this plugin?

Kind regards, Jarno

  • This reply was modified 13 hours, 57 minutes ago by jarnovos.

Hey @sunkid,

I’ve given this a try with the aforementioned Waymark plugin (here’s my example page).

This is how you can configure it in Complianz, navigate to Complianz -> Integrations -> Script Center -> “Block a script, iframe or plugin” and enter the below settings.

Name: Waymark
URLs that should be blocked before consent: waymark_settings
Enable placeholder: Yes
The blocked content is an iFrame: No
Select the desired placeholder in the dropdown menu (i.e. OpenStreetMaps)
Div class or ID that should be targeted: waymark-container
Dependency: No

After saving and enabling your new integration, the Map should be blocked with a nice placeholder before consent is obtained & correctly displayed afterwards.

Hope it helps!
Kind regards, Jarno

Thread Starter
sunkid

(@sunkid)

Hi Jarno,

worked like a charm on my site too! Thanks so much!
Is there any way to customize the text on the banner like here e.g.: https://complianz.io/leaflet-maps/ or perhaps add this as a general 3rd option to statistics and marketing instead? Thanks!

Hi @sunkid,

Glad to hear that it works well for you!

If you want to display the name of the service in the ‘blocked content notice’ instead of a category such as “Statistics” or “Marketing”, you can enable Consent per Service (Wizard -> Consent -> Services -> Do you want to use ‘Consent per Service’? -> “Yes”).

You can also modify the ‘blocked content text’ itself, under Complianz -> Settings -> General -> “Blocked content text”.

Kind regards, Jarno

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer