• I’m using this pixel manager for my Facebook pixel:
    https://ww.wp.xz.cn/plugins/woocommerce-google-adwords-conversion-tracking-tag/

    The plugin is reporting to me:
    The Pixel Manager detected that one or more of your payment gateways have a tracking accuracy below the recommended 90% threshold. Low tracking accuracy means that not all customers are reaching the purchase confirmation page after completing their order, which results in missed conversion tracking. This can significantly impact your paid advertising performance and ROAS calculations.

    Affected payment gateways: stripe_cc: 44% (21/48 orders), ppcp: 41% (13/32 orders)

    Check the Diagnostics tab for more details and follow our documentation to improve tracking accuracy.`

    The diagnostic tab:

    Purchase confirmation page reached per gateway (only active), weighted by frequency :
    stripe_cc 21 of 48 = 44% warning
    ppcp 13 of 32 = 41% warning
    stripe_applepay 3 of 6 = 50% warning
    stripe_payment_request 0 of 0 = 0%
    stripe_upm 0 of 0 = 0%
    cheque 0 of 0 = 0%
    Total 37 of 86 = 43% warning

    It provided me with this doc page to learn more: https://sweetcode.com/docs/wpm/diagnostics/

    For reference, I use Elementor and WooCommerce. For one particular product, which is an infrequent purchase, I do direct to a different thank you page, but out of this bunch, that was only like two orders.

    Has anyone experienced this? It’s not just happening with Stripe, it’s also happening with Paypal (I also use your Paypal plugin)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @mdc2957

    Thank you for contacting Payment Plugins. Can you engage the developers of that pixel manager plugin and ask them to respond to this thread? This plugin uses core WooCommerce methods to provide the order confirmation redirect. Any issues with an incorrect redirect url would not be caused by this plugin.

    Their documentation states:

    In most cases, the tracking accuracy drops because a payment gateway doesn't redirect properly to the purchase confirmation page. 

    That would not be the case with this plugin because it uses core WooCommerce methods, which you can see here: https://plugins.trac.ww.wp.xz.cn/browser/woo-stripe-payment/tags/3.3.96/includes/abstract/abstract-wc-payment-gateway-stripe.php#L434

    The WC_Payment_Gateway::get_return_url() method contains core WooCommerce logic that builds the order confirmation page url. There are filters that WooCommerce provides that other plugins or custom code could be using to manipulate the url. Here is a link to the WooCommerce code for the get_return_url() method that our plugin uses. https://plugins.trac.ww.wp.xz.cn/browser/woocommerce/tags/10.4.2/includes/abstracts/abstract-wc-payment-gateway.php#L255

    It’s possible you have some code that’s using those filters to manipulate the redirect url.

    Kind Regards

    • This reply was modified 3 months, 3 weeks ago by Clayton R.
    Thread Starter Firelight

    (@mdc2957)

    Thanks, I shared the link to this thread and asked them to reply here. The only code I use is the code below to send people to a different page if they order a certain product. However, that’s probably just 1 or 2 orders out of the total in the data being reported.

    add_action( 'woocommerce_thankyou', 'redirect_product_based_2hr', 1 ); 
    function redirect_product_based_2hr ( $order_id ){
                $order = wc_get_order( $order_id );
            
                foreach( $order->get_items() as $item ) {
                    // Add whatever product id you want below here
                    if ( $item['product_id'] == 6865 ) {
                        // change below to the URL that you want to send your customer to
                         wp_redirect( 'https://xxxx.com/' );
                    
                    }
                }        
    }

    Hi

    I am the developer of the Pixel Manager for WooCommerce.

    The Pixel Manager can only detect if a buyer reached the purchase confirmation page for each order.
    However, it cannot detect the exact reason.
    In most cases it is a payment gateway that is not following standards or it has not been set up properly. There are other possible reasons too.

    Here are a few that come to my mind and I have seen before.

    – The purchase confirmation page loads extremely slow
    – Custom redirects from the purchase confirmation page awway
    – Third-party plugins that block the purchase confirmation page from fully loading

    Here’s a longer list of possible reasons: https://sweetcode.com/docs/wpm/diagnostics#typical-causes

    In your case, it is likely to be a more systemic reason, not the payment gateway, because it affects all payment gateways the same. The percentage of tracked orders is approximately the same across all active payment gateways, which is an indication that there is something else going on.

    Your custom redirect could be the reason, so in the first step I’d recommend disabling it and watch and monitor if things improve. The recommendation is also to never redirect away automatically from the purchase confirmation page.

    If tracking doesn’t improve, you will have to play around with other settings.

    On shops where everything works fine, it is common to get tracking for orders above 95% easily.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.