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 1
marketing automation softwares alberta 1
marketing automation webcasting 1
marketing automation webcasts 3
online agency marketing automation platform 6
google.com Ranking As Of 24-Apr-2021
ares.net
ares p2p file sharing program 1
ares p2p network 2
revolutionary p2p file sharing system 6
official ares download 4
p2p file sharing platform ares 2
google.com Ranking As Of 24-Apr-2021
biyanitechnologies.com
ace digital language lab 1
ace digital language laboratory 1
ace digital language labs 1
ace digital languages lab 1
ace digital language laboratories 1
google.co.in Ranking As Of 24-Apr-2021
csrhub.com
buy csr tools 1
search sustainability ratings 1
social responsibility and sustainability ratings 1
social responsibility ratings 4
social sustainability ratings 5
google.com Ranking As Of 24-Apr-2021
emenu-international.com
emenu international 1
interactive emenu 2
international e-menu 1
international interactive emenu 1
emenu solutions 2
google.com Ranking As Of 24-Apr-2021
eremex.com
download topor pcb 1
topor competitive advantages 1
topological router for pcb 2
pcb design time reduction 2
topological router for printed circuit boards 2
google.com Ranking As Of 24-Apr-2021
greenviewdata.com
cloud email services ann arbor 3
premium antispam service ann arbor 1
secure hosted email services ann arbor 1
hosted email services ann arbor 10
secure email hosting services ann arbor 5
google.com Ranking As Of 24-Apr-2021
lumeta.com
real-time breach detection in somerset 6
real-time breach detection in somerset nj 3
real-time breach detection somerset 3
real-time breach detection somerset nj 5
somerset real-time breach detection 4
google.com Ranking As Of 24-Apr-2021
mirekusoft.com
buy install monitor software 1
buy install monitor softwares 1
buy program installation monitor 4
buy program installation monitor tool 3
software installation monitor tool 7
google.com Ranking As Of 24-Apr-2021
promero.com
oracle predictive dialer call center solution 1
oracle preview dialing software 1
predictive dialer software oracle 1
oracle call center software service 5
oracle call center software services 5
google.com Ranking As Of 24-Apr-2021
prowagersystems.com
bingo software for website 1
bitcoin poker software for web 2
custom html5 poker software 2
bitcoin poker software for websites 3
html5 poker software 10
google.com Ranking As Of 26-Apr-2021
railcarrx.com
railcar repair management software 1
railcar repair management softwares 1
railcar repair management 2
railcar service software 1
railcar software 4
google.com Ranking As Of 26-Apr-2021
remiware.co
crystal ssrs reports scheduling tool 1
schedule crystal ssrs report 1
schedule crystal ssrs reports 1
ssrs report scheduler software 2
ssrs crystal reports scheduler tool 1
google.com Ranking As Of 26-Apr-2021
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.