Google analytics setting - unifying index.php + / base directory

48 views
Skip to first unread message

Cod3r

unread,
Dec 19, 2009, 5:48:08 AM12/19/09
to google-analytics-api - GA Data Export API
In Google Analytics, "top content" tab, I can see something like
this :

/
251 17.63%
/form.php
197 13.83%
/index.php
168 11.80%
/indepen.php
122 8.57%
[...]

As you can see the first page and the third page are the same... But
analytics does not understand that / is the same as index.php and show
them separately, while it SHOULD add them together and display them as
a single page.

How do I set it so both these numbers/stats become one and the same?

Note: This post might be slightly off topic since it has to do with
google analytics, but not the API. But I asked this question elsewhere
and nobody seems to know the answer... I am hoping you GA API coders
will have a better ideas since you are the GA advanced users.

Cod3r

unread,
Dec 21, 2009, 8:32:44 AM12/21/09
to google-analytics-api - GA Data Export API
will creating an htaccess 301 redirect from index.php to the main
domain work? and are there any risks of creating a loop? (the web
server direction the main domain to index.php, then index.php being
redirected to the domain...)

Nick

unread,
Dec 21, 2009, 2:17:07 PM12/21/09
to google-analytics-api - GA Data Export API
Hi,

General implementation questions should go to our general help forum:
http://www.google.com/support/forum/p/Google+Analytics/?hl=en

The answer is to configure your default pages through the admin
interface: http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55608
-Nick

Cod3r

unread,
Dec 22, 2009, 5:53:16 AM12/22/09
to google-analytics-api - GA Data Export API
Hi,

I had index.php set as my homepage since the beginning (months ago)
but I still see separate statistics for index.php and /

Could this be a bug

On Dec 21, 2:17 pm, Nick wrote:
> Hi,
>
> General implementation questions should go to our general help forum:http://www.google.com/support/forum/p/Google+Analytics/?hl=en
>
> The answer is to configure your default pages through the admin
> interface:http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&ans...

chrissky

unread,
Dec 22, 2009, 10:40:45 AM12/22/09
to google-analytics-api - GA Data Export API
Hi,

Our approach at ShufflePoint is to do a post-query transform on the
feed with a regex-based aggregation of pagePath metrics.

- Chris
Reply all
Reply to author
Forward
0 new messages