ThemeShaper Forums » Thematic


Adding a Google Remarketing tag to my homepage

(4 posts)
  • Started 9 years ago by billrose
  • Latest reply from lastraw
  • This topic is not resolved
  1. Hi guys. I'm trying to add a Google Remarketing pixel to my homepage. I found a plugin that allows me to do this for Posts & Pages, but not for the homepage itself (

    Can someone please help me figure out how to add the following pixel to my homepage:

    <!-- Google Code for Visitors Remarketing List -->
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 1070370795;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "i1cCCMmK7QMQ65-y_gM";
    var google_conversion_value = 0;
    /* ]]> */
    <script type="text/javascript" src="">
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src=";guid=ON&amp;script=0"/>

    The only guidance Google giver regarding where in the code to place the pixel is "between the body tags (<body></body>) of the page."

    Thanks for the help!


    Posted 9 years ago #
  2. add it to a hook

    function kia_inject_code(){
    //paste your code here
    Posted 9 years ago #
  3. Sorry, I'm a complete amateur when it comes to coding. Where specifically should I add that hook? Thanks!

    Posted 9 years ago #
  4. you add it to your function.php file in your child theme between the


    and the


    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.