Implementation guide

Step 1: Insert the Linkoptimizer Javascript in the <HEAD> of every page

This code will make sure that all outgoing links will be redirected through an affiliate link. 

Important: Make sure outgoing links are not styled as a CSS button as our Linkoptimizer cannot track these. 

				
					<script>var optmz = optmz || [];
  optmz.push({
    client: "GIFTCARDS_CO_UK",
    excluded: ["domain.com", "example.com"]
  });</script> <script async src="https://www.giftomatic.io/dist/linkoptimizer.js"></script>
				
			

Step 2: Insert the following javascript code in the <HEAD> of every page.

This code will make it possible to load the search engine and the product recommendations on the page.

				
					<script src="https://www.giftomatic.io/dist/websnippet.js"></script>
				
			

Step 3: Add the Search engine snippet to the balance checker.

				
					<script>var gftmtc = gftmtc || [];
gftmtc.push({
  version: "2.0",
  type: "inspire",
  client: "GIFTCARDS_CO_UK",
  campaignId: 15553,
  id: "giftomatic-snippet-15553"
});</script> <ins id="giftomatic-snippet-15553" style="display:none;"></ins>
				
			

Example

Step 4: Add the Metarefresh to the Thank you page and redirect to these URLs.


For all outgoing links to retailers you can add the following prefix:

https://www.giftomatic.io/out?dataset=GIFTCARDS_CO_UK&url=https%3A%2F%2Fwww.

After the prefix you add the URL of the webshop: https://www.example.com. This URL needs to be encoded
Again: you can easily encode URLs through this website: https://www.urlencoder.org/

For example:
https://www.giftomatic.io/out?dataset=GIFTCARDS_CO_UK&url=https%3A%2F%2Fwww.

				
					<meta http-equiv="refresh" content="8; url=https://www.giftomatic.io/out?dataset=GIFTCARDS_CO_UK&url=https%3A%2F%2Fwww.">
				
			

Sorry, this link doesn't work in this demo.