• Resolved mjmoniz

    (@mjmoniz)


    Hello – I just got off a 2-hour phone call with the Google support team to try to fix Google Analytics. We attempted several troubleshooting options and landed on the issue when we deactivated the LITESPEED plugin. It seems like something to do with the plugin is interfering with Google Analytics.

    I also spoke to my hosting provider (Hostinger) and they did a hard reset of my LITESPEED cache from their side. That also didn’t work so they added the following script in my .htaccess file:
    <IfModule Litespeed>
    RewriteEngine On
    RewriteRule .* – [E=noconntimeout:1]
    RewriteRule .* – [E=noabort:1]
    </IfModule>

    That didn’t work either. Now I’m turning to you for any advice as to how to proceed with this issue. Hostinger has told me that if there’s anything they can do to help that they would be happy to, but if there’s anything I can do to fix this issue that would be greatly appreciated.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please try :

    1. go to Page Optimziation -> Tuning setting -> JS exclude and JS defer exclude , add gtag into both list

    2. remove GA from Page Optimization -> Localization list if you have it enabled

    save and purge all

    see how it goes

    Best regards,

    Thread Starter mjmoniz

    (@mjmoniz)

    Hi @qtwrk – WOW! I wasn’t expecting your support to be that fast.

    I added the gtag to both Page Optimization -> Tuning setting -> JS exclude and JS defer exclude lists and removed the https://www.google-analytics.com/analytics.js from the Page Optimization -> Localization list.

    …and a purged twice…It doesn’t seem to be working still.

    • This reply was modified 4 years ago by mjmoniz.
    Plugin Support qtwrk

    (@qtwrk)

    try remove the line contains “www.googletagmanager.com” in localization list, purge again

    Thread Starter mjmoniz

    (@mjmoniz)

    BINGO! That was it! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘LSCache Not Working with Google Analytics’ is closed to new replies.