Results 1 to 2 of 2
-
02-09-2012, 07:18 AM #1
Freshman
- Join Date
- Aug 2011
- Posts
- 38
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
PHP template site and Google Analytics
I have a single website (I made it myself) with one header, footer and multiple sites in between (I use php include function). I also created a simple command that dynamically changes pages title depening on the site that is used; thats from the header.php
<meta charset="utf-8" />
<title><?php if (isset($subtitle)) { echo $subtitle; } ?></title>
<link rel="stylesheet" href="css/main.css" type="text/css" />
</head>
I just signed up for Google Analytics and I know that I need to add the code they provide just before the </head> tag and I am wondering how is it gonna affect tracking all the pages that I have:
Home
Services
Resources
Blog
Contact
I am gonna be embeding Wordpress into the site, but I am not gonna worry about tracking all the pages there etc, but I would like to have separate data for all the listed above subpages. What is the way to do that? Is it gonna work if I am just gonna add the code to single header.php file now?
Thank you.
-
02-27-2012, 09:01 PM #2
Google Analytics usually tracks pages individually.
Similar Threads
-
How to install Google Analytics in my site?
By sureshseo in forum Search Engine OptimizationReplies: 8Last Post: 02-15-2012, 12:45 AM -
Google Analytics
By honestman in forum Search Engine OptimizationReplies: 3Last Post: 01-24-2010, 10:11 AM -
use Analytics and estimate Your site’s Performance
By theseomonk in forum GoogleReplies: 0Last Post: 12-31-2009, 07:24 AM -
Google Analytics
By arvind963 in forum Search Engine OptimizationReplies: 9Last Post: 07-21-2009, 02:02 AM -
Google analytics
By himoacs in forum GoogleReplies: 2Last Post: 07-07-2008, 09:52 AM


Reply With Quote

