How to get Complianz to ignore Google Maps?
-
Hi there,
I see Complianz is adding
<script type=”text/javascript” class=”cmplz-script” src=”https://maps.googleapis.com/maps/api/js?key=redacted&extension=.js”></script>
..to my map embed. I don’t want it to block the map at all regardless of consent. I’ve removed Google Maps service to no avail. I’ve also gone through the wizard and removed anything to do with Google Maps and then cleared cache.
Here’s the page: https://bit.ly/3fSH0jC
Further, I’m not sure why consent is needed for this map if Google doesn’t set third party cookies in the first place? I’ve analysed the cookies and Google Maps doesn’t set any. I’ve also read your article on the matter but I am unclear.
I tried this function
/** * Complianz Ignore Google Maps */ function cmplz_edit_iframe_tags($iframe_tags){ if (($key = array_search('maps.googleapis.com', $iframe_tags)) !== false) { unset($iframe_tags[$key]); } return $iframe_tags; } add_filter('cmplz_known_iframe_tags', 'cmplz_edit_iframe_tags');But that is only for an iframe map embed, which I am not using.
Thanks for your help.
The topic ‘How to get Complianz to ignore Google Maps?’ is closed to new replies.