I added javascript for Skimlinks but it’s not working. When I inspect code it shows within an iframe which is not what it’s supposed to look like.
Skimlinks’ instructions:
Paste this code snippet into your site template just before the </body> tag.
<script type=”text/javascript” src=”https://s.skimresources.com/js/201531X1680095.skimlinks.js”></script>
So, I created a hook element and pasted the code into it.
Hook: wp_footer
Priority: 99
Display: Entire site
The page used to test the code is here:https://www.onthefeeder.com/global/
See “Skimlinks test” link at bottom. Click it and it’ll show you the OOPS page along with how the code is supposed to link.
If you do an inspection on the code you’ll see it’s there in the right location as expected (just before </body> tag) but is enclosed in iframe
which is not expected.
I don’t know if the hook is setup wrong or Skimlinks code.
Could you please take a look? Thank you.