Title: google analytics
Last modified: August 19, 2016

---

# google analytics

 *  [mjw architects](https://wordpress.org/support/users/mjw-architects/)
 * (@mjw-architects)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/)
 * would like to use google analytics to monitor web search stats but I need to 
   pase a code in the page I want to track. I was going to try it out on the home
   page. Has anyone used it? How do you paste the code into the page?

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

 *  [c.e.macht](https://wordpress.org/support/users/cemacht/)
 * (@cemacht)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1538657)
 * I used Google Analytics on a Joomla project. As far as I remember, all you do
   is paste the GoogleAnalytics Tracking Snippet in footer.php just before the closing`
   </body>` and `</html>` tags. That should be all.
 *  Thread Starter [mjw architects](https://wordpress.org/support/users/mjw-architects/)
 * (@mjw-architects)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1538680)
 * When it comes to codes I get lost! Where do I find footer.php?
 *  [DigitalMcGrath](https://wordpress.org/support/users/digitalmcgrath/)
 * (@digitalmcgrath)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1538687)
 * You can use this in your functions.php file:
 *     ```
       <?php
       add_action('wp_footer', 'add_googleanalytics');
       function add_googleanalytics() { ?>
       // Paste your Google Analytics code here
       <?php } ?>
       ```
   
 *  Thread Starter [mjw architects](https://wordpress.org/support/users/mjw-architects/)
 * (@mjw-architects)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1539001)
 * Sorry for the like of technical skills but where do I find the functions.php 
   file? When found I presume you just paste it in?
 *  [ddsuresh](https://wordpress.org/support/users/ddsuresh/)
 * (@ddsuresh)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1539002)
 * mjw architects,
 * You can find the functions.php and footer.php under your activated themes folder
 *     ```
       wp-content\themes\<theme-folder-name>\functions.php
       wp-content\themes\<theme-folder-name>\footer.php
       ```
   
 * for example, default theme folder will be
 * `wp-content\themes\default\footer.php`
 * Thanks,
    Suresh [http://www.largeresource.net](http://www.largeresource.net)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1539008)
 * Go to Appearance/Editor in your admin panel, select the Footer template, and 
   paste the code somewhere above the `</body>` tag.
 * Or, use a plugin instead:
 * [http://wordpress.org/extend/plugins/google-analyticator/](http://wordpress.org/extend/plugins/google-analyticator/)

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

The topic ‘google analytics’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-33/#post-1539008)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
