Trying to add some custome code to a Wix store

Hi Tony,
You’ll need to provide more information in order to get help from the community. Please reply with a detailed description of what you are trying to achieve and include any relevant screenshots, code snippets, or URLs. Thanks!

Trying to track sales with the following code - I thought -“totals” would pull through the sales total for a purchase - but it doesn’t seem to work. Code is: conv(‘track’, ‘sale’, {‘transactionId’:‘orderGuid’, ‘ordervalue’:totals, ‘voucher’:‘FREEDEL’, ‘currency’:‘GBP’, ‘event’:407244});

Where did you get this code? Where did you put it in your site? Please provide more information.

Apologies got called away earlier
Code is on the Thankyou page - provided by an Affiliate network I’m trying to sign the store up to.

It sounds like you do not need to use Velo for this. Check out one of these Wix articles about marketing integrations, or contact Wix Customer Care for assistance with your Store.

Note that you will need to have a Wix Premium site to add affiliate code.

Thanks, we have a Premium site. One question - what is the Wix store field that relates to the total sales value of a purchase?

I don’t know much about Wix Stores, but maybe someone from the community can answer your question. You can also search Google or ask Wix Customer Care . Good luck!

No problm- thanks very much for your help.