• Resolved lucytech

    (@lucytech)


    Does this plugin work for GA4?

    I put in my GA4 id for the Google Analytics ID but when I check the Google debug and in the Google Tag Manager I only see data being collected for UA not for the GA4. It tells me the GA4 tag in not installed on the page.

    How do I set it up to get GA4 events and e-commerce revenue data?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @lucytech,

    Thank you for reaching out!

    Does this plugin work for GA4?

    Yes, you can check this part of the configuration guide on how to set events and funnels: https://woocommerce.com/document/google-analytics-integration/#ga4-properties-g

    I put in my GA4 id for the Google Analytics ID but when I check the Google debug and in the Google Tag Manager I only see data being collected for UA not for the GA4. It tells me the GA4 tag in not installed on the page.

    I can see three tags from my end.


    Link to image: https://d.pr/i/zTZZYT

    Do you have multiple active Analytics plugins on your site? If yes, please deactivate the others as having more than one plugin for the same functionality can cause conflicts.


    Could you also attach 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” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/.

    Look forward to hearing back from you.

    Thread Starter lucytech

    (@lucytech)

    Hi,

    I got it to work for GA4 and the event tags all seem to be working apart from the purchase event.

    After I click checkout it takes me to a blank white screen and the purchase event does not work. Why is the purchase event causing the site to go to a whitescreen? When the plugin is deactivated it goes to a ‘thank you for your order page’.

    system report:

    ` WordPress Environment

    WordPress address (URL): https://finecardstock.com
    Site address (URL): https://finecardstock.com
    WC Version: 3.6.5
    Log Directory Writable: ?
    WP Version: ? 5.2.1 – There is a newer version of WordPress available (6.3.1)
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: – Server Environment

    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 100 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.88.1
    OpenSSL/3.0.9

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.11.3-MariaDB-1
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database

    WC Database Version: 3.6.5
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ?
    Total Database Size: 730.57MB
    Database Data Size: 546.89MB
    Database Index Size: 183.68MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 2.52MB + Index: 0.42MB
    wp_woocommerce_order_itemmeta: Data: 8.52MB + Index: 7.94MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    newsmackuci_events: Data: 0.02MB + Index: 0.00MB
    newsmackuci_history: Data: 0.02MB + Index: 0.00MB
    newwp_commentmeta: Data: 0.02MB + Index: 0.03MB
    newwp_comments: Data: 2.52MB + Index: 1.47MB
    newwp_email_log: Data: 25.52MB + Index: 0.00MB
    newwp_ewwwio_images: Data: 2.52MB + Index: 2.95MB
    newwp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB
    newwp_fpd_categories: Data: 0.02MB + Index: 0.00MB
    newwp_fpd_category_products_rel: Data: 0.02MB + Index: 0.02MB
    newwp_fpd_products: Data: 0.06MB + Index: 0.00MB
    newwp_fpd_templates: Data: 0.02MB + Index: 0.00MB
    newwp_fpd_views: Data: 0.52MB + Index: 0.00MB
    newwp_grp_google_place: Data: 0.02MB + Index: 0.02MB
    newwp_grp_google_review: Data: 0.02MB + Index: 0.03MB
    newwp_links: Data: 0.02MB + Index: 0.02MB
    newwp_options: Data: 1.52MB + Index: 0.08MB
    newwp_pmxe_exports: Data: 0.02MB + Index: 0.00MB
    newwp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB
    newwp_pmxe_posts: Data: 0.02MB + Index: 0.00MB
    newwp_pmxe_templates: Data: 0.02MB + Index: 0.00MB
    newwp_postmeta: Data: 29.56MB + Index: 21.06MB
    newwp_posts: Data: 7.52MB + Index: 1.28MB
    newwp_relevanssi: Data: 13.56MB + Index: 29.13MB
    newwp_relevanssi_log: Data: 0.02MB + Index: 0.02MB
    newwp_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB
    newwp_smush_dir_images: Data: 0.02MB + Index: 0.03MB
    newwp_termmeta: Data: 0.09MB + Index: 0.03MB
    newwp_terms: Data: 0.05MB + Index: 0.03MB
    newwp_term_relationships: Data: 0.22MB + Index: 0.19MB
    newwp_term_taxonomy: Data: 0.14MB + Index: 0.03MB
    newwp_ultimate_csv_importer_log_values: Data: 0.02MB + Index: 0.00MB
    newwp_ultimate_csv_importer_manageshortcodes: Data: 0.02MB + Index: 0.00MB
    newwp_ultimate_csv_importer_shortcodes_statusrel: Data: 0.02MB + Index: 0.00MB
    newwp_usermeta: Data: 1.52MB + Index: 3.03MB
    newwp_users: Data: 0.11MB + Index: 0.08MB
    newwp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    newwp_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB
    newwp_wc_product_meta_lookup: Data: 0.11MB + Index: 0.16MB
    newwp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    newwp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    newwp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    newwp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB
    newwp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB
    newwp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    newwp_woocommerce_order_itemmeta: Data: 2.52MB + Index: 1.92MB
    newwp_woocommerce_order_items: Data: 0.31MB + Index: 0.08MB
    newwp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    newwp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    newwp_woocommerce_sessions: Data: 0.28MB + Index: 0.02MB
    newwp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    newwp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    newwp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    newwp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    newwp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    newwp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB
    newwp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB
    newwp_yoast_seo_links: Data: 0.14MB + Index: 0.08MB
    newwp_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB
    smackuci_events: Data: 0.02MB + Index: 0.00MB
    smackuci_history: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 7.52MB + Index: 9.08MB
    wp_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB
    wp_ee_product_feed: Data: 0.02MB + Index: 0.00MB
    wp_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB
    wp_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB
    wp_email_log: Data: 295.55MB + Index: 0.00MB
    wp_ewwwio_images: Data: 2.52MB + Index: 2.95MB
    wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB
    wp_eye4fraud_auth: Data: 0.11MB + Index: 0.00MB
    wp_eye4fraud_status: Data: 0.22MB + Index: 0.00MB
    wp_fpd_categories: Data: 0.02MB + Index: 0.00MB
    wp_fpd_category_products_rel: Data: 0.02MB + Index: 0.02MB
    wp_fpd_products: Data: 0.06MB + Index: 0.00MB
    wp_fpd_templates: Data: 0.02MB + Index: 0.00MB
    wp_fpd_views: Data: 0.52MB + Index: 0.00MB
    wp_grp_google_place: Data: 0.02MB + Index: 0.02MB
    wp_grp_google_review: Data: 0.02MB + Index: 0.03MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 2.11MB + Index: 0.09MB
    wp_pmxe_exports: Data: 0.02MB + Index: 0.00MB
    wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB
    wp_pmxe_posts: Data: 0.02MB + Index: 0.00MB
    wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB
    wp_postmeta: Data: 72.38MB + Index: 46.73MB
    wp_posts: Data: 14.44MB + Index: 3.86MB
    wp_relevanssi: Data: 31.11MB + Index: 40.81MB
    wp_relevanssi_log: Data: 0.02MB + Index: 0.00MB
    wp_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB
    wp_termmeta: Data: 0.09MB + Index: 0.03MB
    wp_terms: Data: 0.05MB + Index: 0.03MB
    wp_term_relationships: Data: 0.25MB + Index: 0.14MB
    wp_term_taxonomy: Data: 0.16MB + Index: 0.03MB
    wp_ultimate_csv_importer_log_values: Data: 0.02MB + Index: 0.00MB
    wp_ultimate_csv_importer_manageshortcodes: Data: 0.02MB + Index: 0.00MB
    wp_ultimate_csv_importer_shortcodes_statusrel: Data: 0.02MB + Index: 0.00MB
    wp_usermeta: Data: 11.47MB + Index: 8.00MB
    wp_users: Data: 1.50MB + Index: 0.45MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB
    wp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.31MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB
    wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB
    wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB
    wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.23MB + Index: 0.08MB
    wp_yoast_seo_meta: Data: 0.20MB + Index: 0.00MB Post Type Counts

    acf-field: 317
    acf-field-group: 27
    attachment: 6476
    custom_css: 1
    custom-css-js: 25
    nav_menu_item: 240
    page: 22
    post: 34
    product: 1176
    revision: 1178
    saswp: 1
    scheduled-action: 3
    seedprod: 2
    shop_coupon: 3
    shop_order: 8223
    shop_order_refund: 39
    tm_global_cp: 2
    tm_product_cp: 1
    topic: 97
    wafs: 1
    wpcf7_contact_form: 3
    wphb_minify_group: 9 Security

    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (39)

    Redux Framework: by Team Redux – 3.6.9
    Advanced Custom Fields PRO: by Elliot Condon – 5.8.7
    Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 5.5 – Not tested with the active version of WooCommerce
    All in one Favicon: by Arne Franken – 4.7
    Autoptimize: by Frank Goossens (futtta) – 2.7.1
    Classic Editor: by WordPress Contributors – 1.5
    Contact Form 7 MailChimp Extension: by Renzo Johnson – 0.4.50
    Contact Form 7: by Takayuki Miyoshi – 5.0
    Simple Custom CSS and JS: by SilkyPress.com – 3.18 – Not tested with the active version of WooCommerce
    Custom Post Type UI: by WebDevStudios – 1.7.1
    Duplicate Post: by Enrico Battocchi – 3.2.3
    GTM4WP: by Thomas Geiger – 1.18.1
    Easy WP SMTP: by wpecommerce
    alexanderfoxc – 1.3.7

    Email Log: by Sudar – 2.3.1
    Eye4Fraud for WooCommerce: by Eye4Fraud – 1.1.5 – Not tested with the active version of WooCommerce
    Facebook for WooCommerce: by Facebook – 1.9.5 – Not tested with the active version of WooCommerce
    Hummingbird: by WPMU DEV – 2.4.2
    Max Mega Menu: by Tom Hemsley – 2.3.8
    PixelYourSite: by PixelYourSite – 5.3.3 – Not tested with the active version of WooCommerce
    Real-Time Find and Replace: by Marios Alexandrou – 3.9
    Relevanssi: by Mikko Saari – 4.3.4
    Schema & Structured Data for WP & AMP: by Magazine3 – 1.9.36
    Server IP & Memory Usage Display: by Apasionados
    Apasionados del Marketing – 2.1.0

    ShortPixel Adaptive Images: by ShortPixel – 1.8.7
    Simple CSV/XLS Exporter: by Shambix – 1.4.6 – Not tested with the active version of WooCommerce
    Proxy Cache Purge: by Mika Epstein – 4.8.1
    Google Reviews Widget: by RichPlugins – 1.8.1
    Woocommerce Bulk Price Update: by TechnoCrackers – 2.2.0
    WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.3 – Not tested with the active version of WooCommerce
    WC – APG Weight Shipping: by Art Project Group – 2.2.3.2 – Not tested with the active version of WooCommerce
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.4.3 – 2.1.3 is available – Not tested with the active version of WooCommerce
    WooCommerce USA ePay Gateway: by SkyVerge – 1.8.0 – Not tested with the active version of WooCommerce
    WooCommerce Google Product Feed: by Ademti Software Ltd. – 7.6.6 – Not tested with the active version of WooCommerce
    WooCommerce Services: by Automattic – 1.18.0 – 2.3.5 is available – Not tested with the active version of WooCommerce
    WooCommerce TM Extra Product Options: by themeComplete – 4.6.9.4 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.6.5
    Yoast SEO: by Team Yoast – 11.4 – Not tested with the active version of WooCommerce
    WP Add Mime Types: by Kimiya Kitani – 2.5.4
    WP Sitemap Page: by Tony Archambeau – 1.6.2 Inactive Plugins (10)

    Advanced Custom Fields PRO: by Elliot Condon – 5.5.11
    Fancy Product Designer: by Rafael Dery | radykal.de – 3.5.5 – Not tested with the active version of WooCommerce
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.19
    LightStart – Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.8
    Smush: by WPMU DEV – 3.2.1
    Smush Pro: by WPMU DEV – 3.3.2
    W3 Total Cache: by BoldGrid – 0.14.1
    WebP Converter for Media: by Mateusz Gbiorczyk – 1.2.6
    WebP Express: by Bj?rn Rosell – 0.17.3
    WP Fastest Cache: by Emre Vona – 0.9.0.6 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)
    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: #2522 – /products/
    Cart: #5 – /cart/
    Checkout: #6 – /checkout/
    My account: #7 – /my-account/
    Terms and conditions: ? Page not set Theme

    Name: Envelopes Theme Storefront-Child
    Version: 1.0
    Author URL:
    Child Theme: ?
    Parent Theme Name: Storefront
    Parent Theme Version: 2.2.5 – 4.5.2 is available
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ? Templates

    Overrides: envelopes/archive-product.php version – is out of date. The core version is 3.4.0
    /var/www/envelopenpaper/wwwpublic/wp-content/plugins/woocommerce-tm-extra-product-options/templates/cart/cart-item-data.php
    envelopes/woocommerce/cart/cart-totals.php
    envelopes/woocommerce/cart/cart.php version 3.1.0 is out of date. The core version is 3.5.0
    envelopes/woocommerce/checkout/review-order.php version 2.3.0 is out of date. The core version is 3.3.0
    envelopes/content-single-product.php version – is out of date. The core version is 3.6.0
    envelopes/woocommerce/global/quantity-input.php version 2.5.0 is out of date. The core version is 3.6.0
    envelopes/woocommerce/loop/add-to-cart.php version 3.0.0 is out of date. The core version is 3.3.0
    envelopes/woocommerce/loop/loop-end.php
    envelopes/woocommerce/loop/loop-start.php version 2.0.0 is out of date. The core version is 3.3.0
    envelopes/woocommerce/loop/no-products-found.php
    envelopes/woocommerce/loop/orderby.php version 2.2.0 is out of date. The core version is 3.6.0
    envelopes/woocommerce/loop/pagination.php version 2.2.2 is out of date. The core version is 3.3.1
    envelopes/woocommerce/loop/price.php
    envelopes/woocommerce/loop/rating.php version 3.0.0 is out of date. The core version is 3.6.0
    envelopes/woocommerce/loop/result-count.php version 3.0.0 is out of date. The core version is 3.3.0
    envelopes/woocommerce/loop/sale-flash.php
    envelopes/woocommerce/myaccount/dashboard.php
    envelopes/woocommerce/order/order-details-item.php
    envelopes/woocommerce/order/order-details.php version 3.0.0 is out of date. The core version is 3.5.2
    envelopes/product-searchform.php version – is out of date. The core version is 3.3.0
    envelopes/woocommerce/single-product/add-to-cart/grouped.php version 3.0.7 is out of date. The core version is 3.4.0
    envelopes/woocommerce/single-product/add-to-cart/simple.php version 3.0.0 is out of date. The core version is 3.4.0
    envelopes/woocommerce/single-product/add-to-cart/variable.php version 3.0.0 is out of date. The core version is 3.5.5
    envelopes/woocommerce/taxonomy-product_cat.php

    Outdated Templates: ?

                        Learn how to update

    WooCommerce Google Product Feed fields

    Availability: Defaults to “in stock”.
    Brand: Defaults to “Fine Card Stock”.
    Manufacturer Part Number (MPN): Pre-populates from sku taxonomy.
    Product Type:
    Google Product Category:
    Colour: Pre-populates from main_color meta field.
    Size: Pre-populates from size meta field.
    Size system:
    Material: Pre-populates from material meta field. WooCommerce Google Product Feed options

    Include variations in feed: Enabled
    Send item_group_id: No Action Scheduler

    Complete: 3
    Oldest: 2023-09-05 15:02:44 +0000
    Newest: 2023-09-20 20:46:34 +0000

    Pending: 0
    Oldest: –
    Newest: –

    Canceled: 0
    Oldest: –
    Newest: –

    In-progress: 0
    Oldest: –
    Newest: –

    Failed: 0
    Oldest: –
    Newest: –

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lucytech

    I noticed from your system report that you’re running an outdated version of WordPress and WooCommerce. I also noticed that you are not using our WooCommerce Google Analytics Integration plugin, instead using MonsterInsights and GTM4WP plugins.

    I suggest you start by updating WordPress, WooCommerce, all the plugins, and themes to their latest versions. After that, you should flush the permalink link settings, clear the cache, and then test to see if everything is working smoothly.

    If it still doesn’t work, I’d suggest reaching out to MonsterInsights and GTM4WP support for further help with this.

    Since this is a third-party plugin which we don’t provide support for (please see our Support Policy), it would be best to reach out to the plugin’s developers for further assistance. I am sure they will have no problem supporting you there.

    I hope this provides some clarity on the matter. If you have any other questions or need further assistance, please don’t hesitate to ask.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GA4 do I need to set up event tags?’ is closed to new replies.