Amazon OneLink Code on Shopify

Highlighted
New Member
5 0 0

I have copied the Amazon OneLink code to the bottom of my theme.liquid file (just before </body> tag).  Amazon Affiliate links are still going to the US Amazon site rather than Canadian site (I am currently in Canada).

 

Any suggestions?  Is this the correct location for the OneLink code?

0 Likes
Shopify Expert
9352 0 1230

There's not a lot of context here to work with.
What was the code? What is the expectation of it working? Are you sure it's been added correctly?

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
New Member
5 0 0

Got it figured out. Spreads currently does not support OneLink. 

0 Likes
New Member
5 0 0

Hi Jason,

 

I got Amazon OneLink to work on my homepage, but does not work from the product page. Here is the background and issue:

- I have Amazon OneLink code installed on the footer of theme.liquid
- I have my US and CA Amazon affiliates linked
- I am using a US marketplace affiliate link (http://amzn.to/2M3DGDc)
- I am in Canada

On my homepage (MyTastefulSpace.com), click any of the slider images and it correctly re-directs to the CA Amazon marketplace.

On the product page (https://mytastefulspace.com/collections/amazon-affiliate-products/products/ivolador-crystal-glass-te...), click the test link and it goes to the US marketplace. 

On each page, right click and copy the link address, you will see they are both the same (http://amzn.to/2M3DGDc). But the home page redirects to CA marketplace and product page goes to US marketplace. 

What is taking place behind the scenes on the product page that I am unaware of that is preventing Amazon OneLink re-direction to the correct marketplace?

Paul

0 Likes