• Resolved kaufmjos000

    (@kaufmjos000)


    Hello!

    Essentially, I’m trying to implement the filter using a code snippet plugin, but it’s not working:

    add_filter( 'wc_google_analytics_send_pageview', '__return_false' );

    Two page_view events are firing on only the Woocommerce pages. The other non-Woocommerce web pages are tracked correctly.

    • Is the above filter the best way to prevent the Woocommerce Google Analytics Integration plugin from firing pageviews? If so, where and how should I insert it into my site?
    • Is there a different/easier/better way of doing this?

    For context, I’m currently using the Google Site Kit plugin to insert the gtag onto the website. The GA4 snippet isn’t inserted. Instead, the GTM snippet is inserted with a GA4 config tag in the GTM container.

    Thank you in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @kaufmjos000

    The filter add_filter( 'wc_google_analytics_send_pageview', '__return_false' ); is intended to prevent the WooCommerce Google Analytics Integration plugin from sending a page_view event.

    You are implementing it correctly by adding it as a code snippet. 

    However, it’s important to note that if two?page_view?events are firing on the WooCommerce pages, it could be due to another reason rather than the WooCommerce Google Analytics Integration plugin. The Google Site Kit plugin could also be sending a?page_view?event, thereby causing a duplicate.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Download for support” (after you scroll down a bit)”. Once done, please upload it to this chat.

    Thread Starter kaufmjos000

    (@kaufmjos000)

    Hi @amiralifarooq thank you for helping.

    It could be Site Kit, but when I deactivated the Woocommerce Google Analytics Integration plugin, the duplicate page_views disappeared. Also, it seems strange why these duplicate page_view events only fire on product and checkout pages.

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://americantracksupply.com
    Site address (URL): https://americantracksupply.com
    WC Version: 7.7.2
    REST API Version: ? 7.7.2
    WC Blocks Version: ? 10.0.6
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.33.2
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.42-46-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.7.2
    WC Database Prefix: wp_mioc_
    Total Database Size: 119.84MB
    Database Data Size: 86.42MB
    Database Index Size: 33.42MB
    wp_mioc_woocommerce_sessions: Data: 19.05MB + Index: 1.11MB + Engine InnoDB
    wp_mioc_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_woocommerce_order_items: Data: 0.23MB + Index: 0.09MB + Engine InnoDB
    wp_mioc_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_mioc_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_abandoned_cart_aelia_currency: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB
    wp_mioc_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_ac_abandoned_cart_history: Data: 0.34MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_atc_rules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_connector_sync: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_guest_abandoned_cart_history: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_link_clicked_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_ac_notifications_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_ac_notification_templates: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_ac_opened_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_ac_sent_history: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_statistics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_ac_tiny_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_comments: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
    wp_mioc_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_feedmanager_feed_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_feedmanager_source: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_followup_customers: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_followup_customer_carts: Data: 0.25MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_customer_orders: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_followup_email_logs: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_followup_email_orders: Data: 0.25MB + Index: 0.09MB + Engine InnoDB
    wp_mioc_followup_email_tracking: Data: 0.06MB + Index: 0.08MB + Engine InnoDB
    wp_mioc_followup_followup_history: Data: 0.38MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_followup_order_categories: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_order_items: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_gf_entry: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    wp_mioc_gf_entry_meta: Data: 1.52MB + Index: 3.44MB + Engine InnoDB
    wp_mioc_gf_entry_notes: Data: 0.23MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_gf_form_meta: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_gf_form_view: Data: 0.33MB + Index: 0.30MB + Engine InnoDB
    wp_mioc_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_mailchimp_carts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_options: Data: 7.27MB + Index: 0.20MB + Engine InnoDB
    wp_mioc_popover_ip_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_postmeta: Data: 15.55MB + Index: 17.06MB + Engine InnoDB
    wp_mioc_posts: Data: 4.52MB + Index: 0.50MB + Engine InnoDB
    wp_mioc_rg_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_rg_form_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_rg_form_view: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_rg_lead: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_rg_lead_detail: Data: 0.16MB + Index: 0.33MB + Engine InnoDB
    wp_mioc_rg_lead_detail_long: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_rg_lead_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_rg_lead_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_usermeta: Data: 1.52MB + Index: 2.00MB + Engine InnoDB
    wp_mioc_users: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wc_customer_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_wc_order_product_lookup: Data: 0.16MB + Index: 0.19MB + Engine InnoDB
    wp_mioc_wc_order_stats: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
    wp_mioc_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_mioc_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wfblockediplog: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_wfconfig: Data: 3.44MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wffilemods: Data: 11.52MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfhits: Data: 2.02MB + Index: 0.20MB + Engine InnoDB
    wp_mioc_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_wfknownfilelist: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wflogins: Data: 0.34MB + Index: 0.13MB + Engine InnoDB
    wp_mioc_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_wfls_role_counts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_mioc_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_wfstatus: Data: 0.19MB + Index: 0.13MB + Engine InnoDB
    wp_mioc_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfwafconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wt_iew_action_history: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mioc_yoast_indexable: Data: 0.44MB + Index: 0.30MB + Engine InnoDB
    wp_mioc_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_mioc_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mioc_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mioc_yoast_seo_links: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    wp_mioc_yoast_seo_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_posts: Data: 0.02MB + Index: 0.06MB + 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.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 39
    acf-field-group: 6
    attachment: 503
    avada_faq: 11
    custom_css: 1
    follow_up_email: 1
    fusion_element: 25
    fusion_tb_layout: 1
    fusion_tb_section: 1
    fusion_template: 8
    global_product_addon: 3
    inc_popup: 1
    ml-slide: 16
    ml-slider: 4
    nav_menu_item: 67
    page: 60
    post: 3
    product: 57
    revision: 7
    shop_coupon: 9
    shop_order: 1393
    slide: 48
    stored-carts: 17
    text-blocks: 1
    wpcode: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (39) ###
    
    Gravity Perks: by Gravity Wiz – 2.3
    Gravity Forms: by Gravity Forms – 2.7.9
    Advanced Custom Fields PRO: by WP Engine – 6.1.6
    Advanced Product Fields Extended for WooCommerce: by StudioWombat – 1.9.10
    Ajax Cart AutoUpdate for WooCommerce: by taisho – 1.5.5
    Better Search Replace: by WP Engine – 1.4.2
    Classic Editor: by WordPress Contributors – 1.6.3
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Avada Builder: by ThemeFusion – 3.3.1
    Avada Core: by ThemeFusion – 5.3.1
    Site Kit by Google: by Google – 1.102.0
    GP Nested Forms: by Gravity Wiz – 1.1.27
    Gravity Forms Google Analytics Add-On: by Gravity Forms – 2.0.0
    Gravity Forms Mailchimp Add-On: by Gravity Forms – 5.2.0
    WPCode Lite: by WPCode – 2.0.12
    MetaSlider - Pro Add-on Pack: by MetaSlider – 2.18.5
    MetaSlider: by MetaSlider – 3.31.0
    Post Types Order: by Nsp Code – 2.0.9
    Restore Classic Widgets: by Bill Minozzi – 2.2
    Text Blocks: by Hal Gatewood – 1.5.3
    Safe SVG: by 10up – 2.1.1
    Simple 301 Redirects: by WPDeveloper – 2.0.7
    String Locator: by InstaWP – 2.6.1
    Advanced Product Fields add-on: ACF integration: by StudioWombat – 1.0.0
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.0
    Product Feed PRO for WooCommerce: by AdTribes.io – 12.6.7
    Abandoned Cart Pro for WooCommerce: by Tyche Softwares – 9.0.0
    WooCommerce Colors: by WooThemes – 1.0.7
    WooCommerce Save & Share Cart: by cxThemes – 2.19
    WooCommerce Stripe Gateway: by WooCommerce – 7.4.1
    WooCommerce Google Analytics Integration: by WooCommerce – 1.8.1
    WooCommerce Measurement Price Calculator: by SkyVerge – 3.20.1
    WooCommerce Product Add-ons: by WooCommerce – 6.2.0
    WooCommerce - ShipStation Integration: by WooCommerce – 4.3.7
    WooCommerce: by Automattic – 7.7.2 (update to version 7.8.1 is available)
    Wordfence Security: by Wordfence – 7.9.3
    WordPress Importer: by wordpressdotorg – 0.8.1
    Yoast SEO: by Team Yoast – 20.8
    YITH WooCommerce Added to Cart Popup Premium: by YITH – 2.4.0
    
    ### Inactive Plugins (7) ###
    
    Import Export WordPress Users and WooCommerce Customers: by WebToffee – 2.4.0
    One Click Accessibility: by One Click Accessibility – 2.1.0
    Order Export & Order Import for WooCommerce: by WebToffee – 2.3.5
    Product Import Export for WooCommerce: by WebToffee – 2.3.0
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    ShareThis Dashboard for Google Analytics: by ShareThis – 3.1.7
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.39
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    install.php: install.php
    
    ### Must Use Plugins (7) ###
    
    Endurance Browser Cache: by Mike Hansen – 0.4
    Endurance Page Cache: by Mike Hansen – 2.2
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WP Engine Cache Plugin: by WP Engine – 1.1.3
    WP Engine Seamless Login Plugin: by WP Engine – 1.6.1
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    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)
    featured (featured-2)
    outofstock (outofstock-2)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-3 (rated-3-2)
    rated-4 (rated-4)
    rated-4 (rated-4-2)
    rated-5 (rated-5)
    rated-5 (rated-5-2)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Shop base: #57 - /shop/
    Cart: #58 - /cart/
    Checkout: #59 - /checkout/
    My account: #60 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: American Track Supply Child
    Version: 1.0.1
    Author URL: https://artboxcs.com
    Child Theme: ?
    Parent Theme Name: Avada
    Parent Theme Version: 7.3.1
    Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: ats-child/woocommerce/cart/cart-item-data.php
    ats-child/woocommerce/cart/cart-shipping.php version 3.6.0 is out of date. The core version is 7.3.0
    ats-child/woocommerce/cart/cart.php version 4.4.0 is out of date. The core version is 7.4.0
    ats-child/woocommerce/checkout/cart-errors.php
    ats-child/woocommerce/checkout/form-billing.php
    ats-child/woocommerce/checkout/form-checkout.php
    ats-child/woocommerce/checkout/form-coupon.php
    ats-child/woocommerce/checkout/form-login.php
    ats-child/woocommerce/checkout/form-pay.php version 5.2.0 is out of date. The core version is 7.0.1
    ats-child/woocommerce/checkout/form-shipping.php
    ats-child/woocommerce/checkout/order-receipt.php
    ats-child/woocommerce/checkout/payment-method.php
    ats-child/woocommerce/checkout/payment.php
    ats-child/woocommerce/checkout/review-order.php
    ats-child/woocommerce/checkout/terms.php
    ats-child/woocommerce/checkout/thankyou.php
    ats-child/woocommerce/content-product.php
    ats-child/woocommerce/content-single-product.php
    ats-child/woocommerce/loop/loop-start.php
    ats-child/woocommerce/loop/pagination.php
    ats-child/woocommerce/single-product/add-to-cart/external.php version 3.4.0 is out of date. The core version is 7.0.1
    ats-child/woocommerce/single-product/add-to-cart/grouped.php version 4.0.0 is out of date. The core version is 7.0.1
    ats-child/woocommerce/single-product/add-to-cart/simple.php version 3.4.0 is out of date. The core version is 7.0.1
    ats-child/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0
    ats-child/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php version 3.4.0 is out of date. The core version is 7.0.1
    ats-child/woocommerce/single-product/add-to-cart/variation.php
    ats-child/woocommerce/single-product/meta.php
    ats-child/woocommerce/single-product/photoswipe.php
    ats-child/woocommerce/single-product/price.php
    ats-child/woocommerce/single-product/product-attributes.php
    ats-child/woocommerce/single-product/product-image.php
    ats-child/woocommerce/single-product/product-thumbnails.php
    ats-child/woocommerce/single-product/rating.php
    ats-child/woocommerce/single-product/related.php
    ats-child/woocommerce/single-product/review-meta.php
    ats-child/woocommerce/single-product/review-rating.php
    ats-child/woocommerce/single-product/review.php
    ats-child/woocommerce/single-product/sale-flash.php
    ats-child/woocommerce/single-product/share.php
    ats-child/woocommerce/single-product/short-description.php
    ats-child/woocommerce/single-product/stock.php
    ats-child/woocommerce/single-product/tabs/additional-information.php
    ats-child/woocommerce/single-product/tabs/description.php
    ats-child/woocommerce/single-product/tabs/tabs.php
    ats-child/woocommerce/single-product/title.php
    ats-child/woocommerce/single-product/up-sells.php
    ats-child/woocommerce/single-product.php
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    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
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: product-block-editor
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ? Next scheduled: 2023-07-03 20:34:25 +00:00
    Options: ?
    Notes: 167
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 94
    Oldest: 2023-06-03 22:56:18 +0000
    Newest: 2023-07-03 15:36:42 +0000
    
    Failed: 1
    Oldest: 2023-06-07 21:04:31 +0000
    Newest: 2023-06-07 21:04:31 +0000
    
    Pending: 2
    Oldest: 2023-07-03 23:40:12 +0000
    Newest: 2023-07-06 16:59:15 +0000
    
    
    ### Status report information ###
    
    Generated at: 2023-07-03 16:20:19 +00:00
    `
    Saif

    (@babylon1999)

    Hello @kaufmjos000,

    Thank you for sharing the logs!

    According to the Tag Assistant Legacy (by Google) there are three tags injected into the site:


    Link to image: https://d.pr/i/3qONwY

    Do you know where the third tag is coming from? Is it the Product Feed PRO for WooCommerce plugin?

    Look forward to hearing back from you.

    Thread Starter kaufmjos000

    (@kaufmjos000)

    Hi @babylon1999,

    Product Feed PRO is active on the site, but I don’t think it’s inserting any tags. I can account for all three tags shown in your screenshot:

    • The Google Tag Manager tag is inserted via the Google Site Kit plugin.
    • Both the Global Site Tag and Google Analytics UA code are inserted through the Google Tag Manager container, and are not placed on the site through Site Kit or with code.

    If you navigate to a product page, Tag Assistant still shows only three tags, despite the fact that multiple page_view events fire and are sent to the G-0WX9B9BVZ6 Measurement ID. The only places that this ID is configured is in a Google Tag Manager Config tag, and through the Woocommerce Google Analytics plugin.

    Do you think the UA tag is potentially causing this issue, even though the duplicate events are firing in GA4? The data stream associated with the above Measurement ID isn’t collecting Universal Analytics events.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hello @kaufmjos000

    It’s important to note that Google Analytics 4 (GA4) and Universal Analytics (UA) are separate and distinct systems. GA4 uses a different data model and has different configurations compared to UA. If you’re using both GA4 and UA on your site, they will function independently of each other. Therefore, it’s unlikely that the UA tag is causing the issue with the GA4 events.

    However, it’s important to note that despite multiple page_view events firing, they are not being registered in the data stream associated with your Measurement ID. This could indicate an issue with setting up the GA4 configuration tag in Google Tag Manager.

    I recommend checking the configuration of your GA4 tag in Google Tag Manager. Ensure that the Measurement ID in the tag matches the one in your GA4 property and that the tag is set to trigger on all pages. If the tag is set to fire on some pages only, it might not be capturing all the page_view events.

    Lastly, I also suggest checking the setup of your Woocommerce Google Analytics plugin. Ensure the plugin is properly configured to send data to your GA4 property.

    I hope this helps! If you have any other questions, feel free to ask.

    Thanks!

    Thread Starter kaufmjos000

    (@kaufmjos000)

    @shameemreza thank you for your input. I appreciate everyone’s help so far. When you say:

    “However, it’s important to note that despite multiple page_view events firing, they are not being registered in the data stream associated with your Measurement ID.”

    What do you mean by this? Are you saying that the duplicate page_views aren’t affecting the page_view event count in the data stream with measurement ID G-0WX9B9BVZ6?

    Also, how are you seeing this information? Are you using one of Google’s Tag Assistant extensions?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hello @kaufmjos000

    I appreciate your patience and I’m here to help clarify your concerns.

    When I say that multiple page_view events are firing but not being registered in the data stream associated with your Measurement ID, I mean that although these events are occurring, they aren’t being recorded or tracked in the specific data stream linked to your Measurement ID G-0WX9B9BVZ6. This could be due to several reasons, such as a misconfiguration in the event tracking setup or issues with the integration between your website and Google Analytics.

    As for your second question, I utilize various tools to monitor and diagnose issues with event tracking. While Google’s Tag Assistant extensions are indeed helpful, I also use other methods, such as checking the source code of your website, and using debugging tools to understand how events are being triggered and processed. Here are some of the tools I have used:

    Please remember that it’s crucial to have your Google Analytics set up correctly to ensure that all page_view events are being accurately tracked and recorded in your data stream.

    Google has also a detailed guide that you might find useful: https://support.google.com/analytics/answer/7201382?hl=en

    Feel free to ask if you need further assistance with this or have any other questions. Thanks!

    Thread Starter kaufmjos000

    (@kaufmjos000)

    Hi @shameemreza , sorry for the late response.

    I used the Analytics Debugger extension you linked in your previous message to see what’s happening on a Woocommerce page. The page in question is:

    https://americantracksupply.com/product/flexible-kit-2-meter/

    The screenshot below is what I see. I interpret this as duplicate page_view events being sent to the correct GA4 data stream. Do you see something different on your end? If I understand what you said correctly, you are seeing that these events are firing, but they aren’t being recorded in GA4. Which page and tool are you using to see this, so I can recreate this issue? Thank you for your help.

    https://pasteboard.co/2IYsja6tFwvQ.png

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @kaufmjos000

    From your screenshot, it does indeed seem like duplicate page_view events are being sent to your GA4 data stream. However, it’s important to note that seeing the events fire in the debugger doesn’t necessarily mean they’re being successfully recorded in GA4.

    To see if the events are being recorded in GA4, you’ll need to check your Realtime report in Google Analytics 4. Here’s how to access it:

    1. Sign in to your Google Analytics account.
    2. Click on “Admin” at the bottom left of the page.
    3. In the “Property” column, select the property associated with your Measurement ID G-0WX9B9BVZ6.
    4. Click on “Realtime.”
    5. In the “Event count by event name” section, you should see the page_view events.

    If you’re not seeing the page_view events in the Realtime report, there might be an issue with your setup that’s preventing the events from being recorded in GA4.

    As for the tool I’m using, I’m mainly using the Google Analytics Debugger extension to see the events firing on your website. However, I also use other tools like WASP and the Analytics Debugger to diagnose issues.

    I hope this helps clarify things a bit. If you continue to face issues or need more clarity, I recommend contacting a digital marketer. They are experts in integrating and managing Google Analytics and can provide the help you need.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Duplicate Pageviews in GA4’ is closed to new replies.