Step 1: Insert the following javascript code in the <HEAD> of every page on Idea-shopping and Mygate.

This code will make sure that all outgoing links will be redirected through an affiliate link. 
You can find more information, such as black listing certain links, about this tool on the documentation page

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

Step 2: Insert the following javascript code in the <HEAD> of every page on Idea-shopping and Mygate.

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: Create a page for the product search engine and paste this code in the <BODY>.

Place this code where you want the search engine to appear. 

				
					<script>var gftmtc = gftmtc || [];
    gftmtc.push({
    type: "search",
    client: "IDEASHOPPING_PT",
    campaignId: 10148,
    id: "giftomatic-snippet-10148"
  });</script> <ins id="giftomatic-snippet-10148" style="display:none;"></ins>
				
			

Example

Step 4: Insert this code in the <BODY> of the page.

This code is unique per vendor and is to be placed on Mygate when you receive your gift card code.  

Ideashopping snippet

				
					<script>var gftmtc = gftmtc || [];
    gftmtc.push({
    type: "recommender",
    client: "IDEASHOPPING_PT",
    campaignId: 10140,
    id: "giftomatic-snippet-10140"
  });</script> <ins id="giftomatic-snippet-10140" style="display:none;"></ins>
				
			

Nike Mygate snippet

				
					<script>var gftmtc = gftmtc || [];
    gftmtc.push({
    type: "recommender",
    client: "IDEASHOPPING_PT",
    campaignId: 9543,
    id: "giftomatic-snippet-9543"
  });</script> <ins id="giftomatic-snippet-9543" style="display:none;"></ins>
				
			

Nike Links

Use this link for the Call to Action link on Mygate (make sure it's not a CSS button or our link optimizer won't be able to catch it) 
Link to webshop: https://www.nike.com/pt/

Use this link for the link in emails. 
Link for emails: https://www.giftomatic.io/s/is/pt/nike

Mediamarkt Mygate snippet

				
					<script>var gftmtc = gftmtc || [];
    gftmtc.push({
    type: "recommender",
    client: "IDEASHOPPING_PT",
    campaignId: 10013,
    id: "giftomatic-snippet-10013"
  });</script> <ins id="giftomatic-snippet-10013" style="display:none;"></ins>
				
			

Mediamarkt Links

Use this link for the Call to Action link on Mygate (make sure it's not a CSS button or our link optimizer won't be able to catch it) 
Link to webshop: https://mediamarkt.pt/

Use this link for the link in emails. 
Link for emails: https://www.giftomatic.io/s/is/pt/mediamarkt

Rakuten TV Mygate snippet

				
					<script>var gftmtc = gftmtc || [];
    gftmtc.push({
    type: "recommender",
    client: "IDEASHOPPING_PT",
    campaignId: 10143,
    id: "giftomatic-snippet-10143"
  });</script> <ins id="giftomatic-snippet-10143" style="display:none;"></ins>
				
			

Rakuten TV Links

Use this link for the Call to Action link on Mygate (make sure it's not a CSS button or our link optimizer won't be able to catch it) 
Link to webshop: https://rakuten.tv/pt/

Use this link for the link in emails. 
Link for emails: https://www.giftomatic.io/s/is/pt/rakuten

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