view_item_list fired multiple times
-
We are using Sober as a theme for our Woocommerce Store. We also use Google Analytics to track users behavior including the ecommerce tracking. On our page https://emilelise.com/produkt-kategorie/our-scents/ the Google Analytics ecommerce Event ‘view_item_list’ is fired multiple times (one time per product on the page), but we would expect it to fire only once. This distorts our reports in Google Analytics. Is there something, that we can do about this? Or is this a bug, that you could fix? Thanks!
The page I need help with: [log in to see the link]
-
Hi,
Before investigating further, please share a copy of your site’s System Status Report: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.
Also, please share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
Hi,
Before investigating further, please share a copy of your site’s System Status Report: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.
And please share a copy of any fatal error log found under WooCommerce > System Status > Logs (if any).
Hey @ihereira, thank you. Here you find the Status:
` ### WordPress Environment ### WordPress address (URL): https://emilelise.com Site address (URL): https://emilelise.com WC Version: 7.3.0 REST API Version: ✔ 7.3.0 WC Blocks Version: ✔ 9.1.5 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: de_DE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.27-he.0 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.40-43-log Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 7.2.0 WC Database Prefix: wp_ Datenbank-Gesamtgröße: 20.47MB Datenbank-Datengröße: 16.60MB Datenbank-Indexgröße: 3.87MB wp_woocommerce_sessions: Daten: 0.41MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_api_keys: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_itemmeta: Daten: 0.08MB + Index: 0.05MB + Engine MyISAM wp_woocommerce_tax_rates: Daten: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Daten: 0.30MB + Index: 0.13MB + Engine MyISAM wp_actionscheduler_claims: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Daten: 0.24MB + Index: 0.14MB + Engine MyISAM wp_commentmeta: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Daten: 0.03MB + Index: 0.02MB + Engine MyISAM wp_jtl_connector_category_level: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_category: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_crossselling: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_crossselling_group: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_currency: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_customer: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_jtl_connector_link_customer_group: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_jtl_connector_link_image: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_jtl_connector_link_language: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_manufacturer: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_measurement_unit: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_order: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_payment: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_product: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_shipping_class: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_shipping_method: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_specific: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_specific_value: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_link_tax_class: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jtl_connector_product_checksum: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mollie_pending_payment: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Daten: 3.29MB + Index: 0.16MB + Engine MyISAM wp_postmeta: Daten: 1.75MB + Index: 0.20MB + Engine MyISAM wp_posts: Daten: 3.08MB + Index: 0.11MB + Engine MyISAM wp_rcb_asset_seo_redirect: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_blocker_thumbnails: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_consent: Daten: 4.50MB + Index: 1.71MB + Engine MyISAM wp_rcb_presets: Daten: 0.11MB + Index: 0.02MB + Engine MyISAM wp_rcb_revision: Daten: 0.20MB + Index: 0.00MB + Engine MyISAM wp_rcb_revision_independent: Daten: 0.09MB + Index: 0.00MB + Engine MyISAM wp_rcb_scan: Daten: 0.15MB + Index: 0.09MB + Engine MyISAM wp_rcb_scan_markup: Daten: 0.63MB + Index: 0.02MB + Engine MyISAM wp_rcb_stats: Daten: 0.10MB + Index: 0.09MB + Engine MyISAM wp_rcb_tcf_features: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_tcf_purposes: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_tcf_special_features: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_tcf_special_purposes: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_tcf_stacks: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rcb_tcf_vendors: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_real_queue: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_css: Daten: 0.09MB + Index: 0.01MB + Engine MyISAM wp_revslider_css_bkp: Daten: 0.01MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_layer_animations_bkp: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_navigations_bkp: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders: Daten: 0.14MB + Index: 0.00MB + Engine MyISAM wp_revslider_sliders_bkp: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides: Daten: 0.15MB + Index: 0.00MB + Engine MyISAM wp_revslider_slides_bkp: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_static_slides_bkp: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_soo_wishlists: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_soo_wishlists_items: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_taxonomy: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Daten: 0.68MB + Index: 0.42MB + Engine MyISAM wp_users: Daten: 0.09MB + Index: 0.07MB + Engine MyISAM wp_wc_admin_notes: Daten: 0.03MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_stats: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_tax_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_attributes_lookup: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_download_directories: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_product_meta_lookup: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_rate_limits: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_reserved_stock: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_dhl_im_products: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_dhl_im_product_services: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_packaging: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_packagingmeta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_shipmentmeta: Daten: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_gzd_shipments: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_shipment_itemmeta: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_gzd_shipment_items: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_gzd_shipment_labelmeta: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_shipment_labels: Daten: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_gzd_shipping_provider: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_gzd_shipping_providermeta: Daten: 0.00MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### attachment: 244 custom_css: 2 customize_changeset: 1 mc4wp-form: 1 nav_menu_item: 16 page: 30 portfolio: 11 post: 1 product: 6 rcb-blocker: 6 rcb-cookie: 8 revision: 454 shop_coupon: 3 shop_order: 28 shop_order_refund: 3 wp_global_styles: 3 wpcf7_contact_form: 3 wpsl_stores: 92 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (26) ### Contact Form 7: von Takayuki Miyoshi – 5.7.3 Easy WP SMTP: von Easy WP SMTP Team – 1.5.3 Email Customizer for WooCommerce: von ThemeHigh – 2.5.5 Facebook for WooCommerce: von Facebook – 3.0.10 Hotjar: von Hotjar – 1.0.14 WPBakery Page Builder: von Michael M - WPBakery.com – 6.9.0 Kirki Customizer Framework: von David Vongries – 4.0.24 Maintenance Mode: von Lukas Juhas – 2.4.4 Loco Translate: von Tim Whitlock – 2.6.3 Wartungsmodus für WooCommerce: von netfett – 1.0.15 Meta Box: von MetaBox.io – 5.6.16 Mollie Payments for WooCommerce: von Mollie – 7.3.5 Real Cookie Banner: von devowl.io – 3.4.13 reCAPTCHA for WooCommerce: von Elliot Sowersby RelyWP – 1.2.9 Slider Revolution: von ThemePunch – 6.5.25 Sober Addons: von UIX Themes – 1.6.5 Soo Demo Importer: von UIX Themes – 1.2.1 Soo Wishlist: von UIX Themes – 1.2.6 UpdraftPlus – Sichern/Wiederherstellen: von UpdraftPlus.Com DavidAnderson – 1.22.24 WCBoost - Variation Swatches: von WCBoost – 1.0.12 WooCommerce JTL-Connector: von JTL-Software GmbH – 1.39.4 Germanized für WooCommerce: von vendidero – 3.11.3 WooCommerce Google Analytics Integration: von WooCommerce – 1.6.0 WooCommerce: von Automattic – 7.3.0 WP Store Locator: von Tijmen Smit – 2.2.235 Sequential Order Numbers for WooCommerce: von WebToffee – 1.4.8 ### Inactive Plugins (4) ### Google Listings and Ads: von WooCommerce – 2.3.8 WooCommerce Payments: von Automattic – 5.4.0 WooCommerce Shipping & Tax: von WooCommerce – 2.2.2 WOOCS - WooCommerce Currency Switcher: von realmag777 – 1.3.9.4 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### 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: ✔ Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop-Basis: #9 - /shop/ Warenkorb: #10 - /warenkorb/ Kasse: #11 - /kasse/ Mein Konto: #12 - /mein-konto/ Allgemeine Geschäftsbedingungen: #15 - /agb/ ### Theme ### Name: Sober Version: 3.4.3 Author URL: https://uix.store Child Theme: ❌ – Wenn du WooCommerce mit einem Theme das du nicht selbst entwickelt hast an eigene Bedürfnisse anpasst dann empfehlen wir die Verwendung eines Child-Themes. Siehe Wie du ein Child-Theme erstellst (engl.) WooCommerce Support: ✔ ### Templates ### Overrides: sober/woocommerce/cart/cart-shipping.php Version 3.6.0 ist veraltet. Die Hauptversion ist 7.3.0 sober/woocommerce/cart/cart.php sober/woocommerce/cart/mini-cart.php sober/woocommerce/checkout/form-checkout.php sober/woocommerce/checkout/form-coupon.php sober/woocommerce/checkout/form-login.php sober/woocommerce/checkout/review-order.php sober/woocommerce/global/form-login.php sober/woocommerce/global/quantity-input.php Version 4.0.0 ist veraltet. Die Hauptversion ist 7.2.0 sober/woocommerce/global/wrapper-end.php sober/woocommerce/global/wrapper-start.php sober/woocommerce/loop/price.php sober/woocommerce/loop/result-count.php sober/woocommerce/myaccount/dashboard.php sober/woocommerce/myaccount/form-edit-account.php sober/woocommerce/myaccount/form-login.php sober/woocommerce/myaccount/my-address.php sober/woocommerce/notices/error.php sober/woocommerce/notices/success.php sober/woocommerce/order/form-tracking.php sober/woocommerce/single-product/add-to-cart/external.php sober/woocommerce/single-product/add-to-cart/grouped.php sober/woocommerce/single-product/add-to-cart/simple.php sober/woocommerce/single-product/add-to-cart/variable.php sober/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php sober/woocommerce/single-product/product-image.php sober/woocommerce/single-product/product-thumbnails.php sober/woocommerce/single-product/related.php sober/woocommerce/single-product/review-meta.php sober/woocommerce/single-product/tabs/additional-information.php sober/woocommerce/single-product/tabs/tabs.php sober/woocommerce/single-product/up-sells.php sober/woocommerce/single-product-reviews.php Outdated Templates: ❌ Erfahre wie du aktualisieren kannst ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-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 woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ✔ Next scheduled: 2023-02-08 17:25:00 +01:00 Options: ✔ Notes: 86 Onboarding: completed ### Action Scheduler ### Abgeschlossen: 1.004 Oldest: 2023-01-08 09:55:51 +0100 Newest: 2023-02-08 09:33:41 +0100 Ausstehend: 5 Oldest: 2023-02-08 10:21:43 +0100 Newest: 2023-02-09 07:58:16 +0100 ### Status report information ### Generated at: 2023-02-08 09:34:00 +01:00 `
and here is one fatal error but it was only one and seems not to affect the page at the moment:
2023-01-26T09:37:14+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 8192 bytes) in /is/htdocs/wp12317328_0MXCGC640N/www/emilelise/wp-includes/media.php in Zeile 3771
Hi @vmtm ,
WC Version: 7.3.0 WC Database Version: 7.2.0
As per the Status report, I am able to see that you have an outdated WooCommerce Database, that does not match the WooCommerce core version.
Please update your WooCommerce Database to match the core version in order to obtain optimal functionality. This can be done via WooCommerce → Status → Tools → Update database. Here is more detailed documentation on this.
Please let us know how this goes!
Hello Roxy,
i just updated the database as well. But the behavior is still the same. You can check it yourself if you use the Tag-Assitant Debugview: https://tagassistant.google.com/
When you then start the debug and click on “our scents” you can see that the “view_item_list is fired 6 times, which is relates to the products shown on that page. But it should just be one view_item_list.
With kind regards
Hi,
May I ask if you switch the site’s theme temporarily to Storefront and disable all plugins except WooCommerce and WooCommerce Google Analytics Integration, does the issue persist?
If not, it means you can reactivate the original theme and the plugins gradually one at a time, until you find the cause behind the problem.
Hi @vmtm ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Cheers!
Hello @ihereira and @roxannestoltz ,
thank you for your patience. I just tested it now with a standard “Storefront” Theme from Woocommerce in Version 4.2.0. It is the same behavior. When i load the page and run the debug it shows the “view_item_list” fired 7 times at the moment, because we have 7 products. So the theme is not the problem. It is the same problem with Storefront.
What should i do now? Can we get that fixed?
Thanks and Greetings
Hello again,
i tried also to disable the plugins in my installation. So i tried it with those disabled plugins:
- Contact Form 7
- Facebook for Woocommerce
- Hotjar
- Loco Translate
- Maintenance Mode
- Meta Box
- Real Cookie Banner
- reCAPTCHA for Woocommerce
- Sober Addons
- Soo Whislist
it still generates the 7 view_item_list views. So now i dont know where that is coming from.
Greetings and thanks for your help
Hi @vmtm
I understand that the issue still persists even after switching to the default Storefront theme and the 7 plugins above disabled.
Can you please try again to switch to the default Storefront theme and only WooCommerce and Google Analytics plugins are enabled and see if this works?
Hello @xue28,
i tried it now with the standard design and all plugins deactivated. It is still the same that the view_item_list is fired multiple times on that page. I also made screenshots of that. Please find them here:
View post on imgur.com
View post on imgur.com
What can we do?
Kind regards
Just in Addition. It also fires multiple times, when the window is smaller. I just made the screenshot for that so you can see it better.
Hi there,
The
view_list_item
event is designed to register when an item is viewed in a list. You site fires this event for each item in the list of products on the page.This can be seen here: https://d.pr/i/8a1Z0R
- This reply was modified 1 year, 7 months ago by nicw.a11n.
- The topic ‘view_item_list fired multiple times’ is closed to new replies.