mcsimpentinen / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

ga:pageTitle always returns (not set) #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Name of API affected:
Analytics Data Export API

Issue summary:
We currently use _trackPageview(URL) to track custom user actions by
providing a URL to a page that does not exist on the server (e.g.
_trackPageview("/actions/downloadfile"). 

We use the Data Export API to retrieve these actions by putting a filter on
the "ga:pagePath" dimension (e.g "ga:pagePath=@/actions/").

In the query dimensions we use the "ga:pageTitle" in addition to
"ga:pagePath" to get the title of the page on which the action occurred. 

It was working properly about 2 months ago but now we always get "(not
set)" for the "ga:pageTitle".

Steps to reproduce issue:
1. Use _trackPageview("actions/downloadfile") on a page
2. Query the API for that action as follows:

Dimentions: "ga:pageTitle", "ga:pagePath"
Metrics: "ga:pageviews"
Filter: "ga:pagePath=@/actions/"

Expected output:
The "ga:pageTitle" should return the title of the page on which the
_trackPageview method was called.

Actual results:
The "ga:pageTitle" always returns "(not set)"

Notes:
We use the _trackPageview method to track user actions because Event
Tracking information was not available from the API at that time.

Original issue reported on code.google.com by iyad.mar...@gmail.com on 13 Mar 2010 at 10:04

GoogleCodeExporter commented 9 years ago
What query are you using and what does it show in the Web Interface for the same
query/date range?

Original comment by nickski1...@gmail.com on 15 Mar 2010 at 5:41

GoogleCodeExporter commented 9 years ago
Here is the data feed URI that I am using:

https://www.google.com/analytics/feeds/data?ids=ga:########&dimensions=ga:pageTi
tle,ga:pagePath&metrics=ga:pageviews&filters=ga:pagePath=@/actions/&start-date=2
010-03-01&end-date=2010-03-15&max-results=50

What do you mean by Web Interface? I do not use any third-party wrapper. I call 
the
API directly via HTTP. I get the same results when I use the Query Explorer.

Please let me know if you need more information.

Thanks a lot

Iyad

Original comment by iyad.mar...@gmail.com on 15 Mar 2010 at 9:16

GoogleCodeExporter commented 9 years ago
Have you found any leads on this issue? 

If there is a quick workaround, that would also be appreciated.

Thanks

Original comment by iyad.mar...@gmail.com on 22 Mar 2010 at 11:05

GoogleCodeExporter commented 9 years ago
Hi again,

I just noticed that pages with (not set) as their pageTitle appear not only for 
pages
when the _trackPageview called with a URL parameter. But it also appears 
everywhere
in my reports even for pages with the _trackPageview is called with no 
parameters.
Although the pages have a page title and it is passed correctly when I check 
the HTTP
request with FireBug.

When I run the following query
Dimentions: "ga:pageTitle", "ga:pagePath"
Metrics: "ga:pageviews"

Sometimes I get 2 rows for the same page (pagePath), one with the pageTitle = 
(not
set) and another one having the correct title.

I have also noticed that this started to appear on October 5th 2009. And it 
seems to
have stopped on March 23rd 2010 after the latest release but I am not very sure 
about
this. I will have to wait for more data to be logged to make sure.

Have this issue been fixed in the latest release? because I did not see a note 
about
it in the release bug fixes.

I have also seen other people complaining about the same issue here:
http://www.google.com/support/forum/p/Google%20Analytics/thread?tid=5fbc3364f33f
a167&hl=en

Original comment by iyad.mar...@gmail.com on 24 Mar 2010 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
Just checked again. This issue has not been fixed in the latest release. It just
doesn't appear when I query 48 hours ago data.

Original comment by iyad.mar...@gmail.com on 25 Mar 2010 at 9:18

GoogleCodeExporter commented 9 years ago
Just noticed something else. Using the query explorer, when I execute the same 
query
multiple times in a row, sometimes I get ga:pageTitle with (not set) and 
sometimes it
returns the correct page title!

So, the page title must be logged correctly but when it's retrieved this issue 
occurs.

Original comment by iyad.mar...@gmail.com on 27 Mar 2010 at 9:39

GoogleCodeExporter commented 9 years ago
Attached are screenshots of the same query executed twice. In the first 
screenshot I
get two records for the same URL. One with (not set) as a pageTitle and another 
one
with the correct pageTitle. In the other screenshot (second execution of the 
same
query), the two records are aggregated into one with the correct pageTitle 
which is
the expected behavior.

Original comment by iyad.mar...@gmail.com on 27 Mar 2010 at 10:26

Attachments:

GoogleCodeExporter commented 9 years ago
Would you mind verifying that you're still seeing this issue?

Original comment by api.alex...@gtempaccount.com on 1 Jul 2010 at 5:25

GoogleCodeExporter commented 9 years ago
Hi,

I just checked and I am NOT seeing the issue anymore. It looks like it has been 
resolved.

Thank you for the followup.

Original comment by iyad.mar...@gmail.com on 7 Jul 2010 at 3:17

GoogleCodeExporter commented 9 years ago
Marvelous, glad to hear it:)

Closing as fixed.

Original comment by api.alex...@gtempaccount.com on 7 Jul 2010 at 4:58

GoogleCodeExporter commented 9 years ago
Removing an obsolete label that was used when these issues were in the 
gdata-issues project.

Original comment by jrobbins@google.com on 21 Jul 2011 at 10:04

GoogleCodeExporter commented 9 years ago
I'm seeing this bug repro using the latest version of the GA code. 

I'm seeing what the original poster described. 

We're using the async version of GA, with all GA code in the head. We track 
some pages uses the default url and sometimes using a custom url (utmp). 
The page title is sent to GA intermittently. 

I continue to see reports about this all over the web (e.g. 
http://www.google.com/support/forum/p/Google%20Analytics/thread?tid=276e991dc10c
250c&hl=en )

Any thoughts on what may be causing it and how to fix it?

Original comment by alexdpay...@gmail.com on 8 Aug 2011 at 9:51