Analytics Data Source
Marketing teams, product teams, and executives regularly need to see analytics data alongside operational data. How many new users came in this week, and how does that compare to the number of orders processed? Which pages drove the most conversions, and what's the fulfillment status on those orders? These questions require combining web analytics with business records.
The analytics data source brings traffic and conversion data into Swifty dashboards.
Connect Your Analytics Service
Add an analytics connection in workspace settings. Enter the service credentials — typically an API key and the ID of the property or project to query. Once connected, analytics metrics are available as a data source type throughout the builder.
The analytics data source is available alongside all other data sources. Components that work with any data source — charts, metrics cards, tables — work with analytics data.
What Analytics Data Contains
An analytics data source exposes the metrics and dimensions available from the connected service. Common dimensions include date, page URL, traffic source, device type, and country. Common metrics include sessions, users, page views, conversion events, and custom events.
In the builder, you configure a query by selecting the dimension to group by and the metric to aggregate. "Sessions by day for the last 30 days" or "Conversions by traffic source this month" are typical queries.
Display Options
Trend charts: Time-series data displayed as line or bar charts. A "sessions over time" chart on a dashboard gives an instant sense of traffic trends.
Metrics cards: Current period values with period-over-period comparison. "Sessions this week: 12,450 (+8% vs last week)" in a compact card.
Tables: Ranked lists — top pages by views, top traffic sources by conversions. Sortable and filterable within the analytics data.
Combined views: Analytics data alongside internal data on the same page. Show content publication rate on one panel and the traffic that content is generating on the adjacent panel.
Date Range Controls
Analytics queries respect date range filters configured on the component or on the page. A date range picker component connected to the analytics data source allows users to adjust the time window and see all connected components update simultaneously.
Privacy and Data Residency
Analytics data is fetched from the connected service at query time and is not stored in Swifty's database. The platform acts as a query proxy — it requests data, formats it for components, and returns it. No analytics data is retained after the request completes.