Report Center query examples
This page gathers Report Center query examples you can reuse as they are, simple or advanced, for the most common use cases: overall performance, traffic sources, campaigns, custom dimensions and period comparisons.
Structure of a query
A Report Center query is usually built from the following parts:
métrique(s) + store + dimension(s) / filtre(s) + période
Example:
visit visitor order order_amount website par_semaine depuis 1 mois
This query returns:
- visits;
- visitors;
- sales;
- revenue;
- per week;
- from the
websitestore; - over the last month.
Common parts
| Part | Role | Example |
|---|---|---|
| Metric | What you measure. | visit, visitor, order, order_amount |
| Store | The data source queried. | website, tracked_channels, de_website |
| Dimension | The axis of analysis. | par_country_city, par_campaign, groupe_par_dimension_2 |
| Filter | Restricts the results to a specific value. | pour_dimension_14_4 |
| Sort | Sorts the results. | order_desc |
| Limit | Caps the number of rows returned. | limite_10 |
| Period | Sets the period analysed. | cette semaine, depuis 1 mois, mois - 1 |
| Time granularity | Splits the results over time. | par_jour, par_semaine, par_mois |
Overall performance
Visits, visitors, sales and revenue per week
visit visitor order order_amount par_semaine website depuis 1 mois
Use:
- track the overall trend in traffic and sales;
- show the main KPIs over a recent period;
- see the trend week by week.
Recommended visualisation:
line
Top locations
Top 10 cities by number of visits
visit order_desc country_city par_country_city limite_10 cette semaine
Use:
- find the cities that generate the most visits;
- analyse the geographical spread of traffic over the current week.
Recommended visualisation:
pie
Campaigns and acquisition
Top 10 campaigns bringing in the most new visitors
new_visitor order_desc tracked_channels par_campaign par_publisher limite_10 par_jour depuis 1 mois
Use:
- find the campaigns that recruit the most new visitors;
- analyse performance by campaign and by publisher;
- follow the trend day by day.
Recommended visualisation:
line
Year-on-year comparison of the campaigns bringing in the most new visitors
new_visitor order_desc tracked_channels par_campaign par_publisher limite_2 par_mois du 01/01/2022 au 31/12/2022 et du 01/01/2023 au 31/12/2023
Use:
- compare recruitment performance between two years;
- find the campaigns that contribute most over two equivalent periods.
Recommended visualisation:
line
Traffic sources
Revenue by traffic source last month
order_amount order_desc landing_page_website landing_page_fixed_media mois - 1
Use:
- analyse the traffic sources that generate the most revenue;
- work on the previous month’s performance.
Recommended visualisation:
bar
Baskets by referring domain last month
cart order_desc landing_page_referer_media par_referer_domain mois - 1
Use:
- find the referring domains that generate the most baskets;
- analyse how external sources contribute to basket behaviour.
Recommended visualisation:
bar
Landing pages
Top 5 landing pages by visits and sales this month
visit order order_desc landing_page_website par_semaine limite_5 ce mois
Use:
- follow the landing pages that generate the most traffic and sales;
- analyse how they change week by week.
Recommended visualisation:
bar
Devices and user context
Revenue by device type this week
order_amount order_desc device par_device_hardware_vendor cette semaine
Use:
- compare revenue by device;
- find the environments that contribute most to sales.
Recommended visualisation:
table
Daily unique visitors by channel over the last 30 days
visitor par_jour tracked_channels depuis 30 jours
Use:
- track the trend in visitors by channel;
- analyse daily acquisition trends.
Recommended visualisation:
line
Dimension Explorer
Queries that use the de_website store let you analyse custom dimensions activated in Dimension Explorer.
For more detail on scopes and crossing dimensions, see the documentation dedicated to Dimension Explorer.
Visits by custom dimension
scopevisitvisit groupe_par_dimension_2 de_website cette semaine
Use:
- count visits per value of a custom dimension;
- analyse a dimension activated in Dimension Explorer.
Recommended visualisation:
table, line, bar
Visits by combination of dimensions
scopevisitvisit groupe_par_dimension_2 groupe_par_dimension_14 groupe_par_dimension_3 de_website cette semaine
Use:
- cross several dimensions in one analysis;
- analyse combinations of values at visit level.
Recommended visualisation:
table
Page views, visits and daily visitors by profile
scopevisithit scopevisitvisit scopevisitdvisitor de_website groupe_par_dimension_14 la semaine derniere
Use:
- analyse traffic by profile;
- compare page views, visits and daily visitors;
- use a custom dimension, here dimension
14as an example.
Recommended visualisation:
table, bar
Page views, visits and daily visitors for one specific profile
scopevisithit scopevisitvisit scopevisitdvisitor de_website groupe_par_dimension_14 pour_dimension_14_4 la semaine derniere
Use:
- filter the analysis on one specific dimension value;
- in this example, analyse the
shopperprofile, identified by value4of dimension14.
Recommended visualisation:
table, bar
Visits by page group for one specific audience
scopevisitvisit groupe_par_dimension_2 pour_dimension_13_402 de_website depuis 6 jours
Use:
- analyse visits by page group;
- filter the results on one specific audience;
- in this example, dimension
13is the audience and value402is the audience analysed.
Recommended visualisation:
table
Comparing periods
Compare a KPI across two years
order_amount par_mois website du 01/01/2022 au 31/12/2022 et du 01/01/2023 au 31/12/2023
Use:
- compare revenue over two equivalent periods;
- follow the monthly trend of a KPI across two years.
Recommended visualisation:
line
Good practice
- Start with a simple query before adding dimensions or filters.
- Use
order_descwithlimite_Nto build readable top lists. - Add
par_jour,par_semaineorpar_moisto follow a trend over time. - Check that the store you use matches the kind of analysis you want.
- For
de_websitequeries, check that the dimensions you call are activated in Dimension Explorer. - Do not mix the specialised stores and
de_websitein the same line of analysis without checking the scope of the data. - For Dimension Explorer, always check the scope of the metric used before interpreting the result.