It didn't fix the delay on checkout.. I tried changing to basic Template, Responsive Template, and back to Bootstrap.. used OPC and took OPC off.
I am thinking it may be a slow database issue. I'll do some homework and get back to this.
Printable View
It didn't fix the delay on checkout.. I tried changing to basic Template, Responsive Template, and back to Bootstrap.. used OPC and took OPC off.
I am thinking it may be a slow database issue. I'll do some homework and get back to this.
The checkout-delay is normally (both OPC and not) dependent on the number of external shipping modules (e.g. USPS, UPS, FedEx) the store uses. Each transition (for 3-page checkout) or page-refresh (for OPC) during the checkout process normally requires a poll of all enabled shipping methods.
v1.2.3 of GA4 Analytics is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2368
This release contains changes associated with the following GitHub issues:
#13: Need to really load after currencies are instantiated.
#22: $_SERVER['REFERER'] might not be set on checkout payment/confirmation pages, generating logs.
#23: Page performance, push all GA4 configuration parameters via a single dataLayer.push.
v1.2.4 of GA4 Analytics is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2368
This release no longer includes blank categories' names in a product's categories-list; see GitHub issue #24 for more information.
I have some silly questions regarding this plug-in and adwords conversion tracking.
In the readme guide of this plug-in, it is said: "Make sure that you did not add some Google tracking scripts anywhere manually in your Zen Cart files."
So I need to remove all the GA/GA4 and conversion related code from my site at first, then install the plug-in. After that, how can I track the conversion? Only rely on the data from GA4? What is the best way to track the conversion (adwords) and analyze the site (GA4) at the same time?
As a background, my site is current using the following code to track the conversion. I used to use google tag manager but it seems it cannot get the order amount. This following code can report the order amount properly.
https://docs.zen-cart.com/user/analy...rsion-tracking
That's what I did - remove all older tracking code, install GA4, then modify your Adwords Goal to use GA4 conversion data
Attachment 20710
Nothing wrong with the plugin except for page speed complaining of blocking time:
/gtag/js?id=G-JQL28SP4BW(www.googletagmanager.com) Main-Thread Blocking Time : 537 ms
URL
Google Tag Manager /gtag/js?id=G-JQL28SP4BW(www.googletagmanager.com)
Total CPU Time 1,563 ms
Script Evaluation 1,276 ms
Script Parse 276 ms
Is there away to reduce it? I am getting a score of 50 for mobile on pagespeed!
Thank you
v2.0.0 of GA4 Analytics is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2368
This version is released as a Zen Cart encapsulated plugin, supporting Zen Cart versions 2.1.0 and later. Thanks to @DrByte for doing the conversion to encapsulated.
v2.0.1 of GA4 Analytics is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2368
This version correctly update various configuration settings when upgrading from a non-encapsulated version of the plugin (#28).