Chirpyest logo with bird icon to the left
Share products from leading brands. Nike, Lululemon, The Home Depot, Bloomingdales and 800+ more. Simple setup, high commissions, real results.

Seeking help for conversion tracking from wix shop

Wallester

affrabby

Grand Guru
Joined
Sep 28, 2018
Messages
495
Hi there,

Can fire my postback pixel from my wix shop but unable to receive cart value/order total value. As wix dont have dynamic parameter to receive the value. They only have api, Can anyone help me to send the order total value from wix shop to my postback pixel.
<script>
var order_total = 'order.totals.total';
var order_id = 'order.number';
var params = '&payout=' + order_total + '&txid=' + order_id
var sid = window.localStorage.getItem('sid');
var req = new XMLHttpRequest();
req.open('GET',
'https://trk.example.com/postback?cid=' + sid + params);
req.send();

</script>


Wix API: https://www.wix.com/velo/reference/$w/thankyoupage/getorder

1664568915546-png.31053

I was trying this code but conversion firing but still payout and order number not tracking. I don't have enough coding knowledge :( maybe someting that i missing out. @Nick maybe you can have a look
 
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top