• Resolved napalm80

    (@napalm80)


    Hello

    Since I have changed measurement from UA to GA4 i have no purchases in GA. I see other events like add to cart or begin checkout but no data of purchases.

    This has happened on every site using this plugin.

    Screenshot of settings in Woocommerce: https://ibb.co/9pBhDs1

    What should I do to get purchases measurement back on track?

    Thankyou in advance for your advise,
    Martin

    • This topic was modified 1 year, 3 months ago by napalm80.

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

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

    (@babylon1999)

    Hello @napalm80,

    Thank you for reaching out!

    Since I have changed measurement from UA to GA4 i have no purchases in GA. I see other events like add to cart or begin checkout but no data of purchases.

    Do you have a plugin or snippet that modifies the order confirmation/thank you page?

    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 napalm80

    (@napalm80)

    Yes, i am using snippet in functions.php:

    add_action( 'woocommerce_thankyou', 'my_custom_tracking' );
    
    function my_custom_tracking() {
    	$order = wc_get_order( $order_id );
    	$total = $order->get_total();
    	echo ('<script type="text/javascript" src="https://c.seznam.cz/js/rc.js"></script><script>var conversionConf = { id: 100047214,  value: ' . $total . '};if (window.rc && window.rc.conversionHit) {  window.rc.conversionHit(conversionConf); }
    </script>');
    }
    

    System status report: download here

    Thank you for your help.

    Martin

    Saif

    (@babylon1999)

    Thank you for sharing the report!

    Everything looks healthy so far. I suspect that the issue might be due to the custom snippet, as purchase events are tracked from the thank-you page.

    Have you tried to remove it?

    Look forward to hearing back from you. :?)

    Thread Starter napalm80

    (@napalm80)

    The snippet was causing problems. Once it is gone, everything looks fine.

    Thank you for your help.

    Martin

    Saif

    (@babylon1999)

    Glad to know everything is working now, @napalm80! ??

    I will mark the thread as solved. If you have a few minutes, we’d love it if you could leave us a review: https://www.ads-software.com/support/plugin/woocommerce-google-analytics-integration/reviews/

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Receiving no data of purchases’ is closed to new replies.