• Resolved rmznovali

    (@rmznovali)


    I did all you have mentioned on previous comments, but it did not work that the local ga file is empty. I also ran wp cron manually and it did not work out as well.

    Can you help me solve it please? It is so annoying to eliminate google’s own service like this to pass another google service ?? Google should have a better options.

    My website is kesfolog.com

    Thanks a lot.

    Ramazan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    I’ll look into it. Please provide me with admin and ftp access details using this form: https://dev.daanvandenbergh.com/contact/

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi @rmznovali!

    I’ve checked everything, but I cannot reproduce your issue.

    https://www.kesfolog.com/wp-content/plugins/host-analyticsjs-local/cache/local-ga.js is not empty (open it!) and the tracking code is present in your blog’s source.

    Be aware that wp_cron() depends on your sites’ visitors. If a wp-cron is manually triggered, it will only be executed once a computer (besides a logged-in admin) visits your site.

    So I can only conclude that the plugin is working as it’s supposed to! ??

    Have a nice day!

    Thread Starter rmznovali

    (@rmznovali)

    Thank you for your help. I appreciate it.

    Then I have one last question. Now that it is working, it should not be displayed as a problem in Google Page Speed test, right? If so, currently it is shown as a problem.

    I appreciate your help.

    Kind Regards

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    It isn’t.

    You’re adding the analytics.js twice. Once from Google’s external server, and once through my plugin.

    The url to local-ga.js (which my plugin adds, I mentioned it in my prevous reply) isn’t anywhere in the Google Pagespeed report, which is good.

    The one you’re talking about is: https://www.google-analytics.com/analytics.js (2 hours). This is added by either another plugin or it’s added somewhere in your theme’s header.php. This is not caused by my plugin.

    Try disabling all plugins and see if it still appears in Pagespeed. Enable each plugin one by one to see which one is adding the analytics.js from Google’s external server. Enable WP Fastest Cache for last.

    If no plugin is adding the analytics.js, then it must be somewhere in your theme’s settings or files.

    Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Local JS file is empty’ is closed to new replies.