-
AuthorPosts
-
February 15, 2016 at 12:53 pm #796885
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.
February 15, 2016 at 1:37 pm #796954Hello 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.
February 15, 2016 at 2:32 pm #797023We 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.
February 16, 2016 at 12:55 am #797616Hi 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!
-
AuthorPosts