# Site wide tracking code

**URL:** <https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393>\
**Category:** RapidWeaver Classic\
**Created:** [October 20, 2015, 2:03pm UTC](https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393 "2015-10-20T14:03:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thkl](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/thkl/32/690_2.png) [@thkl](https://forums.realmacsoftware.com/u/thkl)\
**Post date:** [October 20, 2015, 2:03pm UTC](https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393/1 "2015-10-20T14:03:57Z")

</div>

I have to insert a tracking code on each sub page to enable the tracking of my different sub pages. The code has to be inserted before the closing head-tag. Is there a chance to do that via the site wide code feature of RW6?

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [October 20, 2015, 3:03pm UTC](https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393/2 "2015-10-20T15:03:24Z")

</div>

You place it here…

 ![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/b/b1ce8c8595fa9fa252bb8d738084b6137e8ab284.jpg)

---

<div class="post-metadata">

**Author:** ![NickWB](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/nickwb/32/703_2.png) [@NickWB](https://forums.realmacsoftware.com/u/NickWB)\
**Post date:** [October 20, 2015, 3:44pm UTC](https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393/3 "2015-10-20T15:44:49Z")

</div>

To add to Joe’s helpful information, it is possible to paste any tracking code in either the Google or GoSquared location and it will work.

I have used Statcounter for years and it works perfectly when pasted into the Google position (except you cannot of course click on the Shortcut icons for Google/GoSquared to view the stats).

---

<div class="post-metadata">

**Author:** ![thkl](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/thkl/32/690_2.png) [@thkl](https://forums.realmacsoftware.com/u/thkl)\
**Post date:** [October 20, 2015, 7:13pm UTC](https://forums.realmacsoftware.com/t/site-wide-tracking-code/3393/4 "2015-10-20T19:13:20Z")

</div>

Thanks a lot. That sounds easy. I just checked it and it works great, again, thanks a lot.
