New Landing How can we help? Themeforest Theme Support Neighborhood Add Java script to a page

Viewing 4 posts - 1 through 4 (of 4 total)
  • #175686
    luca_2387
    Member
    Post count: 13

    Hi! probably a very simple question for a trained person )))
    I need to add the following script

    <script>(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src=”//x.instagramfollowbutton.com/follow.js”;s.parentNode.insertBefore(g,s);}(document,”script”));</script>

    just above the website’s closing </body> tag

    to make working the following script

    <span class=”ig-follow” data-id=”7ee1ef6f29″ data-handle=”segretiditalia” data-count=”true” data-size=”small” data-username=”false”></span>

    How can I do that?!
    Thank you in advance,
    Luca

    #175704
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You should add it inside the Theme options-> General Options-> Tracking Code

    -Rui

    #309909
    luca_2387
    Member
    Post count: 13
    This reply has been marked as private.
    #309914
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try to place it in the custom js field instead.

    -Rui

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

You must be logged in to reply to this topic.