Title: Tracking code not visible
Last modified: April 30, 2020

---

# Tracking code not visible

 *  Resolved [michaelmartin73](https://wordpress.org/support/users/michaelmartin73/)
 * (@michaelmartin73)
 * [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/)
 * Hi Daan,
 * I hope you are well. I’ve just installed your plugin, but for some reason I cannot
   find the tracking code in view source of any of my site pages? I’ve cleared caches.
   I set **Position of tracking-code** in **settings** to **Footer** as I read that
   this can help with speed, but I can’t find my analytics id anywhere in the page.
   Have I misunderstood what should be happening? It’s been a long day and my brain
   is fried 😉 Thank you for your help.
 * Michael.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftracking-code-not-visible%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/#post-12760567)
 * Hi Michael,
 * Fried brains are the worst 😉
 * First off, thanks for trying out CAOS.
 * Secondly, are you logged in while searching for the tracking code? If so, by 
   default, CAOS removes the tracking code for logged in administrators. This behavior
   can be changed under Advanced Settings.
 * But an easier method to get around being logged in, is probably opening a private
   window and checking the source there. 🙂
 * If it doesn’t help, let me know!
 *  Thread Starter [michaelmartin73](https://wordpress.org/support/users/michaelmartin73/)
 * (@michaelmartin73)
 * [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/#post-12760710)
 * Hi Daan, thank you for your quick reply! And thank you for offering a great free
   plugin 🙂
 * You are right, I am logged in – I’m sorry I didn’t realize that made a difference.
   I’ve just checked in a private window as you suggested and sure enough the code
   is there in the footer, so that is great, thank you.
 * I wanted to also ask please about gtag.js – I read that analytics.js has been
   relegated due to being old and that gtag.js is recommended by Google. Is that
   right? I am pretty much totally confused with all this! I have left it as analytics.
   js in the plugin settings as you mentioned in the help file that it’s better 
   for speed results (which I seem to be having issues with all of a sudden as of
   April 25th! Weird because I had no issues at all prior to that date… Anyway… 
   Onwards and upwards!).
 * I appreciate your help and clarifying my very muddy understanding 🙂
 * Keep well in these mad times 🙂
 * Michael.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/#post-12760731)
 * Nah, analytics.js isn’t ‘old’. [This article](https://daan.dev/wordpress/difference-analyics-gtag-ga-js/)
   might help you out.
 *  Thread Starter [michaelmartin73](https://wordpress.org/support/users/michaelmartin73/)
 * (@michaelmartin73)
 * [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/#post-12760812)
 * Thank you Daan

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

The topic ‘Tracking code not visible’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

## Tags

 * [view source](https://wordpress.org/support/topic-tag/view-source/)

 * 4 replies
 * 2 participants
 * Last reply from: [michaelmartin73](https://wordpress.org/support/users/michaelmartin73/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/tracking-code-not-visible/#post-12760812)
 * Status: resolved