How Can We Help?

Purchase Event Filter – for developers

If you are a developer and you need to fire PixelYourSite’s WooCommerce default Purchase Event, you can use this filter

add_filter( 'woocommerce_is_order_received_page', 'pys_is_thank_you_page' );
function pys_is_thank_you_page( $value ) {
    
    if ( /* add condition here */ ) {
        return true;
    } else {
        return $value;
    }
        
}

This is the recommended approach for plugins or custom cod that change the default WooCommerce order-received pages, like upsell offers or custom funnels.

Please keep in mind that we don’t offer support for custom solutions.

Table of Contents

Google Consent Mode V2

How to enable Google Consent Mode V2
Days
Hours
Minutes
Seconds

Exceptional Lifetime License

PixelYourSite, ConsentMagic and all our plugins