please tell variable used by shopify to return amount of sale

Highlighted
New Member
1 0 0

hey..i have my shop on shopify..we want to work with a company that provides affiliate marketing..it works on cost per sale..we will give them commission on whatever sales they bring to us..we have placed a pixel code on our thank you page.. it is as follows :-<html> <head> <title>OfferConversion</title> </head> <body> <iframe src="https://xyz.go2cloud.org/aff_l?offer_id=22&amount=AMOUNT"; scrolling="no" frameborder="0" width="1" height="1"></iframe> </body> </http.they want us to remove the AMOUNT parameter with the amount of sale made dynamically and then place the pixel code otherwise conversions cannot be seen for that they said we either need a macro that will return the amount of sale each time automatically or if not macro we can use a dynamic variable our platform supports..so sorry..but we dont have any technical support from our side. we are using hasoffers.

help us out with this issue

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
400 0 68

Hi Geeta,

Britton here with the Shopify support team.

The variable available on the order status page that pulls the order price information is {{ checkout.total_price }}. I can't promise that it will work properly with your custom integration here though.

If you do run into any issues here you might also be able to use the Order API with the GET action to send this information over to a third party. 

I hope this helps!

-Britton

Britton Shopify Guru
0 Likes