Amazon have created a new Affiliate code Called OnelLink which will link stores geographically so that a customer who views your US site from say UK will then get redirected to the product and then you get paid for sales in UK.
It requires the code to be added in the Footer of each page
The code is like this
<script src=”//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=XXXXXXXXX”></script>
How can I place this script in the footer of every page?
Hey Calcite,
Please try this in your child theme’s functions.php file:
function calcite_add_amazon_code(){ ?>
<script src=”//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=XXXXXXXXX”></script>
<?php }
add_action('wp_footer', 'calcite_add_amazon_code');
Best regards,
Rikard