Title: Conditional Tag Issue
Last modified: August 18, 2016

---

# Conditional Tag Issue

 *  [csutoras](https://wordpress.org/support/users/csutoras/)
 * (@csutoras)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/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)

 *  [btard](https://wordpress.org/support/users/btard/)
 * (@btard)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/conditional-tag-issue/#post-647603)
 * Try using the post/page id.

Viewing 1 replies (of 1 total)

The topic ‘Conditional Tag Issue’ is closed to new replies.

## Tags

 * [conditional](https://wordpress.org/support/topic-tag/conditional/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * 1 reply
 * 2 participants
 * Last reply from: [btard](https://wordpress.org/support/users/btard/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/conditional-tag-issue/#post-647603)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
