Adding script to each page header

This topic contains 2 replies, has 2 voices, and was last updated by  Steve 8 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #218768

    Steve
    Full Member
    Post count: 1019

    I could use some guidance here. I need to know how to go about inserting this on each page of my site. In the head section. Over 9k in pages

    <!– Start Alexa Certify Javascript –>
    <script type=”text/javascript”>
    _atrk_opts = { atrk_acct:”############”, domain:”domain-name.com”,dynamic: true};
    (function() { var as = document.createElement(‘script’); as.type = ‘text/javascript’; as.async = true; as.src = “https://somecode.cloudfront.net/atrk.js”; var s = document.getElementsByTagName(‘script’)[0];s.parentNode.insertBefore(as, s); })();
    </script>
    <noscript></noscript>
    <!– End Alexa Certify Javascript –>

    Kind regard and thank you.

    #218858

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    GD>Design>Scripts>Header script code

    Stiofan

    #219846

    Steve
    Full Member
    Post count: 1019

    Hey! What’s Happening Today? Thank you Stiofan. Kind regards,

    For some reason Alexa is still not able to see the script when scanned. I have contacted them regarding this issue.

    Also, it may be a Wordfence plugin issue. I will reach out to them as well.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount