Title: Header.php Changes Not Making a Difference
Last modified: July 11, 2019

---

# Header.php Changes Not Making a Difference

 *  [jadegillham](https://wordpress.org/support/users/jadegillham/)
 * (@jadegillham)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/)
 * I’m trying to edit my header.php to include Google Analytics tracking.
 * I tried adding it to the header.php under Appearance Theme Editor but when I 
   saved it and inspected my site I couldn’t see the code there and it wasn’t tracking.
 * I use the Child Theme Wizard to create a child theme, copied over the header.
   php file and replicated it in the activated CHild Theme.
 * Once saved, it still can’t be seen on my site and still not tracking.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11723152)
 * Disable any caching plugins as changes in the PHP might not make it through the
   cache. Once you see the right stuff, you can re-enable caching.
 *  Thread Starter [jadegillham](https://wordpress.org/support/users/jadegillham/)
 * (@jadegillham)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725094)
 * Thanks Steve, I’ve dasbled caching and purged it and I still can’t see it on 
   the live site.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725766)
 * Please provide a link to a page on your site where we can (or can’t) see this.
   Thanks.
 *  Thread Starter [jadegillham](https://wordpress.org/support/users/jadegillham/)
 * (@jadegillham)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725769)
 * It’s [https://www.jadegillham.co.uk/](https://www.jadegillham.co.uk/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725782)
 * Are you sure your child theme header.php gets loaded at all?
 * I recommend asking at [https://wordpress.org/support/theme/astra#new-post](https://wordpress.org/support/theme/astra#new-post)
   so the theme’s developers and support community can help you with this.
 * Also note that there are a gazillion plugins that will add Google tracking to
   your site.
    -  This reply was modified 6 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [jadegillham](https://wordpress.org/support/users/jadegillham/)
 * (@jadegillham)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725830)
 * Thanks, I’ll give that a try.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Header.php Changes Not Making a Difference’ is closed to new replies.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [header.php](https://wordpress.org/support/topic-tag/header-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [jadegillham](https://wordpress.org/support/users/jadegillham/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/header-php-changes-not-making-a-difference/#post-11725830)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
