Title: Adding Google Analytics?
Last modified: August 21, 2016

---

# Adding Google Analytics?

 *  Resolved [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * (@joyced6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/)
 * I put the Google Analytics code without the script tags in the Mantra Settings-
   > Miscellaneous Settings -> Custom JavaScript, where I was successfully able 
   to put another script, but a user said they were getting some sort of error message
   about that script (no idea what was happening but I thought maybe the script 
   wasn’t working right & I didn’t want that to happen to any user). So I deleted
   it and put the full script in the Fourth Footer Widget Area in a Text box.
 * When I look at my page source (making sure to refresh & trying in different browsers),
   I still see the old script in the header area instead of the new script in the
   footer area.
 * Any ideas? Site is here: [http://dmuuc.org](http://dmuuc.org)

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

 *  Thread Starter [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * (@joyced6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176730)
 * I guess I was having a caching problem. I now see it, though it causes my footer
   to split in half which is not what I want. Is there a better way to put in the
   Analytics code?
 *  [thezedt](https://wordpress.org/support/users/thezedt/)
 * (@thezedt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176731)
 * You’re using caching and are seeing the page generated yesterday:
    _Cached page
   generated by WP-Super-Cache on 2013-09-29 23:10:08_
 * Turn it off and on or find the “empty cache” function.
 *  Thread Starter [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * (@joyced6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176757)
 * Duh, I forgot about that and thought it wasn’t set for administrators. Thanks!
   I’m still trying to figure out how to set the Google Analytics without causing
   a split footer. Any suggestion?
 *  [Dealhack](https://wordpress.org/support/users/sumocoupon/)
 * (@sumocoupon)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176759)
 * The cache thing gets me every time!
 * What do you mean by split footer?
 *  Thread Starter [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * (@joyced6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176777)
 * Actually, I went in to empty the cache and see that I have the plugin disabled.
   I thought it was causing problems and supposedly it is not caching now, though
   there certainly is caching happening somewhere.
 * Thanks for trying to help. When I view the footer on [http://dmuuc.org](http://dmuuc.org)
   I have one with a list of where members are located that should display across
   the whole bottom but it only displays across 1/2 that area now since I guess 
   the footer widget where I put the Google Analytics code is in the other 1/2.
 *  Thread Starter [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * (@joyced6)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176843)
 * So I re-enabled the cache plugin and deleted the cache, reset the timing, and
   set it to not include known users. Then I added the code to the 2nd footer with
   the member locations so the footer wouldn’t split. Done!

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

The topic ‘Adding Google Analytics?’ is closed to new replies.

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

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 6 replies
 * 3 participants
 * Last reply from: [JoyceD6](https://wordpress.org/support/users/joyced6/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/adding-google-analytics-7/#post-4176843)
 * Status: resolved