Title: Analytics Install
Last modified: August 19, 2016

---

# Analytics Install

 *  Resolved [jcbridges](https://wordpress.org/support/users/jcbridges/)
 * (@jcbridges)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/)
 * Trying to install Google Analytics and it gives me a few ways to do it. I am 
   thinking that the PHP method is best. So I save the tracking code as analyticstracking.
   php and upload into which folder on my site? Do I put it in the wp-content folder?
 * Also it says to include this line of code to the template page:
 * > <?php include_once(“analyticstracking.php”) ?>
 * before the </body> tag. I have two template pages, a main index template and 
   a page template. Here is the page template code:
 * _[Code moderated as per the [Forum Rules](http://wordpress.org/support/topic/68664)]_
 * Where should I put the line of code in there and do I need to add it to the index
   template as well?

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

 *  Thread Starter [jcbridges](https://wordpress.org/support/users/jcbridges/)
 * (@jcbridges)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/#post-1396508)
 * Ok so my post got modded but no insight?
 *  [dyakub](https://wordpress.org/support/users/dyakub/)
 * (@dyakub)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/#post-1396511)
 * the easiest way would be to install the google analytics plugin and just copy
   the tracking code from your analytics account into the plugin settings
 *  Thread Starter [jcbridges](https://wordpress.org/support/users/jcbridges/)
 * (@jcbridges)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/#post-1396523)
 * Which plugin? I see several GA plugins available. Also after I install and add
   my GA account ID how long does it take for Google to recognize it?
 *  Thread Starter [jcbridges](https://wordpress.org/support/users/jcbridges/)
 * (@jcbridges)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/#post-1396529)
 * got it thanks!

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

The topic ‘Analytics Install’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jcbridges](https://wordpress.org/support/users/jcbridges/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/analytics-install/#post-1396529)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
