No order-total value included in the order-received page payload
-
Hi, I have set up Google Analytics (UA) with Enhanced Ecommerce for my WC shop, and I am still not receiving any order total value in the payload of the purchase event. I can see that the pr1id, pr1qt, pr2id, pr2qt is included on the initiate checkout payload, and that is pretty much the very last time when prices are included in the payloads of an order’s. On the thank you page ([…]/order-received/[…]) no total value is present in the payload.
I am using Google Analytics Debugger in Chrome console to explore the events payloads. I have set up your plugin with basically all settings enabled, with the exception of cross domain tracking. i.e.
- Use Global Site Tag
- Enable Standard Tracking
- “Display Advertising” Support
- Use Enhanced Link Attribution
- Anonymize IP addresses
- Track 404 (Not found) Errors
- Purchase Transactions
- Add to Cart Events
- Enable Enhanced eCommerce
- Remove from Cart Events
- Product Impressions from Listing Pages
- Product Clicks from Listing Pages
- Product Detail Views
- Checkout Process Initiated
are all enabled.
I have placed three test orders, and only two have appeared in my Goal URLs report in GA. The third one did not appear there, which I am suspecting has to do with my experimenting with enabling/disabling the Use Global Tag checkbox. When gtag is enabled orders do show up in Goals URLs, but no order value is there, ever.
In Conversions Ecommerce > Checkout Behavior of GA’s I can see that Step 1 has recognized my activity, but it is showing a 100% Dropoff, and zero sessions with Transactions. Does it have to do with my on offering Cash On Delivery (COD) as the only payment option available during checkout?
I honestly can’t think of anything else that could be causing this behavior, other than COD.
I have checked and removed all duplicate code that existed, and your plugin is the only one running on all pages for GA.
Please advise.
The page I need help with: [log in to see the link]
-
Hi there,
Thanks for reaching out.
I need to better understand the site setup. It will be great if you could share your current System Status Report. You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.Best,
Hi @daniyalahmedk , thank you for assisting me with this. I am sharing below the requested information.
### WordPress Environment ### WordPress address (URL): https://biostile.gr Site address (URL): https://biostile.gr WC Version: 6.6.0 REST API Version: ? 6.6.0 WC Blocks Version: ? 7.6.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ? WP Cron: ? Language: el External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.1.0 PHP Post Max Size: 1 GB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.12-MariaDB-cll-lve Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.6.0 WC Database Prefix: wp_ Total Database Size: 18.27MB Database Data Size: 15.08MB Database Index Size: 3.19MB wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.16MB + Index: 0.17MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB wp_aioseo_cache: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_categorymeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_img_optm: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailerlite_checkouts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailerlite_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_member_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ml_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wp_options: Data: 4.41MB + Index: 0.13MB + Engine InnoDB wp_portfolio_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 2.52MB + Index: 0.53MB + Engine InnoDB wp_posts: Data: 5.52MB + Index: 0.13MB + Engine InnoDB wp_product_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 149 cookielawinfo: 6 custom_css: 1 customize_changeset: 40 nav_menu_item: 69 page: 24 porto_builder: 10 post: 5 product: 59 product_variation: 36 revision: 284 shop_order: 26 vc_settings_preset: 1 wp_global_styles: 2 wp_template: 1 wp_template_part: 3 wpcf7_contact_form: 6 wpcf7r_action: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Hostinger: by Hostinger – 1.0 Classic Widgets: by WordPress Contributors – 0.3 Contact Form 7: by Takayuki Miyoshi – 5.6 GDPR Cookie Consent: by WebToffee – 2.1.2 GTM4WP: by Thomas Geiger – 1.15.2 Dynamic Featured Image: by Ankit Pokhrel – 3.7.0 Facebook for WooCommerce: by Facebook – 2.6.16 WPBakery Page Builder: by Michael M - WPBakery.com – 6.9.0 LiteSpeed Cache: by LiteSpeed Technologies – 4.6 MailerLite - Signup forms (official): by MailerLite – 1.5.6 Porto Theme - Functionality: by P-Themes – 2.3.1 Remove Uppercase Accents: by Giorgos Sarigiannidis – 1.1.1 MailerLite - WooCommerce integration: by MailerLite – 1.6.10 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.10 WooCommerce: by Automattic – 6.6.0 (update to version 6.6.1 is available) SEOPress: by SEOPress – 5.7.3 Redirection for Contact Form 7: by Qube One – 2.6.0 YITH WooCommerce Wishlist: by YITH – 3.9.0 ### Inactive Plugins (1) ### WP File Manager: by mndpsingh287 – 7.1.5 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? ### WC Pages ### Shop base: #21 - /shop/ Cart: #22 - /cart/ Checkout: #23 - /checkout/ My account: #24 - /my-account/ Terms and conditions: #2367 - /oroi-xrisis/ ### Theme ### Name: Biostile Theme Version: 1.1 Author URL: https://www.portotheme.com/ Child Theme: ? Parent Theme Name: Porto Parent Theme Version: 6.3.2 Parent Theme Author URL: https://www.portotheme.com/ WooCommerce Support: ? ### Templates ### Overrides: porto/woocommerce/archive-product.php porto/woocommerce/cart/cart-empty.php porto/woocommerce/cart/cart-shipping.php porto/woocommerce/cart/cart-totals.php porto/woocommerce/cart/cart.php porto/woocommerce/cart/cross-sells.php porto/woocommerce/cart/mini-cart.php porto/woocommerce/cart/proceed-to-checkout-button.php porto/woocommerce/cart/shipping-calculator.php porto/woocommerce/checkout/form-billing.php porto/woocommerce/checkout/form-checkout.php porto/woocommerce/checkout/form-coupon.php porto/woocommerce/checkout/form-login.php porto/woocommerce/checkout/form-pay.php porto/woocommerce/checkout/form-shipping.php porto/woocommerce/checkout/payment-method.php porto/woocommerce/checkout/payment.php porto/woocommerce/checkout/review-order.php porto/woocommerce/checkout/thankyou.php porto/woocommerce/content-product-cat.php porto/woocommerce/content-product.php porto/woocommerce/content-single-product.php porto/woocommerce/content-widget-product.php biostile-theme/woocommerce/emails/customer-completed-order.php biostile-theme/woocommerce/emails/customer-invoice.php biostile-theme/woocommerce/emails/customer-new-account.php biostile-theme/woocommerce/emails/customer-note.php biostile-theme/woocommerce/emails/customer-on-hold-order.php biostile-theme/woocommerce/emails/customer-processing-order.php biostile-theme/woocommerce/emails/customer-refunded-order.php biostile-theme/woocommerce/emails/customer-reset-password.php biostile-theme/woocommerce/emails/email-header.php biostile-theme/woocommerce/emails/email-styles.php porto/woocommerce/global/form-login.php porto/woocommerce/global/quantity-input.php porto/woocommerce/global/wrapper-start.php porto/woocommerce/loop/add-to-cart.php porto/woocommerce/loop/loop-end.php porto/woocommerce/loop/loop-start.php porto/woocommerce/loop/no-products-found.php porto/woocommerce/loop/orderby.php porto/woocommerce/loop/pagination.php porto/woocommerce/loop/rating.php porto/woocommerce/loop/sale-flash.php porto/woocommerce/myaccount/dashboard.php porto/woocommerce/myaccount/downloads.php porto/woocommerce/myaccount/form-add-payment-method.php porto/woocommerce/myaccount/form-edit-account.php porto/woocommerce/myaccount/form-edit-address.php porto/woocommerce/myaccount/form-login.php porto/woocommerce/myaccount/form-lost-password.php porto/woocommerce/myaccount/form-reset-password.php porto/woocommerce/myaccount/lost-password-confirmation.php porto/woocommerce/myaccount/my-account.php porto/woocommerce/myaccount/my-address.php porto/woocommerce/myaccount/my-downloads.php porto/woocommerce/myaccount/my-orders.php porto/woocommerce/myaccount/navigation.php porto/woocommerce/myaccount/orders.php porto/woocommerce/myaccount/payment-methods.php porto/woocommerce/myaccount/view-order.php porto/woocommerce/order/form-tracking.php porto/woocommerce/order/order-details-customer.php porto/woocommerce/order/order-details.php porto/woocommerce/order/order-downloads.php porto/woocommerce/order/tracking.php porto/woocommerce/single-product/add-to-cart/simple.php porto/woocommerce/single-product/add-to-cart/variable.php porto/woocommerce/single-product/meta.php porto/woocommerce/single-product/product-attributes.php porto/woocommerce/single-product/product-image.php porto/woocommerce/single-product/product-thumbnails.php porto/woocommerce/single-product/rating.php porto/woocommerce/single-product/related.php porto/woocommerce/single-product/review-meta.php porto/woocommerce/single-product/review-rating.php porto/woocommerce/single-product/review.php porto/woocommerce/single-product/sale-flash.php porto/woocommerce/single-product/short-description.php porto/woocommerce/single-product/tabs/tabs.php porto/woocommerce/single-product/title.php porto/woocommerce/single-product/up-sells.php porto/woocommerce/single-product-reviews.php ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-06-23 12:00:45 +03:00 Options: ? Notes: 53 Onboarding: skipped ### Action Scheduler ### Canceled: 1 Oldest: 2022-05-25 13:22:06 +0300 Newest: 2022-05-25 13:22:06 +0300 Complete: 489 Oldest: 2022-05-25 13:33:52 +0300 Newest: 2022-06-22 17:38:55 +0300 Failed: 4 Oldest: 2022-05-25 15:01:59 +0300 Newest: 2022-05-25 15:03:43 +0300 Pending: 3 Oldest: 2022-06-23 14:32:56 +0300 Newest: 2022-06-23 17:38:55 +0300 ### Status report information ### Generated at: 2022-06-22 18:16:19 +03:00
Update: I’ve set up a staging with all plugins deactivated, but for the woocommerce and yours that is, and the storefront theme enabled, and it appears like it is a conflict between your plugin and the theme and/or some of the plugins. I am in the process of debugging what might be the culprit here, by first activating the theme, and rechecking, then activating the plugins one by one, and checking after each one with a new order, until I discover the culprit here.
Would you happen to have any easier methods for getting to the bottom of this? If so, please share your insight.
I’ll keep you posted on the progress, thanks.
Update: It appears like a conflict between WooCommerce Google Analytics Integration and GTM4WP. I have deactivated GTM4WP and it works like a charm.
I then implemented some of the custom events that used to run through GTM, to run directly through the source code of the site, and it all works sweetly now.
I still have a question though: That was related to the Universal Analytics implementation. Your plugin does not support both UA and GA4 pixels to run in parallel. Does that have to do with a conflict between the two, and I should decide to choose only one at a single time, or is it just not supported by your plugin, but would run without a problem otherwise? Meaning, if I deactivated all UA tags from GTM and enabled GMT4WP to only implement GA4 related stuff from that direction, would that work, or would it break it again. Please share your insight if you may. You would save me some time from investigating this in a stage site also. Thanks.
Hi @skredlemon,
Update: It appears like a conflict between WooCommerce Google Analytics Integration and GTM4WP. I have deactivated GTM4WP and it works like a charm.
Thanks for the update.
That was related to the Universal Analytics implementation. Your plugin does not support both UA and GA4 pixels to run in parallel. Does that have to do with a conflict between the two, and I should decide to choose only one at a single time, or is it just not supported by your plugin, but would run without a problem otherwise?
Yes the plugin supports one or the other and not both. Google recommends using the GA4 and is expected to sunset the UA in mid 2023 and hence the recommendation is to move/upgrade to us GA only. Which is why the plugin supports just one and not both to be running in parallel.
Hope that answers your questions.
Hi @simplysaru
Thank you for the follow-up.
Please clarify, is this only a restriction of the plugin’s, or does Google not recommend running both alongside to each other?
I am aware of the recommendation to move to GA4 as early as possible, but we are not ready to make that move yet fully. Hence why we were trying to have UA to track everything the old way, and little by little make the transition to the latest version.
Hi @skredlemon,
Please clarify, is this only a restriction of the plugin’s, or does Google not recommend running both alongside to each other?
This is a restriction from the plugin. Google is fine to run them simultaneously as part of their effort to help migrate to GA4. Please note that Google recommends using them both to get a familiarity with the new tool. Hope you are ware that both these tools will report the data differently, and they may not match each other.
Yes, we are ware that they differ in reports; that is why we are not fully ready to leave UA as a thing of the past yet.
Thank you for clarifying. We will proceed with introducing GA4 to our shop, shome-how, next.
I wish you all the best.
- The topic ‘No order-total value included in the order-received page payload’ is closed to new replies.