Support » Themes and Templates » Conditional Tag Issue

  • I am trying to put a tracking code on a specific page to see conversions for some PPC i am running.

    I want to put it on the contact page and the slug for the page is ‘contact’

    I am having a problem where id i use any format other than this the whole footer disappears but if i use this then the code in the script section doesnt show up.

    <?php if(is_page(‘Contact’)): ?>

    <SCRIPT language=”JavaScript” type=”text/javascript”>
    tracking stuff
    </SCRIPT>

    <?php endif; ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Tag Issue’ is closed to new replies.