We have an affiliate marketer we want to use and they are going to have tracking access to our orders when they complete. The problem is that their tracker is an image with image src= a link with GET params in it. How can I output a 1x1 px image with a image src with variables from able in the url. Example below:
Code: Select all
public string MakeShareASaleString(){
return("<IMG width=\"1\" height=\"1\" SRC='https://shareasale.com/sale.cfm?amount="+ Order.TotalCharges.ToString() +"&tracking="+_OrderId.ToString()+"&transtype=sale&merchantID=#####\'>");
}
Code: Select all
<img src="https://shareasale.com/sale.cfm?amount=AMOUNTOFSALE&tracking=TRACKINGNUMBER&transtype=TYPEOFTRANSACTION&merchantID=#####" width="1" height="1">