Support » Plugin: CAOS | Host Google Analytics Locally » i am still getting the leverage browsing caching error after using this plugin

  • phanicr7

    (@phanicr7)


    hi all, i installed the plugin, added analytics tracking id, had set footer for position of tracking code and i had saved. but still, seo checking sites show leverage browser caching error for google tag manager and google analytics.

    Am i missing any setting? please help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi @phanicr7,

    Could you provide me with your URL? And copy-paste the exact messages your getting from Pagespeed/Pingdom/GtMetrix/Whatever you’re using?

    phanicr7

    (@phanicr7)

    hi, thanks for the reply.
    this is the site… https://www.immunisip.com
    this is the site to check seo… https://sitechecker.pro/on-page-seo-checker/
    this is the message or warning i get..

    Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.

    Leverage browser caching for the following cacheable resources:
    https://www.googletagmanager.com/gtag/js?id=UA-108720520-3 (15 minutes)
    https://www.google-analytics.com/analytics.js (2 hours)
    Check if your page is serving cached pages. A page cache saves dynamically generated pages and serves the pre-generated (cached) page to reduce server load and site loading time (by avoiding the re-loading and execution of PHP scripts).

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Ok, thank you.

    Did you setuo CAOS to use gtag.js?

    In that case, you can disable whatever is adding the request to googletagmanager.com/gtag.js.

    The locally hosted gtag.js is still going to add the external request to analytics.js, though. Because it connects to your Google Account to see what other services you’re using.

    If you’re only using Google Analytics and no other Google Services, just setup CAOS to use analytics.js.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this review.