• Resolved awillocquet

    (@awillocquet)


    Hi !

    I’ve installed Complianz end of last week (on Thursday, I think), was able to configure it properly following the assistant. I believe I’ve seen myself the associated cookie banner at this time, but as I was still configuring the plugin in the back-office of WordPress.
    I’ve then checked my site while still logged as Administrator and everything looked fine.

    Then on Sunday, I realized there was quite a drop in Jetpack Statistics. And they were down to 0 for the following days (never happens usually). I visited my site today as a simple visitor on my smartphone, and realized it was quite a mess : the video on the homepage was missing, the formatting of all pages was awful…
    And I’ve never encountered the Complianz Cookie banner.

    I resolved myself to deactivate Complianz and after purging the cache, everything was back to normal.
    What can have happen and how can I prevent it ?

    The page I need help with: [log in to see the link]

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

    (@jarnovos)

    Hi @awillocquet,

    Jetpack
    Depending on your configuration, it may be necessary to block the statistics tooling prior to obtaining consent. If an error occurs on the front-end that breaks jQuery, Complianz can’t load the banner or unblock these scripts, which would explain the drop.

    Stylesheet
    The disappearing stylesheet may have been related to caching/minification, and likely to be resolved after clearing/purging the cache.

    It’s challenging to say what actually happened without being able to see the issue in action. We would gladly have a closer look at the behavior if you re-activate Complianz (perhaps on a staging version of the site?).

    Let me know if you have any updates about this.
    Kind regards,
    Jarno

    Thread Starter awillocquet

    (@awillocquet)

    Hi Jarno, thanks for your timely feedback !

    I do understand that it’s normal Jetpack stats are blocked before Complianz obtains the user consent. But as I doubt 50-60 users per day declined the cookies, I believe the banner was indeed not loaded at all.

    For minification, I had read this in the forum, yeah. Well, I certainly did not launch something on purpose since having installed Complianz. Could it be that some plugins like Hummingbird do this on automatic basis ? Perhaps…

    Of course, it’s difficult for you to assess this without witnessing. But when I realized the dramatic effect it had (more on the stylesheet than on the stats), I did not want to leave it as is…

    Sorry, I don’t know what you mean with “staging version of the site”… I could reactivate Complianz for a few hours agreed upon in advance so that you can have a look. What about tomorrow morning ?

    Thanks for your help, much appreciated.

    Alexandre

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @awillocquet,

    Not sure about Hummingbird’s default settings, but that could definitely be the cause of the missing stylesheets if the cache hadn’t been cleared/purged after installing Complianz.

    With staging version, I was referring to a clone of the site. That would allow us to attempt some solutions without having to impact the live/production site.

    Anyway, tomorrow morning would also work fine for me. You can install and configure Complianz just like you had done previously, and clear the Hummingbird cache afterwards. I will take a look whether the banner appears as expected, or if any errors appear.

    Kind regards,
    Jarno

    Thread Starter awillocquet

    (@awillocquet)

    I’ve never used a clone of the site and wouldn’t know how to do that, sorry !

    OK, I will reactivate Complianz tomorrow morning and let you know here. And I will clear the cache afterwards (not done last week).

    Best regards,

    Alexandre

    Plugin Contributor jarnovos

    (@jarnovos)

    Good morning @awillocquet,

    I’m ready to have a look at the site, let me know when you reactivate the plugin.

    Thread Starter awillocquet

    (@awillocquet)

    Good morning Jarno.
    I’ve just reactivated the plugin and cleaned the cache.

    So far, so good for the stylesheet.
    But I don’t see the Complianz banner… (neither on my mobile).

    Best regards,

    Alexandre

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @awillocquet,

    I see an error in the console that may be responsible for jQuery breaking, and Complianz not being able to load as a result of that.

    However, there is Minification active which makes it hard to read the code & file names. I suspect this is configured in the Hummingbird plugin, so perhaps you can temporarily disable that option as well (minify/optimize JS files)?

    Kind regards,
    Jarno

    Thread Starter awillocquet

    (@awillocquet)

    I’ve seen no Minification option in Hummingbird (only “Gzip compression” active, and that I could obviously not easily deactivate).

    But I remembered having activated minification in my W3 Total Cache plugin.
    I’ve deactivated it (but as well for html and CSS, as they come as a bundle…), purged the cache, and now the Complianz banner appears for me.

    But it would be an issue to have no minification enabled…

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @awillocquet,

    This explains alot. Having two caching plugins active that both try to accomplish the same goal can cause these kinds of issues (especially the stylesheet not being found), so I would personally recommend just leaving one of them activated.

    You can re-enable Minification in (one of the) caching plugin(s). I would however advise excluding the Complianz plugin from this feature, so it won’t cause any issues, but your site is still optimized by the feature.

    Performance > Minify > Never minify the following js files. Add this line:
    wp-content/plugins/complianz-gdpr/assets/js/complianz.min.js

    Kind regards,
    Jarno

    Thread Starter awillocquet

    (@awillocquet)

    OK, will try this !

    I had not considered Hummingbird as a cache plugin, but as an additional layer to try and improve my webperformance… but oviously you’re right, W3 Total Cache and Hummingbird seem to share similar features. I understand it that independently of the issue with Complianz, you would not recommend having the 2 active at the same time ?

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @awillocquet,

    Correct, I found a blogpost by the team over at LiteSpeed Cache which explains it well:

    The most important rule when using multiple optimization plugins together: don’t duplicate functions. In other words, if you have cache enabled in one, don’t enable cache in the other. And if you are minifying CSS in one, don’t minify CSS in the other. And so on.

    The above is the most-likely reason why you experienced the “messy” site/stylesheet reference issue earlier.

    Kind regards,
    Jarno

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @awillocquet,

    Anything else we can help you with?

    regards Aert

    Thread Starter awillocquet

    (@awillocquet)

    Hi Aert,

    actually, I thought I had solved the issue adding an exception in W3 Total Cache, but I’ve realized this morning that my Jetpack stats were done to 0 again since Friday…

    I think my visitor still didn’t see the Complianz banner.

    I’ve just deactivated Hummingbird and cleared the cache. I hope this will solve things…

    Best regards,

    Alexandre

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @awillocquet,

    I just visited your website and I can see the Complianz banner just fine. I tested this in multiple browsers (Chrome, Firefox, Samsung Browser on Mobile) and the banner appears every time.

    What I did notice is that the missing stylesheet issue has returned, this seems to be unrelated to Complianz though, because it also occurs in Complianz’ Safe Mode.

    As I suspect that the caching plugins may have an influence, could you temporarily disable both of these plugins entirely? We can check whether the styles and Jetpack stats re-appear upon doing so.

    Please feel free to reach out to us via our support mail: [email protected]

    Kind regards,
    Jarno

    • This reply was modified 3 years, 2 months ago by jarnovos.
    Thread Starter awillocquet

    (@awillocquet)

    Hi Jarno,
    I’ve just deactivated again W3 Total Cache.
    I had deactivated Hummingbird since yesterday.

    Before I installed Complianz, I never had issue with Jetpack stats, even with these 2 plugins running in parallel.
    Couldn’t be sure for the stylesheet, but seemed fine anytime I checked on my mobile or my wife’s laptop…

    Tell me if you prefer that I use e-mail from now on.

    Best regards,

    Alexandre

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘My blog was kind of a mess after installing Complianz’ is closed to new replies.