You are here: / / eCommerce Tracking addon & custom thank you page
Google analytics ecommerce tracking does not work if the product uses a custom thank you page. This seems to be because the control block checks if the queried page is the same id as the default checkout page.
$checkout_page_id = $this->ASPMain->get_setting( 'checkout_page_id' ); $page_id = get_queried_object_id(); if ( $page_id === $checkout_page_id) ...
Is this the expected behaviour, or am I doing something wrong?
By default the e-commerce tracking only works on the thank you page generated by our plugin. We will need to investigate and see if we can extend the function for custom thank you pages also.
You must be logged in to reply to this topic.