You can define the period to examine using the calendar area. You may apply 1 analysis period as well as up to 2 comparison periods.
You can make queries in real time on data from the current day, simply by modifying the period in the calendar.
Tip: You can extract data from the 5 last real-time minutes using our API. For details on the syntax, please see the API section.
Set periods and relative periods
Each calendar can use either a set period (ex: "May 2015") or a relative period (ex: "last month").
For relative periods, you can use our selection of pre-set periods, or create your own relative period using the "Last X periods" and "Period -X" options.
When selecting "Last X periods", you can set your analysis to one particular day of the week, such as all Mondays during the chosen period:
Tip: Use relative periods if you plan to regularly consult an analysis. In doing so, you won't need to change the date, as the date will dynamically change over time.
For example, use the relative period "Previous week" in order to measure, on every Monday, how your marketing campaigns performed during the previous week.
For set periods, you can directly choose days, weeks or months, according to your needs. Set periods let you choose a start date and an end date using a traditional calendar:
Once your first analysis has been set up, you can add up to 2 other complementary periods. To do this, click the "Add calendar" button.
Tip: You may combine relative and set periods.
Each metric in your template can be associated with the period of your choice. By default, all metrics are configured for the first period (P1).
The returned data set will list all of the items related to the analysis period (P1). In P2 and P3 columns, you'll get the numbers of the P1 items on both P2 and P3. If items didn't generate traffic on P1 but did have on P2 or P3, they will not be listed in this data set as P1 is the reference period.
If you need to edit the period you've applied to a metric, simply click on that metric and change the period in question using the "Choice of period" drop-down list.
Tip: At least one metric must be based on the first P1 period. If not, the other periods will not work.
By default, the available period for on-the-fly analyses is 1 year. However, depending on the dimensions or metrics that you're using, the analysis window may be reduced to 45 days*, whether it's the last 45 days, or any other 45-day period occurring during your data history.
As on-the-fly calculations can be lengthy and complex, you may be prompted to launch a pre-calculation. Once the pre-calculation has finished, you will be able to retrieve your analysis up to 1 year.
* This 45-day limitation is a default value and can be increased upon option subscription. Please get in touch with our Support Centre or your AT Internet contact to get more information.
> More information is available in the Pre-calculation of complex templates section.