• Resolved codimex

    (@codimex)


    Hi; my first support thread here and I see a lot of green ticks of resolved issues. I hope you can help me too! Here we go!

    I know it’s a recurring issue here, the incompatibility of embedding Google Maps (via API, not iframe) + Complianz plugin. I’ve checked this, this, other tutorials from you, and probably every related answer in this forum, but despite my efforts, my maps aren’t displayed when loading the page. Looks like every answer is website-specific.

    Until a week ago, it was working perfectly. The issue came up when I installed ACF. I then disabled ACF integration, as per suggested by you and other users in this forum, but no success. I’m stuck there, bumping my head against the same issue once and again, trying combinations of adding scripts with/out placeholders, dependency rules… I’m really stuck. :”(

    I’ve tried disabling my cache plugin (Litespeed), and no success. Can you help me? I’d be happy to share my url, but privately, since I might not be running this website in the future (but I need to leave it ready-to-go very soon).

    Thank you in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @codimex,

    We would be happy to look into the behavior of the Google Map on your website, but as this greatly depends on your configuration & the plugin or script that you’re using to place this Map; a link to the site where we can see the implementation would be useful.

    If you share an URL to the Google Map on the website in question, that would allow us to take a look as well. You may do so via support(at)complianz.io.

    Kind regards, Jarno

    Thread Starter codimex

    (@codimex)

    Hi, Jarno. Thank you for your willingness to help. I’ve sent you an email with the link. As I said, the map is embedded via API (not using any plugin): <script src="https://maps.googleapis.com/maps/api/js?key=MY_API_KEY&callback=MY_FUNCTION></script>

    The Google Maps API key credentials are correctly set to work in my site (since it worked before the issue came up).

    As a summary:

    -I’m using Litespeed -> I purged + disabled Litespeed plugin -> No success
    -I disabled ACF integration -> No success
    -I tried setting combinations of scripts with/out placeholders, dependency rules… -> No success
    -I added ?cmplz_safe_mode=1 in the URL -> No success.

    Thank you!

    • This reply was modified 1 year, 11 months ago by codimex. Reason: Adding more info
    • This reply was modified 1 year, 11 months ago by codimex. Reason: Adding more info
    Thread Starter codimex

    (@codimex)

    Hi! After debugging the issue privately with Jarno, turned out it was a caching problem, which is weird, since one of the early tests I performed was disabling Litespeed Cache plugin and the issue persisted.

    Nevertheless, the turning point was using the ?LSCWP_CTRL=before_optm parameter after the url, and the map loaded as expected. Therefore, we were able to point at the culprit (a caching problem which I’ll look deeper into it later).

    Since the issue is not Complianz-related, I’m marking this thread as resolved. Before you ask me to, I’m posting my well-deserved 5-star rating. ?? Thank you!!!

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @codimex,

    Thank you very much for sharing your solution with the community!

    Kind regards, Jarno

    Thread Starter codimex

    (@codimex)

    As a final note, for those having this issue (LiteSpeed Cache + Complianz + embedding Google Maps via API), I solved it by leaving out these two lines…

    https://maps.google.com/maps/api/js
    https://maps.googleapis.com/maps/api/js

    …in the Page Optimization > Localization > Localization Files textarea.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Maps and Complianz’ is closed to new replies.