Our Blog

Relative Dates and New Sample Size Features in Google Analytics APIs

You Are Here :
Home
Blog
Our Blog

Relative Dates and New Sample Size Features in Google Analytics APIs

Google aims to make its Google Analytics API as simple to use as possible and so towards that effect it has released two more features that make it even easier to use.

Relative Dates

All MCF Reporting and Core API queries earlier required a start and an end date. In the earlier version users had to tell the App what today’s date was and then input the date for 14 days and only then could they see the data.

To make things easier for users Google has recently added support for relative dates. From now on users can specify ‘X’ days ago as a value for either the end date or start date. This effectively means that users can now express dates as:

Start – date=15daysAgo&end – date=yesterday

This will automatically determine the date range and data will be displayed for the last fortnight or whatever time period you enter.

Sample size control

You can also sample data in certain circumstances. Google has added a few new features that will allow you to easily modify setting and obtain reports of the sample.

First, Google has included a new query parameter that allows you to set the level of sampling. From now on developers are at liberty to obtain samples that are either quick or precise.

Second, two more features are added to the API response:

  1. sampleSize – The number of samples that are used for a sample query
  2. sampleSpace – The sampling space size. This indicates from what available sample space size the samples were selected.

With these additional features, users can compute the percentage of visits that were used for a query. For example if the sample Size = 95000 and sampleSpace = 100000, then the report is based on 95% of total visits. This gives developers a good idea of the amount of data that was used for calculating the sample.

Getting started on these two features is easy. A reference guide on these features is available which you can access and make the necessary changes to begin using these features.

Why Choose Anuva?

Anuva is a leading Digital Marketing Company providing results-driven Internet Marketing Services including Local SEO Services, Online Reputation Management Services, WordPress SEO, Ecommerce SEO, Professional SEO Services, SEO Consulting Services, SEO Audit Services, etc. to clients worldwide. Looking for Google Ads Services OR Facebook Ads Agency? We are a highly experienced PPC Management Company specialized in eCommerce PPC Management. Please check our Client Testimonials and SEO Rankings for you to see the outstanding results we have achieved. Contact us to generate a Huge ROI on your invested dollars from our strongest Online Marketing Services.

We Are Qualified
SEO Ranking
activedemand.com
digital marketing automation platform alberta 8
marketing automation softwares alberta 8
marketing automation webcasting alberta 1
marketing automation webcasts alberta 9
online agency marketing automation platform 9
google.com Ranking As Of 26-Aug-2023
ares.net
ares p2p file sharing program 1
ares p2p network 1
official ares download 3
p2p file sharing platform ares 1
revolutionary p2p file sharing system 3
google.com Ranking As Of 26-Aug-2023
biyanitechnologies.com
biyani digital language lab 1
biyani digital language laboratory 1
biyani digital language labs 1
biyani digital languages lab 1
biyani sugar factory software 7
google.co.in Ranking As Of 26-Aug-2023
csrhub.com
csr data 2
csr ratings comparision 1
search sustainability rating 1
search sustainability ratings 3
social responsibility and sustainability ratings 1
google.com Ranking As Of 26-Aug-2023
emenu-international.com
emenu international 1
emenu solutions 6
interactive emenu 1
international e-menu 1
international interactive emenu 1
google.com Ranking As Of 26-Aug-2023
eremex.com
download topor pcb 1
pcb design time reduction 1
topological router for pcb 1
topological router for printed circuit boards 1
topor competitive advantages 1
google.com Ranking As Of 26-Aug-2023
greenviewdata.com
firewall mail server 1
ldap base dn 2
reporting mta 2
spamstopshere 2
zimbra greenview data 1
google.com Ranking As Of 26-Aug-2023
lumeta.com
real-time breach detection in somerset 7
real-time breach detection in somerset nj 9
real-time breach detection somerset 3
real-time breach detection somerset nj 8
somerset real-time breach detection 7
google.com Ranking As Of 26-Aug-2023
mirekusoft.com
buy install monitor software 1
buy install monitor softwares 1
buy program installation monitor 3
buy program installation monitor tool 2
software installation monitor tool 3
google.com Ranking As Of 26-Aug-2023
promero.com
oracle call center software service 5
oracle call center software services 8
oracle predictive dialer call center solution 1
oracle preview dialing software 1
predictive dialer software oracle 1
google.com Ranking As Of 26-Aug-2023
railcarrx.com
railcar repair management 2
railcar repair management software 4
railcar repair management softwares 3
railcar service software 8
railcar software 9
google.com Ranking As Of 26-Aug-2023
remiware.co
crystal ssrs reports scheduling tool 1
schedule crystal ssrs report 2
schedule crystal ssrs reports 1
ssrs crystal reports scheduler tool 1
ssrs report scheduler software 2
google.com Ranking As Of 26-Aug-2023
Testimonial
You have all done a wonderful job making both of my websites look more modern and professional. I would also like to say how excellent your customer support has been. Any and all concerns I had were addresses immediately with no questions asked....
- Beau Mason
We are more than satisfied with Anuva's Search Engine Optimization services. They have developed and upgraded our website and promoted the business very efficiently. Kudos! Keep it up! We have emerged as a reputed large scale organization and...
- Richard, Seattle
Why Us?
  • 70% + Cost Savings
  • IP Protection & Confidentiality
  • Expert Team with Global Delivery Experience
  • Business and Domain Expertise
  • Maintain your Competetive Edge

Call Me Back

    Success! Thanks for Your Request.
    Error! Please Try Again.