I browsed through some of the forums and I found this code which a moderator responded and said we need to include it in the code injection - footer section. Is that correct or it needs to be in the header section?
I wanted to check if this applies to all pages with buttons to amazon links? Also, how do you add no-follow for pages like avantlink? anyone has a custom code that they can share.
Here's what I included in my footer, but not sure if it applies for all pages?
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('[href*="amazon.com"]').attr('rel','nofollow');
});
</script>