Problem with GA4
-
Hey,
how can I also track on GA4, like google analytics normal one, the orderID. On GA4 the order ID doesn’t come up in analytics 4. How can I have this?
Google support said I had to contact you guys.
-
Hi,
Before moving forward, can you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Please check under WooCommerce > System Status > Logs (if the site is showing any error log related to this, let us know).
Yes sure. By the way I got this instruction from Google analytics, but I don’t understand what to do: `To see the same Transaction IDs in GA4 you need to add the Tracking ID in the GA4 tag in the website. You can do this by following these steps:
1. Open the ASP file for your conversion page.
2. Locate the ASP expression that stores this information. For example: <%= orderId %>.
3. Open the HTML for your conversion page and locate the event snippet.
4. In the script portion of the event snippet (the portion between the <script></script> tags), replace <%=Id %> with the ASP expression found in step 2: An example:<script> gtag(‘event’, ‘purchase’, { transaction_id: ‘<%= orderId %>’, value: 25.42, currency: “USD”, //… }); </script>
After this, you can place these orders in the GA4 account by following the steps below:
1. Go to “Reports” in the left menu.
2. Then click on “Provide monetization”, and then on “E-Commerce purchases”`By the way here is the status, there are no problems:
### WordPress Environment ### WordPress address (URL): https://www.myzenful.nl Site address (URL): https://www.myzenful.nl WC Version: 7.0.0 REST API Version: ? 7.0.0 WC Blocks Version: ? 8.5.1 Action Scheduler Version: ? 3.5.2 Log Directory Writable: ? WP Version: 6.0.3 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: nl_NL External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 7.4.32 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1q-fips SUHOSIN Installed: – MySQL Version: 5.7.39-42-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.0.0 WC Database Prefix: gjx_ Totale databasegrootte: 37.59MB Database datagrootte: 28.36MB Database index grootte: 9.23MB gjx_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB gjx_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB gjx_woocommerce_order_items: Data: 0.08MB + Index: 0.05MB + Engine InnoDB gjx_woocommerce_order_itemmeta: Data: 1.50MB + Index: 0.56MB + Engine InnoDB gjx_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB gjx_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_actionscheduler_actions: Data: 2.02MB + Index: 1.16MB + Engine InnoDB gjx_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_actionscheduler_logs: Data: 1.02MB + Index: 0.55MB + Engine InnoDB gjx_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_atum_product_data: Data: 0.05MB + Index: 0.05MB + Engine InnoDB gjx_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB gjx_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB gjx_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB gjx_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB gjx_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB gjx_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB gjx_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_comments: Data: 1.52MB + Index: 0.55MB + Engine InnoDB gjx_et_bloom_stats: Data: 0.09MB + Index: 0.00MB + Engine InnoDB gjx_et_social_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB gjx_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_mailchimp_carts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB gjx_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_options: Data: 4.31MB + Index: 0.16MB + Engine InnoDB gjx_postmeta: Data: 6.52MB + Index: 2.56MB + Engine InnoDB gjx_posts: Data: 4.27MB + Index: 0.27MB + Engine InnoDB gjx_sgs_log_events: Data: 2.02MB + Index: 0.00MB + Engine InnoDB gjx_sgs_log_visitors: Data: 0.39MB + Index: 0.00MB + Engine InnoDB gjx_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB gjx_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB gjx_usermeta: Data: 0.44MB + Index: 0.27MB + Engine InnoDB gjx_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB gjx_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_wc_order_bundle_lookup: Data: 0.08MB + Index: 0.09MB + Engine InnoDB gjx_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB gjx_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB gjx_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB gjx_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_woocommerce_bundled_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB gjx_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB gjx_wpr_rocket_cache: Data: 0.05MB + Index: 0.05MB + Engine InnoDB gjx_wpr_rucss_used_css: Data: 0.08MB + Index: 0.11MB + Engine InnoDB gjx_yoast_indexable: Data: 1.50MB + Index: 0.34MB + Engine InnoDB gjx_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.05MB + Engine InnoDB gjx_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB gjx_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB gjx_yoast_prominent_words: Data: 0.11MB + Index: 0.23MB + Engine InnoDB gjx_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### acoplw_badges: 1 af_product_videos: 1 attachment: 341 atum_inventory_log: 4 cartflows_flow: 1 cartflows_step: 3 cookielawinfo: 6 custom_css: 1 et_body_layout: 31 et_footer_layout: 6 et_header_layout: 7 et_pb_layout: 61 et_template: 105 et_theme_builder: 1 nav_menu_item: 34 page: 29 post: 43 product: 78 product_variation: 77 revision: 8 shop_coupon: 22 shop_order: 345 shop_order_refund: 4 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (34) ### ATUM Voorraadbeheer voor WooCommerce: door Stock Management Labs ? – 1.9.23.1 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: door codewoogeek – 3.0 Bloom: door Elegant Themes – 1.3.12 Code Snippets: door Code Snippets Pro – 3.2.1 CookieYes | GDPR Cookie Consent: door CookieYes – 3.0.4 Yoast Duplicate Post: door Enrico Battocchi & Team Yoast – 4.5 Site Kit by Google: door Google – 1.86.0 OMGF: door Daan from Daan.dev – 5.4.2 Hotjar: door Hotjar – 1.0.14 Loco Translate: door Tim Whitlock – 2.6.3 Mailchimp for WooCommerce: door Mailchimp – 2.7.6 Microsoft Advertising Universal Event Tracking (UET): door Microsoft Corporation – 1.0.4 Mollie-betalingen voor WooCommerce: door Mollie – 7.3.3 SiteGround Optimizer: door SiteGround – 7.2.5 SiteGround Security: door SiteGround – 1.3.5 TradeTracker.com WooCommerce extension: door TradeTracker.com – 1.1.0 User Role Editor: door Vladimir Garagulya – 4.63.1 WebwinkelKeur: door Albert Peschar – 3.18 Product Feed PRO for WooCommerce: door AdTribes.io – 11.9.6 WooCommerce Added To Cart Popup: door WeCreativez – 1.3.7 WooCommerce Bulk Variations: door fancyproductdesigner.com – 1.1.2 Gift Wrapper: door Sagehen Studio – 5.2.4 WooCommerce Google Analytics Integration: door WooCommerce – 1.5.15 MyParcel: door MyParcel – 4.14.0 WooCommerce Product Bundles: door WooCommerce – 6.16.0 (update naar versie 6.17.3 is beschikbaar) WooCommerce Subscriptions: door WooCommerce – 4.1.0 (update naar versie 4.6.0 is beschikbaar) WooCommerce: door Automattic – 7.0.0 Yoast SEO Premium: door Team Yoast – 19.4 Yoast SEO: door Team Yoast – 19.9 Asset CleanUp Pro: Page Speed Booster: door Gabe Livan – 1.2.2.4 WP Bestandsbeheer: door mndpsingh287 – 7.1.6 WP Rocket | Conditionally toggle options: door WP Rocket Support Team – WP Rocket: door WP Media – 3.12.2.1 Yoast SEO: WooCommerce: door Team Yoast – 15.2 ### Inactive Plugins (2) ### Query Monitor: door John Blackbourn – 3.10.1 Woo Discount Rules: door Flycart – 2.5.0 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached ### Must Use Plugins (1) ### Asset CleanUp Pro: Plugin Filtering: door Gabriel Livan – 1.0 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) gift-card (gift-card) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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 ### Winkelbasis: #21 - /winkel/ Winkelwagen: ? Pagina heeft geen [woocommerce_cart]-shortcode of het woocommerce/cart-blok. Afrekenen: #9 - /checkout/ Mijn account: #10 - /my-account/ Algemene voorwaarden: #385 - /algemene-voorwaarden/ ### Theme ### Name: Divi Version: 4.18.1 Author URL: https://www.elegantthemes.com Child Theme: ? – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een sub-thema aan. Zie: Hoe maak je een sub-thema WooCommerce Support: ? ### Templates ### Overrides: – ### Abonnementen ### WCS_DEBUG: ? Nee Subscriptions Mode: ? Live Subscriptions Live URL: https://www.myzenful.nl Subscription Statuses: – WooCommerce Account Connected: ? Yes Active Product Key: ? No Custom Retry Rules: ? No Custom Retry Rule Class: ? No Custom Raw Retry Rule: ? No Custom Retry Rule: ? No Retries Migration Status: ? Completed Report Cache Enabled: ? Ja Cache Update Failures: ? 0 fout ### Winkel configureren ### Country / State: Nederland ### Ondersteuning betaalmethode ### Mollie - iDEAL: products refunds subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change subscription_payment_method_change_admin subscription_payment_method_change_customer Mollie - Bancontact: products refunds subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change subscription_payment_method_change_admin subscription_payment_method_change_customer Mollie - Klarna Pay Now: products refunds Mollie - Klarna betaal later: products refunds Mollie - Klarna betaal in 3 delen: products refunds Mollie - Creditcard: products refunds subscriptions subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change subscription_payment_method_change_admin subscription_payment_method_change_customer Mollie - Apple Pay: products refunds subscriptions subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change subscription_payment_method_change_admin subscription_payment_method_change_customer Mollie - SOFORT Banking: products refunds subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes multiple_subscriptions subscription_payment_method_change subscription_payment_method_change_admin subscription_payment_method_change_customer Mollie - Bankoverdracht: products refunds ### Product Bundles ### Database Version: 6.16.0 Loopback Test: ? Template Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour 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: 2022-11-01 15:05:53 +01:00 Options: ? Notes: 11 Onboarding: completed ### Action Scheduler ### Canceled: 3 Oldest: 2022-10-03 11:40:47 +0200 Newest: 2022-10-18 23:07:39 +0200 Complete: 3.310 Oldest: 2022-11-01 12:51:40 +0100 Newest: 2022-11-01 13:45:10 +0100 Failed: 8 Oldest: 2022-10-25 11:51:06 +0200 Newest: 2022-11-01 11:18:10 +0100 Pending: 6 Oldest: 2022-11-01 13:50:10 +0100 Newest: 2022-11-02 12:36:38 +0100 ### Status report information ### Generated at: 2022-11-01 13:50:25 +01:00
Hi there @ib1222 ??
Thanks for reaching back about this and providing us with the site’s SSR.
In it, I can see that theSite Kit by Google: door Google – 1.86.0
plugin is installed and activated.According to its documentation:
“Site Kit creates an Analytics account on your behalf or connects an existing one and adds the Analytics script to your site’s<head>
. Site Kit will add code for both Universal Analytics (UA) and Google Analytics 4 (GA4).”I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.
-
This reply was modified 2 years ago by
anastas10s. Reason: typo
Sir please read my problem/question again from the start, that is not what I asked for at all. I am talking about ORDERID in conversions. In my Google analytics, univeral I can find OrderID in e-commerce conversions but in GA4 I can not. That’s why I did send you also the help from google support.
still no response..
Hi @ib1222
By the way I got this instruction from Google analytics, but I don’t understand what to do:
Can you please provide further details here? On what step(s) are you having trouble? Did you encounter any errors?
If a screenshot would be helpful, I’d recommend using https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.
-
This reply was modified 2 years ago by
xue28 (woo-hc).
Look. I want to see ORDER ID in Google analytics 4, because it doesn’t show ORDER ID in analytics 4 conversions. But in Universal google analytics it shows the order ID. To show ORDER ID in google analytics 4 they provided those details. Please read it good…
Hello @ib1222,
Seems like a couple of GA4 users had the same question: https://support.google.com/analytics/thread/119085854/can-i-see-order-ids-in-google-analytics-4?hl=en
According to the answer in the thread, you’ll need to create your own custom dimension which is not within our scope of support here.
You can check the following guide for more help or contact Google directly: https://support.google.com/analytics/answer/10075209
Hope this helps!
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.
-
This reply was modified 2 years ago by
- The topic ‘Problem with GA4’ is closed to new replies.