• Resolved feri6

    (@feri6)


    I use Google Analytics for WooCommerce plugin to pass purchase data to Google Analytics, but I see the post IDs on the transactions page. How can I forward seq. order number to Google Analytics?

Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @feri6,

    Thanks for reaching out.

    The third-party Google Analytics plugin appears to be using the WooCommerce order post ID instead of the sequential order number generated by the plugin. The plugin already uses $order->get_order_number() throughout its workflow to retrieve and display the correct sequential order number.

    We recommend contacting the Google Analytics plugin support team and asking them to use $order->get_order_number() instead of $order->id or $order->get_id() when fetching the order number for transaction tracking. Once updated, the correct sequential order number should be passed to Google Analytics instead of the post ID.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.