Finding oldest start date

2,208 views
Skip to first unread message

JoshL

unread,
Apr 24, 2009, 1:11:40 PM4/24/09
to google-analytics-api - GA Data Export API
Does anyone have a good idea on how to find the FIRST day that data
was collected for a campaign, other than going back as far as the API
will let you and seeing which pageview number is not zero?

There has to be some kind of API call I can make that lets me easily
see the first day that data is available.

If not, what is the oldest date we can use? I tried 2000 and it
failed.

Regards,

Josh

POP Analytics

unread,
Apr 24, 2009, 2:16:07 PM4/24/09
to google-analytics-api - GA Data Export API
I'm pretty sure you can't just ask for the first date any data was
collected for a campaign (at least not in GA).
If these are Adwords campaigns, you should be able to get the start
date through the AdWords API.

Otherwise, I'm afraid you'll have to interactively search for it.

- Ophir

Nick

unread,
Apr 24, 2009, 4:22:21 PM4/24/09
to google-analytics-api - GA Data Export API
Hi Josh,

Ophir is right, there is no way through the GA Export API to know when
was the first date GA started collecting particular data.

We launched Google Analytics back in November of 2005....so there will
be no data avaliable before that time.
-Nick

Jacob Matthews

unread,
Apr 24, 2009, 5:33:56 PM4/24/09
to google-analytics-api - GA Data Export API
Currently there's no better way to get that information than to go
back and just get the date of your site's first recorded visit. The
API lets you go back to 2005-01-01, and you can use filters and max-
results to make the API send you back just date you're interested in:

www.google.com/analytics/feeds/data?ids=[id]&start-date=2005-01-01&end-date=[today]&dimensions=ga:date&metrics=ga:visits&filters=ga:visits%3E0&max-results=1

This query will return a single entry whose ga:date dimension is the
date of the first recorded visit to your site.

-Jacob Matthews

romi

unread,
Dec 2, 2012, 1:05:11 AM12/2/12
to google-analytics...@googlegroups.com
Yes I found a way..

On the "Audience" -> "Overview"  select the date from a month where you think the initial date of GA integrated to your website and select the current date. Then on the graph you`ll see the visitors starting date. By this you can guess the date...
Reply all
Reply to author
Forward
0 new messages