• Dear Support,

    thank you for providing such an awesome plugin for Free. I have a problem.

    Add to Cart Pixel – https://i.imgur.com/wFIcbCt.jpg
    Initiate Checkout – https://i.imgur.com/BgdKdhL.jpg
    Returning from Paypal (after purchase) – https://i.imgur.com/l7shFM0.jpg

    The purchase event was not triggered at all. Just to highlight, I have a custom Order Received url (/secure-checkout/order-received/13972/). I hope this is not a problem…

    Secondly, is it possible to have “Content-Category” in the purchase event? I am trying to make a Custom Conversion and there is no option to filter based on Custom Category. I was able to filter in the ATC & VC events.

    If you need the URL, please share your support email.

    MK

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mazs91

    (@mazs91)

    Hi Support,

    The problem with the 1st issue (purchase pixel not firing) is due to Paypal Return URL. I did the checkout with 2checkout and everything worked smoothly. Below is the url that Paypal returns.. If I copy the url till cm=%7B , purchase pixel is fired.

    /secure-checkout/order-received/139/?key=wc_order_5908e78&utm_nooverride=1&amt=0.01&cc=USD&cm=%7B“order_id”:175%2C”order_key”:”wc_order_5908e78″%7D&st=Completed&tx=076383W

    https://www.domain-name/secure-checkout/order-received/utm_nooverride=1 is set in Paypal as a return url… Do you have any experience with this issue?

    Also, please let me know if it is possible to get content-category in the purchase event?

    thanks
    Mazhar

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    about the first issue, I didn’t have any experience with this issue. It seems something related to the checkout plugin, maybe something goes wrong when those parameters are passed. I ask you if you can post the website URL so I’ll try to check about your issue.

    For the second issue, I ask you to make two things:

    1. Open a plugin file wp-content/plugins/pixel-caffeine/includes/class-aepc-track.php and search this line at the end of the file: return $params;. Replace this line with this one: return apply_filters( 'aepc_allowed_standard_event_params', $params, $event );. This change will be added also in the next version of the plugin, so you will be able to upgrade without losing the customization.

    2. After this change, add this code at the end of the file functions.php of your active theme:

    function my_custom_allowed_standard_event_params($params, $event) {
    	if ( $event === 'Purchase' ) {
    		$params .= ', content_category';
    	}
    	
    	return $params;
    }
    add_filter('aepc_allowed_standard_event_params', 'my_custom_allowed_standard_event_params', 10, 2);

    Let me know,
    Thanks.

    Thread Starter mazs91

    (@mazs91)

    Hi Support,

    Thank you for the feedback. Last night, I bought the Pixelyoursite Pro version and both the issues got solved. The Purchase event is firing event with the same Paypal return URL & they have a lot of extra information in the Purchase event including Category_Name.

    If you need to troubleshoot this, please share your email address and I will create a staging for you and will share all the details on email.

    Thank you for providing such an awesome plugin for FREE.

    Mazhar

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    it would be very useful, but unfortunately, I cannot share you my info in order to share some confidential info, due to forum rules ??

    If you can, you might share the website URL, I hope it can help me to troubleshoot this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with Purchase event only’ is closed to new replies.