English 中文(简体)
Google Analytics API - Tying Behavior to Specific Dates
原标题:

I am using the API to understand the performance of Adwords ad campaigns. I need to know how to attribute metrics back to the date dimension.

For instance, for a given date, if I have 20 clicks, 18 visits, and 3 goal completions, does it mean that: 1) All of these actions happened on the day in question and are otherwise independent (meaning that the 3 goals could have been for people that clicked any time in the past 30 days, not who clicked on that day) 2) The on-site actions are a subset of the click activity on that day (i.e. on that day, 20 people clicked, 18 registered a real visit, and 3 completed a goal)

If it is scenario 2, does that mean there is a need to refresh old rows every day?

Thanks!

问题回答

It s actually none of the above - actions are sent to Google with a timestamp of when the action occurred. If the action occurs between the daterange you have specified, it will send the action to you through the API. If you are looking at visits, clicks, and goal completions, we as humans assume they are linked, because we know that we cannot have a click or a goal completion without a visit. The Analaytics system, however, doesn t make this assumption.

Let s say that you are using the "Campaign" dimension with "Visits", "Clicks", and "Goal1 Completion". If you request this information with a daterange of 7-25-2011 to 7-25-2011, you will ONLY get visits, clicks, and goal completions that were sent to google on this day. If you have a visitor that arrives just before midnight and makes clicks both before and after midnight in the same session, their clicks will be split between the two days.

Now if you want to break it down by hour instead (using the "Hour" dimension), you will see all of those clicks/visits broken up by the hour which they were sent. The combined values of the metrics should equal the metrics for the day.

In short, you re requesting all visits and all clicks and all goal completions rather than all clicks and goal completions by visit.





相关问题
How to divide a search query into sub queries?

I am just wondering if there is an algorithm that can divide a user input query for a search engine into a set of sub queries. for example if the entered query is "plcae to stay and eat" the sub ...

Is there a lighter version of Google Analytics for Flash

40k of compiled code seems like a lot to me to be making some straightforward flash-javascript calls and makes GA unsuitable for banner ad work as well. Does anyone know if there is a lite version ...

PHP GET question - calling from a POST call

I have a quick question i hope you guys can answer, i ve got a search system that uses POST to do searches, now i want to track queries using Google Analytics but it requires using GET url parameters ...

Google Analytics to track FireFox extension use

I m developing a Firefox extension and would like to track its use with google analytics, but I can t get it working. I ve tried manually calling a function from ga.js, but that didn t work for some ...

Google Analytics _trackEvent troubles

I m having some noob troubles with Google Analytics and _trackEvent. Using it seems straight forward in the documentation, but I can t get this simple example to work. The call to _trackEvent fails ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

热门标签