Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #796885

    bjmiller
    Participant

    We need to add a retargeting pixel to our header and cannot find where to add the script call. Using the ethos stack. Thanks for your help in advance.

    #796954

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do, we’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks.

    #797023

    bjmiller
    Participant

    We have a site using the x theme ethos stack. One of the client’s advertising partners wants us to add this:

    <script async src=”https://i.simpli.fi/dpx.js?cid=47055&action=100&segment=jasperhomesRT&m=1&sifi_tuid=23596″></script>

    to the universal header or footer. Looking through the customizer, I can’t find a place to insert this. Just wondering where the easiest, quickest place to add this is.

    #797616

    Rupok
    Member

    Hi there,

    Thanks for writing back. If you are using Child Theme then you can add the below code to your functions.php :

    add_action('wp_head', 'custom_scripts', 9999);
    
    function custom_scripts() { ?>
    
    echo '<script async src=”https://i.simpli.fi/dpx.js?cid=47055&action=100&segment=jasperhomesRT&m=1&sifi_tuid=23596″></script>';
    
    <?php }

    You can also use a plugin like this to do this easily : https://wordpress.org/plugins/insert-headers-and-footers/

    Hope this helps.

    Cheers!