![]() |
Google Analytics Module
A little history on this one :wink:
In XC 5.2.* it was basically not much use. See this post: https://forum.x-cart.com/showthread.php?t=74263 In XC 5.3 it's much better, many bugs were cured and it actually works, quite well. However, no gain without pain 8O In this image ( TEST )you can see the difference this module makes in terms of home page times when comparing a dev store without the module being live, to a live store with the module being live. Notes when looking at the image: a) Both the stores were identical in this test with the exception of this module being live / not live b) The numerical difference in requests (6) is 100% attributable to this module. c) These additional requests are shown at the bottom of the image for reference. d) The difference in Cached Static Content score A degraded to B is purely due to these items, all of which are part of this module: Leverage browser caching of static assets: FAILED - (No max-age or expires) - https://fonts.googleapis.com/css?family=Open Sans> Edited Out Details < FAILED - (No max-age or expires) - https://www.google.com/ads/ga-audiences?v=1> Edited Out Details < WARNING - (60.0 minutes) - https://www.google-analytics.com/plugins/ua/ec.js WARNING - (2.0 hours) - https://www.google-analytics.com/analytics_debug.js We are NOT big Google fans anyway but regardless, a couple of questions for the XC Team on this module please, are.... 1) Can we expect a module upgrade (pretty soon...) that corrects all these issues and thus the time penalty suffered for using it? 2) Does the module setting "Debug mode" actually need to be switched to "on" for a live store? If the answer is yes, can some body explain why? Issues with Google fonts have come up in other posts anyway, but that aside, it would be very handy to see this module upgrade soon, especially as (unlike ourselves) many XC5 users are Google Fans! Edit: We currently don't use CDN by choice |
Re: Google Analytics Module
I think this is normal for any website and it won't affect your rankings. It's how GA works.
I don't why debug is on though.. I just noticed this on our site and switched it off. |
Re: Google Analytics Module
Quote:
Quote:
Quote:
|
Re: Google Analytics Module
Quote:
|
Re: Google Analytics Module
Quote:
I didn't consult with the XC5 dev team, but I'm not sure what can be done there. As far as I know Google Analytics was integrated as per Google's instructions. And scripts are loaded from their servers, so we can't control the cache parameters on our side. Quote:
It should be switched off for a live store. I've checked the installation script and it is "off" there (at least in recent module versions). |
Re: Google Analytics Module
Quote:
Quote:
|
Re: Google Analytics Module
About debug mode.
As soon as the "debug mode" is enabled all the request logs in the file and GA starts working in debagging mode - https://developers.google.com/analytics/devguides/collection/analyticsjs/debugging About performance and caching. It is a little bit funny. Google requires loading scripts from their servers to guarantee that it is up to date. And Google does not like to cache his scripts. Even Google requires to do it )) "https://www.google-analytics.com/plugins/ua/ec.js" and " https://www.google.com/ads/ga-audiences" are loaded by Google in JS file, we cannot control it at all For "https://fonts.googleapis.com/css?family=Open Sans" we implemented async param in the next version to eliminate "FAILED" error. However, Google probably mark it with "Warning" |
Re: Google Analytics Module
Quote:
Quote:
Quote:
|
Re: Google Analytics Module
Quote:
|
Re: Google Analytics Module
will be corrected in 533
|
All times are GMT -8. The time now is 02:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.