Dimension Explorer
Dimension Explorer lets you analyse Eulerian metrics by crossing them with custom dimensions.
It is used in the Report Center to answer precise questions, for example:
- how many visits viewed a product page and then bought;
- how many baskets come from mobile users;
- how many sales were generated by a given audience or profile;
- how performance varies across a custom dimension.
How it works
Dimension Explorer rests on three notions:
| Notion | Description |
|---|---|
| Metric | Numeric value used to count or measure an event. |
| Dimension | Descriptive attribute attached to a hit, a visit or a user. |
| Scope | Level at which the metric is calculated: hit, visit, daily visitor or monthly visitor. |
A metric answers the question “how many?”.
A dimension answers the question “broken down by what?”.
Activating dimensions
Dimension Explorer is not switched on automatically for every parameter.
Dimensions have to be activated explicitly, one parameter at a time. That way you choose exactly which attributes are stored and made available in queries.
The system lets you activate up to 30 custom dimensions at the same time.
Data is only available from the date the dimension was activated. Earlier historical data is not stored retroactively.
Parameters you can activate as dimensions
Any attribute collected by the Eulerian tag can be activated as a dimension, subject to availability.
Examples:
| Parameter type | Examples |
|---|---|
| Page information | PageInfo, PageLabel1 to PageLabel5, page group |
| Actions | Action name, action label |
| Custom parameters | Custom parameters sent in the tag |
| CRM parameters | Customer ID, CRM segment |
| Browsing profile | Eulerian profile, for example shopper or browser |
| Product | Product parameters and product values |
| Device and context | Device type, browser, geolocation, language |
Using Dimension Explorer in the Report Center
Activated dimensions are available in the Report Center through the datastore:
de_website
General structure of a query:
[métriques] de_website [dimensions] [période]
Minimal example:
event de_website groupe_par_dimension_pagelabel1 hier
This query returns the number of hits per value of PageLabel1 for the previous day.
Number of dimensions in a query
A Dimension Explorer query can combine up to 5 dimensions.
Example:
event de_website groupe_par_dimension_1 groupe_par_dimension_2 groupe_par_dimension_3 groupe_par_dimension_4 groupe_par_dimension_5 hier
The more dimensions you add, the more carefully you need to read the result, because it depends on the scope of the metric used.
Understanding scopes
A scope defines the level at which a metric is calculated.
| Scope | Level of analysis | Starts | Ends |
|---|---|---|---|
hit | Page view or event | A hit is triggered | A new hit or the end of the session |
visit | Visit / session | First hit of the session | End of the session, usually after inactivity |
dvisitor | Daily visitor | First session of the day | End of the day |
visitor | Monthly visitor | First session of the month | End of the calendar month |
Some dimensions, such as geolocation, device type, browser or language, are only available at visit level, because they do not change within a session.
Main metrics
| Metric | Description |
|---|---|
hit | Incremented for every hit collected. |
visit | Incremented when a visit opens. |
dvisitor | Incremented when a daily visitor opens. |
visitor | Incremented when a calendar-month visitor opens. |
scart | Incremented when a new basket is created. |
scartvalid | Incremented when a new sale is created. |
scartvalidamount | Amount of a validated sale. |
estimatevalid | Incremented when a new quote is created. |
estimatevalidamount | Amount of a created quote. |
Most used metric aliases
In Dimension Explorer, some metrics have simplified aliases.
| Alias | Full metric | Description |
|---|---|---|
event | scopehithit | Number of hits. |
event_session | scopevisitvisit | Number of visits. |
event_daily | scopedvisitordvisitor | Number of daily visitors. |
event_monthly | scopevisitorvisitor | Number of monthly visitors. |
event_scart | Depends on Dimension Explorer configuration | Number of baskets. |
event_order | Depends on Dimension Explorer configuration | Number of validated sales. |
event_order_amount | Depends on Dimension Explorer configuration | Amount of validated sales. |
event_estimate | Depends on Dimension Explorer configuration | Number of quotes created. |
event_estimate_amount | Depends on Dimension Explorer configuration | Amount of quotes created. |
A point to check during configuration: depending on the settings available in your environment, the aliases for baskets, sales and quotes may be exposed with a hit or a visit scope. Before interpreting these metrics, check their full name in the Report Center.
Grouping by dimension
To break a metric down by dimension, use:
groupe_par_dimension_X
Example, hits per page label:
event de_website groupe_par_dimension_pagelabel1 hier
In this query:
eventis the number of hits;de_websiteis the Dimension Explorer datastore;groupe_par_dimension_pagelabel1breaks the results down by value ofPageLabel1;hier(yesterday) sets the period.
Filtering on a dimension value
To restrict the results to one specific value, use:
pour_dimension_X_Y
Example, hits on pages where PageInfo = cart:
event de_website groupe_par_dimension_pageinfo pour_dimension_pageinfo_cart hier
Example, visits that viewed a page where PageInfo = cart:
event_session de_website groupe_par_dimension_pageinfo pour_dimension_pageinfo_cart hier
The behaviour depends on the scope of the metric used.
The difference between event and event_session
The difference between event and event_session is essential.
| Metric | Scope | How to read it |
|---|---|---|
event | hit | The dimensions must be present in the same hit. |
event_session | visit | The dimensions can appear at different points in the same visit. |
Example · A single dimension
Sample data:
| Visit | Page | PageLabel1 |
|---|---|---|
| V1 | Page A | Home |
| V1 | Page B | Product |
| V1 | Page C | Cart |
| V2 | Page D | Home |
| V2 | Page E | Product |
Query at hit level
event de_website groupe_par_dimension_pagelabel1 hier
Expected result:
| PageLabel1 | event |
|---|---|
Home | 2 |
Product | 2 |
Cart | 1 |
Each hit is counted on the row for its own value of PageLabel1.
Query at visit level
event_session de_website groupe_par_dimension_pagelabel1 hier
Expected result:
| PageLabel1 | event_session |
|---|---|
Home | 2 |
Product | 2 |
Cart | 1 |
A visit is counted once for each value of PageLabel1 seen during the session.
Example · Several dimensions at hit level
Query:
event de_website groupe_par_dimension_pagelabel1 groupe_par_dimension_actionname hier
With event, the dimensions must be present in the same hit.
Sample hits:
Hit A → PageLabel1 = Product, ActionName = AddToCart
Hit B → PageLabel1 = Cart, ActionName = Continue
Hit C → PageLabel1 = Home, aucune action
Result:
| PageLabel1 | ActionName | event |
|---|---|---|
Product | AddToCart | 1 |
Cart | Continue | 1 |
The value Home does not appear, because no action was present in the same hit.
Remember: at hit level, a combination of dimensions only exists if the values are sent in the same tag call.
Example · Several dimensions at visit level
Query:
event_session de_website groupe_par_dimension_pagelabel1 groupe_par_dimension_actionname hier
With event_session, the dimensions can be present in different hits of the same visit.
Sample visit:
Hit 1 → PageLabel1 = Home
Hit 2 → PageLabel1 = Product, ActionName = AddToCart
Hit 3 → PageLabel1 = Cart, ActionName = Continue
Possible result:
| PageLabel1 | ActionName | event_session |
|---|---|---|
Home | AddToCart | 1 |
Home | Continue | 1 |
Product | AddToCart | 1 |
Product | Continue | 1 |
Cart | AddToCart | 1 |
Cart | Continue | 1 |
These combinations exist at session level, even if some of the values were never sent together in the same hit.
Remember: at visit level, the engine combines the values seen within one session.
Special case · Several actions in one hit
A single hit can contain several actions.
Example:
PageLabel1 = Product
ActionName = AddToCart
ActionName = OpenSizeGuide
If a query filters on:
pour_dimension_actionname_addtocart
with a metric at hit scope, the hit is selected because it contains the AddToCart action.
The other dimensions present in the same hit may also appear in the results, for example OpenSizeGuide.
That does not mean OpenSizeGuide matched the filter. It means that this action belongs to the same hit as the filtered action.
Useful analysis examples
Conversion funnel by audience
event_session event_scart event_order event_order_amount de_website groupe_par_dimension_audience cette_semaine
Analyses sessions, baskets, orders and amounts by audience.
Performance by device and profile
event_session event_order de_website groupe_par_dimension_devicetype groupe_par_dimension_profile cette_semaine
Compares performance by device type and user profile.
Daily trend by audience
event_session event_order de_website groupe_par_dimension_audience par_jour depuis_30_jours
Tracks the day-by-day trend in sessions and orders by audience.
Sales by sale type
event_order event_order_amount de_website groupe_par_dimension_sale_type cette_semaine
Breaks sales and revenue down by sale type, if that dimension is activated.
A page group by audience
event_session de_website groupe_par_dimension_pagegroup groupe_par_dimension_audience cette_semaine
Identifies the audiences that view certain page groups.
Summary of operations
| Need | Syntax | Effect |
|---|---|---|
| Group by dimension | groupe_par_dimension_X | Breaks the results down by value of dimension X. |
| Filter on a value | pour_dimension_X_Y | Keeps only the scopes that contain value Y for dimension X. |
| Group by two dimensions at hit level | event ... groupe_par_dimension_X groupe_par_dimension_Y | Combines X and Y only if both values are present in the same hit. |
| Group by two dimensions at session level | event_session ... groupe_par_dimension_X groupe_par_dimension_Y | Combines X and Y if both values are seen in the same session. |
| Filter, then group | groupe_par_dimension_X pour_dimension_Y_Z | Breaks down by X only on the scopes that contain Y = Z. |
| Add daily granularity | par_jour | Adds a breakdown by day. |
Choosing the right scope
| Analysis need | Recommended scope |
|---|---|
| Analyse only the hits that match a precise condition | hit |
| Analyse the visits in which a condition occurred | visit |
| Analyse user behaviour over one day | dvisitor |
| Analyse user behaviour over a calendar month | visitor |
Points to watch
- Dimension Explorer must be activated one dimension at a time.
- Data is not retroactive: it is only available from the moment the dimension is activated.
- A query can combine up to 5 dimensions.
- The metric’s scope determines the scope of the analysis.
- The same filter can give different results depending on whether the metric’s scope is
hit,visit,dvisitororvisitor. - With
event, the dimensions must be present in the same hit. - With
event_session, the dimensions can appear at different points in the same session. - The sum of the rows in a breakdown by dimension can be higher than the overall total, because one scope can hold several values.
visit-onlydimensions, such as device, browser, geolocation or language, must not be read as hit dimensions.- Before interpreting a metric, always check its alias and its full name in the Report Center.
- Do not compare two metrics with different scopes directly without stating their scope.