Tracking Code not appearing on page

Discussion in 'Infoway WordPress Theme' started by demcfee, Apr 3, 2013.

  1. demcfee

    demcfee New Member

    Joined:
    Mar 6, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,

    I have added my Tracking Code to the Theme Options but the code does not appear to be generated on any of the pages.
    Is there something else that I need to set up or does the Tracking Code not work with this theme?

    Cheers
    Dwayne
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Do let us know your website link.
     
  3. demcfee

    demcfee New Member

    Joined:
    Mar 6, 2013
    Messages:
    3
    Likes Received:
    0
    Hi Gourav,

    My website is http://bmdcsa.com.au
    I ended up putting my tracking code into another php file and adding a php file include line in the header.php file to get my tracking working.
    I had a look through the inkthemes-function.php file to see how the tracking code option was used and found the following:
    PHP:
    /* ----------------------------------------------------------------------------------- */
    /* Show analytics code in footer */
    /* ---------------------------------------------------------------------------------- */
    function inkthemes_childtheme_analytics() {
        
    $output get_option('inkthemes_analytics');
        if (
    $output <> "")
            echo 
    stripslashes($output);
    }
    add_action('wp_head''inkthemes_childtheme_analytics');
    This all looks correct to me so I don't understand why the normal tracking code option on the theme is not working?
    To me it seems like the call to wp_head in the header.php file is not working.

    Cheers
    Dwayne
     
  4. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    I have the same problem. Please fix this. My client is showing no traffic ever since we re-launched using this theme. I am using "Infoway Pro."
     
  5. molatin

    molatin Member

    Joined:
    Aug 11, 2012
    Messages:
    558
    Likes Received:
    19
    We had the same problem too - had to custom paste code into every page - took a long time...
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207

Share This Page