Brightspot CMS User Guide

Understanding time intervals for analytics


One of the settings you can configure for accumulating analytics is the time interval.

  • Past DaysPast HoursPast Months, and Past Years—Use one of these options to accumulate analytics over a unit of time that you specify.
  • Set DaySet MonthSet Week, and Past Years—Use one of these options to accumulate analytics for a specific unit of time.

Analytics period Analytics period

Referring to the previous illustration, Brightspot accumulates analytics for the past 30 days using a clock in the eastern United States (UTC − 4 or 5 hours, depending on daylight savings or standard time).

Latest and earliest times in a reporting period

Brightspot applies the following logic to determine the latest and earliest times in a reporting period:

  1. Capture the current time.
  2. Compute the latest time in the interval by rounding down the current time to the requested unit.
  3. Compute the earliest time in the interval by subtracting the number of units (less one) from the latest time.

The following table provides examples for determining the reporting period for hours, days, months, and years.

If you want analytics for the past…

and the current time is…

Latest time in reporting interval

Earliest time in reporting interval

Seven hours

August 15, 2019, 8:15 AM

August 15, 2019, 8:00 AM

August 15, 2019, 1:00 AM

Seven days

August 15, 2019, 8:15 AM

August 15, 2019, 12:00 AM

August 8 2019, 12:00 AM

Seven months

August 15, 2019, 8:15 AM

August 1, 2019, 12:00 AM

January 1, 2019, 12:00 AM

Seven years

August 15, 2019, 8:15 AM

January 1, 2019, 12:00 AM

January 1, 2012, 12:00 AM

The following diagram illustrates the reporting interval for a seven-day report. The request was made during the day, and Brightspot accumulates data starting from the previous complete day for a total of seven days.

Analytics reporting interval Analytics reporting interval

Adjusting for time zones in reporting periods

The times in the previous table are server times—the time on the Brightspot server. If your Brightspot server is in New York, then the server’s clock is most likely running on Eastern Standard Time or Eastern Daylight Time. (You can determine your server’s time zone by clicking menu > Sites & Settings > Global > Front-End > Time Zone.)

Suppose one of your sites addresses a market in London (Western European Time) and your Brightspot server is in New York (Eastern Standard Time). In this scenario, Brightspot accumulates the analytics after adjusting the counts for the five-hour difference.

Analytics adjustments for time zones Analytics adjustments for time zones

In the previous illustration, Brightspot adjusts the intervals forward by five hours (using the purple intervals), and then accumulates the analytics.

Previous Topic
Viewing asset-level analytics
Next Topic
Configuring Analytics
Tags
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News