E-commerce tracking doesn’t work
-
Hi,
Could you please help to resolve the issue with the e-commerce tracking. It doesn’t work, unfortunately.
Kind regards,
DaryaThe page I need help with: [log in to see the link]
-
Hello @darya2017,
I checked the page you linked using the Tag Assistant recommended on the plugin docs page.
I saw that multiple global site tags have been added to your site. This is most certainly the cause of the issue since it’s recommended that you don’t use multiple tracking codes on the site.
Image here: https://d.pr/i/aLtwdk
Can you check if you have multiple plugins that add the Google tracking tag?
-
This reply was modified 3 years, 6 months ago by
luanluta.
Hello,
I have the same problem as @darya2017. There are no e-commerce data on my google analytics dashboard. This is the page: https://www.wohlsein-weine.de/
I hope you can help to solve this issue.
Kind regardsHi @wohlsein14 – could you please kindly open a new thread so that we can look into your issue separately? Thank you!
Dear Luan,
I removed multiple global site tags as you advised. Unfortunately, the e-commerce tracking still not working.
Could you please help to make it work.
Kind regards,
DaryaDear Luan,
Please also see the site’s status.
### WordPress Environment ### WordPress address (URL): https://www.marentcrafts.com Site address (URL): https://www.marentcrafts.com WC Version: 5.8.0 REST API Version: ✔ 5.8.0 WC Blocks Version: ✔ 5.9.1 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.7.2 Log Directory Writable: ✔ WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.25 PHP Post Max Size: 512 MB PHP Time Limit: 600 PHP Max Input Vars: 8000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.3.31-MariaDB-log-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.8.0 WC Database Prefix: wp_ Total Database Size: 87.25MB Database Data Size: 65.92MB Database Index Size: 21.33MB wp_woocommerce_sessions: Data: 5.02MB + Index: 1.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.13MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.80MB + 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: 4.52MB + Index: 1.84MB + 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: 2.52MB + Index: 2.02MB + Engine InnoDB wp_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_aws_cache: Data: 5.20MB + Index: 0.00MB + Engine MyISAM wp_aws_index: Data: 0.98MB + Index: 1.29MB + Engine MyISAM wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.34MB + Index: 0.31MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 5.42MB + Index: 0.33MB + Engine InnoDB wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 11.52MB + Index: 7.00MB + Engine InnoDB wp_posts: Data: 3.50MB + Index: 0.84MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.30MB + Index: 0.19MB + Engine InnoDB wp_term_taxonomy: Data: 0.08MB + Index: 0.09MB + Engine InnoDB wp_usermeta: Data: 1.48MB + Index: 0.53MB + Engine InnoDB wp_users: Data: 0.11MB + Index: 0.08MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + 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.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_gpf_render_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.41MB + Index: 0.66MB + 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_wfblockediplog: Data: 0.08MB + Index: 0.06MB + Engine MyISAM wp_wfblocks7: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wp_wfconfig: Data: 2.23MB + Index: 0.01MB + Engine MyISAM wp_wfcrawlers: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilemods: Data: 2.24MB + Index: 0.46MB + Engine MyISAM wp_wfhits: Data: 0.72MB + Index: 0.16MB + Engine MyISAM wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfknownfilelist: Data: 1.19MB + Index: 0.14MB + Engine MyISAM wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wflogins: Data: 0.39MB + Index: 0.08MB + Engine MyISAM wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfstatus: Data: 0.14MB + Index: 0.06MB + Engine MyISAM wp_wftrafficrates: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_gpf_google_taxonomy: Data: 0.86MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_network_wallets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 10.52MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 2.48MB + Index: 1.05MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.19MB + Index: 0.23MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.16MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 15 acf-field-group: 2 attachment: 1701 custom_css: 2 customize_changeset: 6 gs-logo-slider: 3 jetpack_migration: 2 logoshowcase: 12 mc4wp-form: 1 ml-slide: 6 ml-slider: 3 nav_menu_item: 144 oembed_cache: 66 page: 35 post: 11 product: 524 product_variation: 1568 revision: 125 sa_slider: 3 shop_coupon: 7 shop_order: 417 shop_order_refund: 13 sumo_wcpo_cron_jobs: 5 sumo_wcpo_masterlog: 27 wccf_product_field: 2 wpcf7_contact_form: 4 wpmm_theme: 3 wppopups: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (18) ### Advanced Woo Search: by ILLID – 2.38 Contact Form 7: by Takayuki Miyoshi – 5.5.2 Attach Invoice to Woo Email on Complete Order: by Darya Mazanenka – 1.0.0 Max Mega Menu: by megamenu.com – 2.9.5 MetaSlider: by MetaSlider – 3.23.0 Product Variations Swatches for WooCommerce: by VillaTheme – 1.0.1.16 Lazy Load - Optimize Images: by WP Rocket – 2.3.4 W3 Total Cache: by BoldGrid – 2.1.9 WebP Converter for Media: by Mateusz Gbiorczyk – 3.2.3 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.16 WPC Frequently Bought Together for WooCommerce: by WPClever – 3.9.3 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.3 WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.1.2 Takepayments CS Gateway: by Takepayments – 1.4.1 WooCommerce: by Automattic – 5.8.0 Wordfence Security: by Wordfence – 7.5.6 Yoast SEO: by Team Yoast – 17.5 WP Logo Showcase Responsive Slider and Carousel: by WP OnlineSupport Essential Plugin – 3.0.3 ### Inactive Plugins (1) ### Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.1.5 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left 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: – ### WC Pages ### Shop base: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Marent Theme Version: 1.1.67 (update to version 0 is available) Author URL: https://daryamazanenko.com/ Child Theme: ✔ Parent Theme Name: Storefront Parent Theme Version: 3.9.1 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ✔ ### Templates ### Overrides: – ### WooCommerce Google Product Feed feeds ### 8328b1c6eb48c02b: Crafts Product Feed Type: google Category filter: except Categories: 994 ### WooCommerce Google Product Feed options ### Include variations in feed: Enabled Send "item group ID": Enabled Expanded schema markup: - Debug key: cb39d2cc-9147-4dcd-97dd-b4a4300cb3b1 ### WooCommerce Google Product Feed fields ### Title: Pre-populates from product product_title. Product description: Main product description (full preferred) plus variation description Availability (in stock products): Defaults to "in stock". Availability (backordered products): Defaults to "backorder". Availability (out of stock products): Defaults to "out of stock". Brand: Pre-populates from brands taxonomy. Manufacturer Part Number (MPN): Pre-populates from _mpn_key meta field. Product Type: Pre-populates from product_cat taxonomy. Google Product Category: Size system: ### Action Scheduler ### Complete: 8,590 Oldest: 2021-10-05 10:12:18 +0000 Newest: 2021-11-05 09:43:41 +0000 Failed: 2 Oldest: – Newest: – Pending: 3 Oldest: 2021-11-05 09:58:41 +0000 Newest: 2021-11-05 09:58:41 +0000 ### Status report information ### Generated at: 2021-11-05 09:57:58 +00:00
Kind regards,
DaryaHi Darya,
According to the Tag Manager it looks good to me now. https://d.pr/i/Ntwpbi
Thank you for the system status report as well. Caching can sometimes derail the tracking all together. Let’s try and deactivate:
Lazy Load – Optimize Images: by WP Rocket – 2.3.4
W3 Total Cache: by BoldGrid – 2.1.9**Before you do that, please do make a full backup!** – one can never have too many.
Does that change anything?
Kind regards,
Hi,
Unfortunately, it didn’t help, and I turned the plugins on again.
What else can be checked to make the tracking work?
Kind regards,
DaryaHi there,
To be clear, analytics tracking is disabled for admin users just in case that’s how you’re testing this, you’d want to test as either a guest user or a logged in customer.
I’ve done some testing on a site of mine and WooCommerce Google Analytics Integration works there as expected. I’ve also searched our issue tracker for other reports of this type of behavior: https://github.com/woocommerce/woocommerce-google-analytics-integration/issues and I wasn not able to find any. This leads me to believe that the problem you are experiencing is caused by something external to WooCommerce and WooCommerce Google Analytics Integration. My suggestion would be to test for software conflicts to try and isolate the cause of this. There’s some documentation about that here: https://woocommerce.com/document/how-to-test-for-conflicts
It is also possible to load a debug version of the JavaScript that google provides which will output debug information in the browser console. If you feel that may help you isolate the cause of this issue, you can find a copy of a plugin that will load that debug script here: https://github.com/WillBrubaker/hiro-ga-debug/blob/main/hiro-ga-debug.php
-
This reply was modified 3 years, 6 months ago by
- The topic ‘E-commerce tracking doesn’t work’ is closed to new replies.