API Getting Daily Visits for Past 30 Days


#1

Hello Everyone,

I was wondering if there is a way to get the daily visits using the API for the past 30 days without having to call the API 30 times per day? Goggle allows a person to pass in an option of dimension as ga:date and it will return the session counts per individual days and for the total count for the specified period.

Thank you for your time,


(Matthieu Aubry) #2

Hi there, sure you can do in the API request URL: &period=day&date=last30


#3

wonderful!, Thank you very much for your help.