Quantcast
Viewing all articles
Browse latest Browse all 4243

sum_daily_nb_uniq_visitors calculations incorrect for some ranges with UserCountry API (2 replies)

Has anyone else had issues with 'sum_daily_nb_uniq_visitors' returned from the API? I am getting very odd results that I cannot explain.

I am using the UserCountry.getCity method. When I make a call for a range of 2013-10-01 to 2013-10-31, 'sum_daily_nb_uniq_visitors' values appear correct, based on historical usage of the site, typically around 95% of nb_visits.

If, however, I increase the date range by moving the start date back one day to make the range 2013-09-30 to 2013-10-31, 'sum_daily_nb_uniq_visitors' values actually decrease by a ridiculously large amount. Something has to be wrong here.

I've noted this same behavior in getRegion and getCountry methods as well.

Anyone else notice this problem and/or have a workaround for it?

UPDATE: I realized I didn't make it very clear, but this is happening when period=range.

Viewing all articles
Browse latest Browse all 4243

Trending Articles