Hi,
ok, Pixel Caffeine checks when fire ‘Puchase’ event by calling a WooCommerce function that says when we are in thank you page. The function is “is_order_received_page()”. Maybe this external plugin manage the thank you page in different way as WooCommerce does and the official function of WooCommerce doesn’t work as expected.
So, the only way is to add some hooks that I provided in the plugin to customize it.
You just need to add the code I will suggest you below in the functions.php file of the theme or in a new simple plugin created by you. Here a suggested article where explained in detail the different ways to do that: https://www.skyverge.com/blog/add-custom-code-to-wordpress/
The PHP code is:
add_filter( 'aepc_can_track', function( $condition, $event ){
if ( 'Purchase' === $event ) {
$condition = /*your_condition*/
}
return $condition;
}, 10, 2 );
Replace /*your_condition*/
with the condition you need to know when you are in the custom thank you page.
If you are not practical with code, I suggest you ask to the plugin support and ask them to give you the proper true condition in order to run the previous code when you are in the custom thank you page.
I hope everything is clear.