| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Google Analytics Module | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Google Analytics Module
A little history on this one
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 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
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#2
|
|||||||
|
|||||||
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.
__________________
Core version: 5.5.xx |
|||||||
#3
|
|||||||
|
|||||||
Re: Google Analytics Module
Quote:
Quote:
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#4
|
|||||||
|
|||||||
Re: Google Analytics Module
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#5
|
|||||||||
|
|||||||||
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).
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#6
|
|||||||
|
|||||||
Re: Google Analytics Module
Quote:
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#7
|
|||||||
|
|||||||
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"
__________________
Sincerely yours, Max Vydrin |
|||||||
|
#8
|
|||||||
|
|||||||
Re: Google Analytics Module
Quote:
Quote:
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#9
|
|||||||
|
|||||||
Re: Google Analytics Module
Quote:
__________________
Dev Store & Live Store XC Business 5.4.1.35 Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33 |
|||||||
#10
|
|||||||
|
|||||||
Re: Google Analytics Module
will be corrected in 533
__________________
Sincerely yours, Max Vydrin |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|