Hi! You go to Shareasale and log in and click on this link:
http://www.shareasale.com/a-customproductlink.cfm
Then in the Drop Down box, pick Viator.
In the box labeled "Destination URL:" Put the link to the page you want to link to.
Click Create Custom Link.
The code will be generated.
If you need a lot of links, go to:
http://www.shareasale.com/a-download...rchantID=18208
And download the datafeed file that has all the links to all the tours on Viator. There are both image links and landing page urls in that file, along with other information that is detailed in this thread:
http://forum.abestweb.com/showthread.php?t=113523