Title: Analytics Tracking Code Deleted
Last modified: February 18, 2019

---

# Analytics Tracking Code Deleted

 *  [lvee8778](https://wordpress.org/support/users/lvee8778/)
 * (@lvee8778)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/)
 * Hi I have a question to do with google analytics tracking ID and google search
   console.
    Everytime I update my OceanWP theme I lose my tracking ID and need 
   to paste again.
 * What can I do to fix this issue? I prefer not to use extra plugins if possible.
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fanalytics-tracking-code-deleted%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11216814)
 * Hello,
 * Use Insert header and footer plugin to add the google analytics code. After installing
   the plugin, go to Dashboard > Settings > Insert header and Footer and add the
   code in the Head section.
 *  Thread Starter [lvee8778](https://wordpress.org/support/users/lvee8778/)
 * (@lvee8778)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11216842)
 * Will this impact my headers and footers I presently have? I have created them
   using elementor plugin.
    Is there any other way to do this which doesn’t require
   new plug ins? Thank you
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11216892)
 * No, it will not impact anything. You can also use OceanWP child theme to do this.
   After installing the OceanWP child theme, copy the header.php file into the child
   theme and add the code in the head section.
 *  Thread Starter [lvee8778](https://wordpress.org/support/users/lvee8778/)
 * (@lvee8778)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11216927)
 * Thank you Amit
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11217474)
 * You’re welcome!

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

The topic ‘Analytics Tracking Code Deleted’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/analytics-tracking-code-deleted/#post-11217474)
 * Status: not resolved