• Resolved Oliver Nielsen

    (@oliver-nielsen)


    Hi
    Install your plugin, but I cannot open local-ga.js file in cache. wp-content/plugins/host-analyticsjs-local/cache/local-ga.js
    I get this error:
    jscript-runtime-error-code-800a1391-console-is-undefined

    What to do?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Oliver Nielsen

    (@oliver-nielsen)

    Ok, local-ga.js works now, but it I cannot get it to work with W3TC. Still gets 2 hours and 60 minuttes warnings

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Check your htaccess file, probably the cache time for your js files is set to 2 hours. If you can’t find it there, then check your W3TC settings. If these are accurate, there must ve a permission issue on your server and W3TC can’t write to the htaccess file.

    Thread Starter Oliver Nielsen

    (@oliver-nielsen)

    Hmmm, I already check this and W3TC writes to htaccess. Expires header A31536000 for js files in Browser JS settings.
    I also have diffent expires
    google-analytics.js (2 hours)
    pagead2.googlesyndication/pagead/osd.js (60 minuts)
    s7.addthis.com/js/300/addthis_widget.js (10 minuts)
    m.addthisedge.com/…-507c6a8569bd453d/_ate.track.config_resp (60 seconds)

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    These are all externally loaded js files and are not related to CAOS. Please check your other plugins or any other custom tracking code in your header and/or footer.

    You probably have another Analytics plugin running, which is adding google-analytics.js from an external source. Same counts for the other files.

    Thread Starter Oliver Nielsen

    (@oliver-nielsen)

    Ok, thanks,
    yes I found the code both header and in theme. Codes removed now.
    However, the problem is still there because of the adsense ads.
    If I disable google ads, problem solved, but I do not want to disable ads.

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Jep, but unfortunately Google ads’ js files can’t be hosted locally. Furthermore, that’s not what CAOS is for. CAOS appears to working fine as expected. That’s why I’m marking this topic resolved. Enjoy!

    Hello Daan,

    I have a question. Why doesn’t seositecheckup.com see the Google Ananlytics? Do you have a solution for this problem?

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    That depends on the way they scrape the page for the script. If they’re running an exact match on the script advised by Google, it wouldn’t match on behalf of the url being different.

    As long as Analytics is detecting your visitors, though, it’s nothing to worry about.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Runtime error’ is closed to new replies.