-
AuthorPosts
-
August 19, 2018 at 12:05 pm #998887
Hi!
Where do add code when the instructions is like this:
To install PageTools on your affiliate site simply insert the following code to your website (paste the snippet just before the closure of the HTML body, so before </body>):
Thanks!
Charlottehttp://www.airlinestaffrates.com/
<!– Begin TradeTracker SuperTag Code –>
<script type=”text/javascript”>var _TradeTrackerTagOptions = {
t: ‘a’,
s: ‘312709’,
chk: ‘9ecc3b06eeefd76a3731e1621a2d3556’,
overrideOptions: {}
};(function() {var tt = document.createElement(‘script’), s = document.getElementsByTagName(‘script’)[0]; tt.setAttribute(‘type’, ‘text/javascript’); tt.setAttribute(‘src’, (document.location.protocol == ‘https:’ ? ‘https’ : ‘http’) + ‘://tm.tradetracker.net/tag?t=’ + _TradeTrackerTagOptions.t + ‘&s=’ + _TradeTrackerTagOptions.s + ‘&chk=’ + _TradeTrackerTagOptions.chk); s.parentNode.insertBefore(tt, s);})();
</script>
<!– End TradeTracker SuperTag Code –>August 19, 2018 at 2:46 pm #998923Hey Charlotte,
Add this code to your child theme functions.php:
function avia_custom_footer_javascript() { ?> <!– Begin TradeTracker SuperTag Code –> <?php } add_action('wp_footer', 'avia_custom_footer_javascript');
and replace:
<!– Begin TradeTracker SuperTag Code –>
with your TradeTracker code.
Best regards,
DudeAugust 19, 2018 at 7:57 pm #999057Great, thanks.
Can add the code again for this as well?
Add this Leezair Widget script inside the <head> … </head> tag.
<script src=”https://widgets.leezair.com/build/app.js”></script>
Best regards
CharlotteAugust 19, 2018 at 8:16 pm #999065Hi Charlotte,
Here is the code you can put in your funtions.php to put the code above to the head tag
function avia_custom_header_javascript() { ?> <!– Begin TradeTracker SuperTag Code –> <?php } add_action('wp_head', 'avia_custom_header_javascript');
If you need further assistance please let us know.
Best regards,
VictoriaAugust 23, 2018 at 7:08 pm #1000898Thanks :)
August 23, 2018 at 8:10 pm #1000927Hi,
I’m glad you were able to get this resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Add code before body tag’ is closed to new replies.