Skip to Content

Adobe Analytics Connection Details

Introduction

Connector Version

This documentation is based on version 25.0.9368 of the connector.

Get Started

Adobe Analytics Version Support

The connector leverages the Adobe Analytics API v2.0 to enable access to Adobe Analytics objects, such as dimensions, metrics, and users.

Establish a Connection

Connect to Adobe Analytics

To connect to Adobe Analytics, both the GlobalCompanyId and RSID must be identified. By default, the connector attempts to identify your company and report suite automatically. However, you can also specify these values explicitly:

Global Company Id

The GlobalCompanyId is an optional connection property. If left empty, the connector attempts to automatically detect the Global Company ID. To find the Global Company ID:

  1. Locate it in the request URL for the users/me endpoint on the Swagger UI.
  2. Expand the users endpoint, then click GET users/me.
  3. Click Try it out > Execute.
  4. Set the GlobalCompanyId connection property to the Global Company ID shown in the request URL immediately preceding the users/me endpoint.
Report Suite Id

RSID is also an optional connection property. If not set, the driver tries to detect it automatically. To view all of your report suites and their identifiers, go to Admin > Report Suites.

Authenticate to Adobe Analytics

Adobe Analytics uses the OAuth authentication standard. You can authenticate with OAuth integration or Service Account integration.

User Accounts (OAuth)

You must set AuthScheme to OAuth for all user account flows.

Desktop Applications

An embedded OAuth application is provided that simplifies OAuth desktop authentication. Alternatively, you can create a custom OAuth application. Review Creating a Custom OAuth App for more information.

Get and Refresh the OAuth Access Token

Set the following properties to connect:

  • InitiateOAuth: Set to GETANDREFRESH to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.
  • OAuthClientId (custom applications only): Set to the client ID assigned when you registered your app.
  • OAuthClientSecret (custom applications only): Set to the client secret assigned when you registered your app.
  • CallbackURL (custom application only): Set to the redirect URI defined when you registered your app. For example: https://localhost:3333

When you connect, the connector opens Adobe Analytics's OAuth endpoint in your default browser. Log in and grant permissions to the application. The connector then completes the OAuth process:

  1. The connector obtains an access token from Adobe Analytics and uses it to request data.
  2. The OAuth values are saved in the location specified in OAuthSettingsLocation, to persist across connections.

The connector refreshes the access token automatically when it expires.

Service Account

Service accounts have silent authentication, which does not require user authentication in the browser.
You need to create an application for this flow. Review Creating a Custom OAuth App to create and authorize an application. You can then connect to Adobe Analytics data that the service account has permission to access.

Server-to-Server OAuth

Set the AuthScheme to OAuthClient to authenticate with this method.

Set the following properties to connect:

When you connect, the connector completes the OAuth flow for a service account.

  1. Retrieves an access token by using the provided OAuthClientId and OAuthClientSecret in a Client Credentials OAuth flow.
  2. Saves OAuth values in OAuthSettingsLocation to persist across connections.
  3. Requests new access token when the token expires.

Create a Custom OAuth App

You must create a custom OAuth app to connect to the Adobe Analytics.

Create an App for OAuth Integration

Follow the steps below to create a custom app and obtain the connection properties in a specific OAuth authentication flow.

  1. Navigate to the following URL: https://console.adobe.io/home.
  2. Click the Create new project button.
  3. Select the Add API option.
  4. Select Adobe Analytics, click Next, and then select OAuth and then click Next again.
  5. Select the Web option and fill out the redirect URIs. For a desktop application, you can use a localhost URL such as https://localhost:33333. For a web application, supply the URL of the page to redirect to on your website.
  6. Click Save configured API.

Your client is now created. Notice your client has an Client ID (API Key) and a Client Secret. These will be needed to get your auth code and to generate access tokens.

Create an App for Service Account Integration

Use the following steps to create a custom app and obtain the connection properties in a specific Service Account authentication flow.

  1. Navigate to the following URL: https://console.adobe.io/home.
  2. Click Create new project.
  3. Select Add API.
For Server-to-Server OAuth:
  1. Select Adobe Analytics, click Next, then select OAuth Server-to-Server and click Next again.
  2. Select one or more product profiles (you can set app permissions in product profiles) and click Save configured API.

Your client is now created. You will have the Client ID (API Key) and Client Secret, which are needed to generate access tokens.

Important Notes

Configuration Files and Their Paths

  • All references to adding configuration files and their paths refer to files and locations on the Jitterbit agent where the connector is installed. These paths are to be adjusted as appropriate depending on the agent and the operating system. If multiple agents are used in an agent group, identical files will be required on each agent.

Advanced Features

This section details a selection of advanced features of the Adobe Analytics connector.

User Defined Views

The connector supports the use of user defined views, virtual tables whose contents are decided by a pre-configured user defined query. These views are useful when you cannot directly control queries being issued to the drivers. For an overview of creating and configuring custom views, see User Defined Views.

SSL Configuration

Use SSL Configuration to adjust how connector handles TLS/SSL certificate negotiations. You can choose from various certificate formats. For further information, see the SSLServerCert property under "Connection String Options".

Proxy

To configure the connector using private agent proxy settings, select the Use Proxy Settings checkbox on the connection configuration screen.

Query Processing

The connector offloads as much of the SELECT statement processing as possible to Adobe Analytics and then processes the rest of the query in memory (client-side).

For further information, see Query Processing.

Log

For an overview of configuration settings that can be used to refine logging, see Logging. Only two connection properties are required for basic logging, but there are numerous features that support more refined logging, which enables you to use the LogModules connection property to specify subsets of information to be logged.

User Defined Views

The Adobe Analytics connector supports the use of user defined views: user-defined virtual tables whose contents are decided by a preconfigured query. User defined views are useful in situations where you cannot directly control the query being issued to the driver; for example, when using the driver from Jitterbit.

Use a user defined view to define predicates that are always applied. If you specify additional predicates in the query to the view, they are combined with the query already defined as part of the view.

There are two ways to create user defined views:

  • Create a JSON-formatted configuration file defining the views you want.
  • DDL statements.

Define Views Using a Configuration File

User defined views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The connector automatically detects the views specified in this file.

You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the connector.

This user defined view configuration file is formatted so that each root element defines the name of a view, and includes a child element, called query, which contains the custom SQL query for the view.

For example:

{
    "MyView": {
        "query": "SELECT * FROM SampleTable_1 WHERE MyColumn = 'value'"
    },
    "MyView2": {
        "query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
    }
}

Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:

"UserDefinedViews", "C:\Users\yourusername\Desktop\tmp\UserDefinedViews.json"

Define Views Using DDL Statements

The connector is also capable of creating and altering the schema via DDL Statements such as CREATE LOCAL VIEW, ALTER LOCAL VIEW, and DROP LOCAL VIEW.

Create a View

To create a new view using DDL statements, provide the view name and query as follows:

CREATE LOCAL VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;

If no JSON file exists, the above code creates one. The view is then created in the JSON configuration file and is now discoverable. The JSON file location is specified by the UserDefinedViews connection property.

Alter a View

To alter an existing view, provide the name of an existing view alongside the new query you would like to use instead:

ALTER LOCAL VIEW [MyViewName] AS SELECT * FROM Customers WHERE TimeModified > '3/1/2020';

The view is then updated in the JSON configuration file.

Drop a View

To drop an existing view, provide the name of an existing schema alongside the new query you would like to use instead.

DROP LOCAL VIEW [MyViewName]

This removes the view from the JSON configuration file. It can no longer be queried.

Schema for User Defined Views

In order to avoid a view's name clashing with an actual entity in the data model, user defined views are exposed in the UserViews schema by default. To change the name of the schema used for UserViews, reset the UserViewsSchemaName property.

Work with User Defined Views

For example, a SQL statement with a user defined view called UserViews.RCustomers only lists customers in Raleigh:

SELECT * FROM Customers WHERE City = 'Raleigh';

An example of a query to the driver:

SELECT * FROM UserViews.RCustomers WHERE Status = 'Active';

Resulting in the effective query to the source:

SELECT * FROM Customers WHERE City = 'Raleigh' AND Status = 'Active';

That is a very simple example of a query to a user defined view that is effectively a combination of the view query and the view definition. It is possible to compose these queries in much more complex patterns. All SQL operations are allowed in both queries and are combined when appropriate.

SSL Configuration

Customize the SSL Configuration

By default, the connector attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.

To specify another certificate, see the SSLServerCert connection property.

Data Model

The Adobe Analytics connector models Adobe Analytics objects as an easy-to-use SQL database, using views and stored procedures. These are defined in schema files, which are simple, easy-to-read text files that define the structure and organization of data.

Views

The Views section, which lists read-only SQL tables, contain samples of what you might have access to in your Adobe Analytics account.

The following views are included with the application:

View Description
CalculatedMetrics Retrieve a list of all calculated metrics defined within your Adobe Analytics environment, including custom formulas built on top of standard metrics.
CollectionSuites Return the list of data collection suites configured in Adobe Analytics, which represent logical groupings of tracking data within a report suite.
Dimensions List all available dimensions that can be used to segment and break down Adobe Analytics data, such as page name, device type, or campaign.
KeyMetrics Display high-level engagement metrics like page views and visits for a specified time range (defaults to the past 30 days).
LastTouchChannel Identify the last marketing channel attributed to each visitor during their session, based on Adobe's last-touch attribution model.
LastTouchChannelDetail View detailed attributes of the last-touch marketing channel, such as referring domain, tracking code, or campaign ID.
Metrics Retrieve all available standard and custom metrics that measure user behavior and site performance in Adobe Analytics.
Orders Summarize the total number of purchase events recorded across all tracked orders within a specified time period (defaults to 30 days).
PageOccurrences Display the number of times a page was involved in a tracked interaction or persisted as a dimension value within the selected reporting window.
Pages Identify pages on your site ranked by popularity, based on views and interactions during a selected reporting period (defaults to 30 days).
PageViews Show the total number of page views recorded, helping you understand overall traffic volume over a specified date range.
Products Return order counts grouped by product name or SKU, allowing analysis of top-performing items sold within the last 30 days.
Revenue Aggregate the total revenue generated from all completed orders within the reporting period (defaults to 30 days).
Segments Retrieve the list of predefined and custom segments available in your Adobe Analytics account, including shared and curated segments.
SiteSections Identify the most trafficked or highest-converting sections of your site, based on page grouping and content hierarchy.
TrackingCode View which marketing or campaign tracking codes drove the most traffic to your site over a given period.
Units Show the total number of individual product units purchased across all orders in the selected reporting window.
UniversalReport Run a unified report that includes all configured dimensions and metrics for a broad view of user behavior and performance.
Users List the users who have access to Adobe Analytics, including login details, roles, and account status.
Visitors Display the total number of unique individuals who accessed your site during the reporting period (defaults to the past 30 days).
Visits Show the number of individual sessions recorded during the specified date range, regardless of visitor identity.

Stored Procedures

Stored Procedures are SQL scripts that extend beyond standard CRUD operations. They can be used to access additional capabilities of the Adobe Analytics API.

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

Adobe Analytics Connector Views

Name Description
CalculatedMetrics Retrieve a list of all calculated metrics defined within your Adobe Analytics environment, including custom formulas built on top of standard metrics.
CollectionSuites Return the list of data collection suites configured in Adobe Analytics, which represent logical groupings of tracking data within a report suite.
Dimensions List all available dimensions that can be used to segment and break down Adobe Analytics data, such as page name, device type, or campaign.
KeyMetrics Display high-level engagement metrics like page views and visits for a specified time range (defaults to the past 30 days).
LastTouchChannel Identify the last marketing channel attributed to each visitor during their session, based on Adobe's last-touch attribution model.
LastTouchChannelDetail View detailed attributes of the last-touch marketing channel, such as referring domain, tracking code, or campaign ID.
Metrics Retrieve all available standard and custom metrics that measure user behavior and site performance in Adobe Analytics.
Orders Summarize the total number of purchase events recorded across all tracked orders within a specified time period (defaults to 30 days).
PageOccurrences Display the number of times a page was involved in a tracked interaction or persisted as a dimension value within the selected reporting window.
Pages Identify pages on your site ranked by popularity, based on views and interactions during a selected reporting period (defaults to 30 days).
PageViews Show the total number of page views recorded, helping you understand overall traffic volume over a specified date range.
Products Return order counts grouped by product name or SKU, allowing analysis of top-performing items sold within the last 30 days.
Revenue Aggregate the total revenue generated from all completed orders within the reporting period (defaults to 30 days).
Segments Retrieve the list of predefined and custom segments available in your Adobe Analytics account, including shared and curated segments.
SiteSections Identify the most trafficked or highest-converting sections of your site, based on page grouping and content hierarchy.
TrackingCode View which marketing or campaign tracking codes drove the most traffic to your site over a given period.
Units Show the total number of individual product units purchased across all orders in the selected reporting window.
UniversalReport Run a unified report that includes all configured dimensions and metrics for a broad view of user behavior and performance.
Users List the users who have access to Adobe Analytics, including login details, roles, and account status.
Visitors Display the total number of unique individuals who accessed your site during the reporting period (defaults to the past 30 days).
Visits Show the number of individual sessions recorded during the specified date range, regardless of visitor identity.

CalculatedMetrics

Retrieve a list of all calculated metrics defined within your Adobe Analytics environment, including custom formulas built on top of standard metrics.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Id [KEY] String System-assigned unique ID used to reference the calculated metric in API calls, queries, or configuration files.
Name String Descriptive label for the calculated metric, used in dashboards, reports, and metric selectors.
ReportSuiteName String Name of the Adobe Analytics report suite in which the calculated metric is defined.
Description String Clarifies the metric's purpose, formula logic, and how it contributes to business analysis.
Created Datetime Timestamp of when the calculated metric was first created within Adobe Analytics.
Modified Datetime Timestamp of the last modification to the metric's configuration, logic, or metadata.
Type String Data type used to format the calculated metric's output. Common values: int, decimal, percentage, currency.
OwnerId String ID of the Adobe Analytics user who originally created the calculated metric.
OwnerName String Full name of the user listed as the creator and owner of the metric.
Category String User-defined tag or folder used to categorize the calculated metric for easier management.
SiteTitle String Title of the website or digital asset linked to the report suite where this metric is used.
Polarity String Indicates whether a higher value for the metric is favorable or unfavorable. Valid values: positive, negative.
Precision Integer Controls the number of digits displayed after the decimal point for the metric in reports.
Template String Template ID used to generate this metric from a predefined calculation blueprint. Applies only when IncludeType = templates.
Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
IncludeType String Determines which types of calculated metrics to return. Options: all (all company metrics), shared (metrics shared with the user), and templates (metric templates only).

CollectionSuites

Return the list of data collection suites configured in Adobe Analytics, which represent logical groupings of tracking data within a report suite.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Rsid [KEY] String Unique identifier of the collection suite.
Name String The name of the collection suite.
ParentRsid String Unique identifier of the parent of this collection suite.
Currency String Default currency used in this collection suite.
Type String The type of the collection suite. For example, report suite.
Timezone String The timezone of the collection suite.

Dimensions

List all available dimensions that can be used to segment and break down Adobe Analytics data, such as page name, device type, or campaign.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Id [KEY] String Unique identifier of the dimension.
RSID String Unique identifier of the report suite the dimension is in.
Title String The title of the dimension.
Name String The name of the dimension.
Type String The type of the dimension. For example string, int, enum etc.
Description String A description of the dimension.
Category String The category of the dimension.
Pathable Boolean Whether or not the dimension is pathable.
Segmentable Boolean Whether or not the dimension is segmentable.
ReportType String The type of the reports in which this dimension is valid.
Support String The type of the reports in which this dimension is supported.

KeyMetrics

Display high-level engagement metrics like page views and visits for a specified time range (defaults to the past 30 days).

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [KeyMetrics] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metrics occurred.
PageViews Int True True The number of times a given dimension item was set or persisted on a page. It is one of the most common and basic metrics in reports.
Visits Int True True The number of sessions across all visitors on the site.
UniqueVisitors Int True True The number of unique individuals who have visited the site during a specified time period. This can help you understand the overall reach of the site.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

LastTouchChannel

Identify the last marketing channel attributed to each visitor during their session, based on Adobe's last-touch attribution model.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [LastTouchChannel] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
LastTouchChannel String True True The most recent marketing channel attributed to a visitor before a conversion or key interaction, based on Adobe Analytics attribution rules.
UniqueVisitors Int True True The count of distinct users who visited the site during the selected date range, based on browser cookies or visitor IDs.
StartDate String The start date for the reporting period used to filter and return relevant data.
EndDate String The end date for the reporting period used to filter and return relevant data.
SegmentId String The ID of a user-defined or system-defined segment used to limit the report data to specific audience criteria.

LastTouchChannelDetail

View detailed attributes of the last-touch marketing channel, such as referring domain, tracking code, or campaign ID.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [LastTouchChannelDetail] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
LastTouchChannelDetail String True True Specific subcategory or granular value of the last marketing channel attributed to a visitor before a conversion or significant interaction.
UniqueVisitors Int True True The number of distinct users who accessed the site during the defined reporting period, based on visitor identification mechanisms.
StartDate String The starting date of the reporting window used to filter data.
EndDate String The ending date of the reporting window used to filter data.
SegmentId String The unique identifier of a segment used to restrict the dataset to a specific audience or behavior group.

Metrics

Retrieve all available standard and custom metrics that measure user behavior and site performance in Adobe Analytics.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Id [KEY] String Unique identifier of the metric.
RSID String Unique identifier of the report suite the metric is in.
Title String The title of the metric.
Name String The name of the metric.
Type String The type of the metric, for example int, percent, currency etc.
Description String A description for the metric.
Category String The category of the metric.
Calculated Boolean Whether or not this metric is calculated metric.
Segmentable Boolean Whether or not this metric is segmentable.
Polarity String Takes two value: positive and negative. Determines if it's positive or not if the metric increases.
Precision Integer The precision of the metric.

Orders

Summarize the total number of purchase events recorded across all tracked orders within a specified time period (defaults to 30 days).

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Orders] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
Orders Int True True The total number of purchase events made on your site. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to an order.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

PageOccurrences

Display the number of times a page was involved in a tracked interaction or persisted as a dimension value within the selected reporting window.

This predefined report view is based on the 'Next Page' and 'Previous Page' Adobe Analytics template. If no segment filter is specified, this view returns a report containing only the Page dimension and the Occurrences metric. To generate a 'Next Page' or 'Previous Page' report, you must specify the corresponding segment using the SegmentId column in the WHERE clause.

By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

An example query would be:

SELECT * FROM [PageOccurrences] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Page String True True The names of pages on your site.
Occurrences Double True True The number of hits where a given dimension was set or persisted.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Pages

Identify pages on your site ranked by popularity, based on views and interactions during a selected reporting period (defaults to 30 days).

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Pages] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Page String True True The names of pages on your site.
PageViews Int True True Shows the number of times a given dimension item was set or persisted on a page. It is one of the most common and basic metrics in reports.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

PageViews

Show the total number of page views recorded, helping you understand overall traffic volume over a specified date range.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [PageViews] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
PageViews Int True True Shows the number of times a given dimension item was set or persisted on a page. It is one of the most common and basic metrics in reports.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Products

Return order counts grouped by product name or SKU, allowing analysis of top-performing items sold within the last 30 days.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Products] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Product String True True The name of the product in the hit.
Orders Int True True The total number of purchase events made on your site. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to an order.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Revenue

Aggregate the total revenue generated from all completed orders within the reporting period (defaults to 30 days).

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Revenue] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
Revenue Decimal True True The monetary amount of products purchased within all orders. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to revenue.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Segments

Retrieve the list of predefined and custom segments available in your Adobe Analytics account, including shared and curated segments.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Id [KEY] String Unique identifier of the segment.
Name String The name of the segment.
ReportSuiteName String The name of the report suite the segment was created in.
Description String A description for the segment.
Created Datetime The datetime the segment was created.
Modified Datetime The datetime the segment was last modified.
OwnerId String The unique identifier of the user that created the segment.
OwnerName String The name of the user that created the segment.
Version String The version of the segment.
Type String A comma-separated list of segment types. Allowed values are: shared, templates, curatedItem .
SiteTitle String The title of the site.

SiteSections

Identify the most trafficked or highest-converting sections of your site, based on page grouping and content hierarchy.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [SiteSections] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
SiteSection String True True The names of site sections on your site.
Visits Int True True The number of sessions across all visitors on the site.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

TrackingCode

View which marketing or campaign tracking codes drove the most traffic to your site over a given period.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [TrackingCode] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
TrackingCode String True True The names of tracking codes on your site.
Visits Int True True The number of sessions across all visitors on the site.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Units

Show the total number of individual product units purchased across all orders in the selected reporting window.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Units] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
Units Int True True The total number of products purchased within all orders. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to the number of products purchased.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

UniversalReport

Run a unified report that includes all configured dimensions and metrics for a broad view of user behavior and performance.

View Specific Information
Select

This view includes every available dimension and metric. To create a valid custom Adobe Analytics report, ensure your SELECT query includes at least one metric column along with any desired subset of dimension columns from the list.

To define the reporting period, specify the StartDate and EndDate in your WHERE clause. If no dates are specified, the report defaults to a period starting from two years ago up to today. If only a StartDate is provided, the EndDate defaults to today, and if only an EndDate is provided, the StartDate defaults to two years ago from the specified EndDate.

You can also filter the report to a specific segment by including the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT [Time Spent on Page - Bucketed], [Browser], [Browser Height - Bucketed], [Browser Type], [Average Page Depth], [Average Time Spent on Site (seconds)], [Bot Occurrences], [Bot Page Views], [Bounce Rate] FROM [UniversalReport]
WHERE [StartDate] = '2023-01-01' AND [EndDate] = '2023-01-31' AND [SegmentId] = 's300012345_1234567890'

This approach enables you to generate a tailored report by choosing the specific columns and applying the necessary date range and segment filters directly in your query.

Default Dimension

Date is the default dimension for this report as well, so the query:

SELECT * FROM [UniversalReport]

will become:

SELECT Date, {all the metrics here} FROM [UniversalReport]

Default Metric

Occurrences is the default metric for this report if no valid metric is specified in the query, so the query:

SELECT Date FROM [UniversalReport]

will become:

SELECT Date, Occurrences FROM [UniversalReport]
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The 'Date' dimension.
Occurrences Int True True The number of hits where a given dimension was set or persisted.
Time Spent on Page - Bucketed String True The amount of time a visitor spends on the page. The amount of time is categorized into different time ranges or
Bot Name String True Shows the names of the bots detected or custom bot rules supplied.
Browser String True Shows the name and version of the browser used to access the site.
Browser Height - Granular String True Categorizes site visitors based on the height of their browser window.
Browser Height - Bucketed String True Shows the height of the browser window, classified in groups of 100 pixels.
Browser Type String True Shows the name of browser providers used to access the site (such as Google and Apple).
Browser Width - Granular String True Shows the width of the browser window, classified in groups of 100 pixels.
Browser Width - Bucketed String True Shows the width of the browser window, classified in groups of 100 pixels. This can help you optimize content for viewing.
Tracking Code String True The 'Tracking Code' dimension.
Category String True The product category of the hit. If your implementation uses the 'products' variable, this can help you see metrics about the product category, such as top sellers or most viewed.
ClickMap Action (Legacy) String True Identifies the type of click that a visitor made on a specific element of a web page.
ClickMap Action Type (Legacy) String True The 'ClickMap Action Type (Legacy)' dimension.
ClickMap Context (Legacy) String True The 'ClickMap Context (Legacy)' dimension.
ClickMap Context Type (Legacy) String True The 'ClickMap Context Type (Legacy)' dimension.
ClickMap Source ID (Legacy) String True The 'ClickMap Source ID (Legacy)' dimension.
ClickMap Tag (Legacy) String True The 'ClickMap Tag (Legacy)' dimension.
Code Version String True The 'Code Version' dimension.
Color Depth String True The number of colors that a screen supports.
Connection Type String True The method used by a visitor to connect to the internet, such as a wired or wireless connection. This can help you know how to optimize site content based on visitors' connection speeds.
Cookie Support String True Whether a visitor's browser supports cookies for a given hit. This can help you determine the ratio of visitors who use browsers that support cookies, and those who intentionally disable them.
Currency String True The 'Currency' dimension.
Currency Factor String True The 'Currency Factor' dimension.
Currency Rate String True The 'Currency Rate' dimension.
Custom Hit Time UTC String True The 'Custom Hit Time UTC' dimension.
Customer Loyalty String True The degree to which visitors consistently engage with and return to the site over time. This can help you understand how the site affects purchasing behavior.
Customer Perspective String True The 'Customer Perspective' dimension.
Custom Link String True Shows the names of custom links on your site. This can help you understand the types of links visitors most often click.
Custom Visitor ID String True The 'Custom Visitor ID' dimension.
Daily Unique Customers String True The number of unique visitors per day.
Hour String True The hour that a given metric occurred (rounded down). This can help you see metrics over time in trended reports.
Minute String True The minute that a given metric occurred (rounded down). This can help you see metrics over time in trended reports.
Month String True The month that a given metric occurred. This can help you see metrics over time in trended reports.
Quarter String True The quarter that a given metric occurred. This can help you see metrics over time in trended reports.
Week String True The week that a given metric occurred. This can help you see metrics over time in trended reports.
Year String True The year that a given metric occurred.
Days Before First Purchase String True The number of days between a user's first visit to a website and their first purchase.
Days Since Last Purchase String True The number of days between a visitor's current visit and their most recent purchase. This can help you understand visitor behavior after making a purchase on the site.
Days Since Last Visit String True The number of days between a visitor's current visit and their most recent visit. This can help you understand visitor behavior after visiting the site.
Domains String True Access points that visitors use to access the internet.
Download Link String True The names of download links on the site. This can help you understand things like which files are downloaded most frequently and whether visitors download different file types if offered.
Duplicate Purchase String True The 'Duplicate Purchase' dimension.
Entry Page String True The names of pages on your site. This can help you understand which pages on your site perform the best. This is one of the most commonly used dimensions.
Visit Start Page String True The 'Visit Start Page' dimension.
Entry Page Original String True The first page viewed by a visitor when they enter the site.
Entry Custom Insight 1 String True The 'Entry Custom Insight 1' dimension.
Entry Custom Insight 2 String True The 'Entry Custom Insight 2' dimension.
Entry Custom Insight 3 String True The 'Entry Custom Insight 3' dimension.
Entry Custom Insight 4 String True The 'Entry Custom Insight 4' dimension.
Entry Custom Insight 5 String True The 'Entry Custom Insight 5' dimension.
Entry Server String True The 'Entry Server' dimension.
Entry Site Section String True Lists the names of site sections on your site. For large sites, it is helpful to group pages into sections. This dimension is useful to see the top-viewed or top-performing site sections.
Internal Campaign String True The 'Internal Campaign' dimension.
Internal Search Terms String True The 'Internal Search Terms' dimension.
Exit Link String True The names of links that leads visitors away from the site. This can help you understand which links are most popular that point to domains outside of your site.
Exit Page String True The names of pages on your site. This can help you understand which pages on your site perform the best. This is one of the most commonly used dimensions.
Exit Server String True The 'Exit Server' dimension.
Exit Site Section String True Lists the names of site sections on your site. For large sites, it is helpful to group pages into sections. This dimension is useful to see the top-viewed or top-performing site sections.
Domain String True The 'Domain' dimension.
First Touch Channel String True The first marketing channel a visitor matches with during their engagement period. This can help you understand which marketing channels drive initial traffic to the site.
First Touch Channel Detail String True The first marketing channel a visitor matches with during their engagement period. This can help you understand what contributed to the hit matching a marketing channel.
Cities String True The geographic location of a visitor at the city level.
Geo Segmentation Cities String True The 'Geo Segmentation Cities' dimension.
Countries String True The geographic location of a visitor at the country level.
US DMA String True The geographic location of a visitor at the Designated Market Area (DMA) level.
Geo Latitude String True The 'Geo Latitude' dimension.
Geo Longitude String True The 'Geo Longitude' dimension.
Regions String True The geographic location of a visitor at the region level.
Geo Zip String True The 'Geo Zip' dimension.
Hit Datetime String True The date and time of a visitor's interaction with the site.
Hit Date Time Offset String True The 'Hit Date Time Offset' dimension.
Hit Depth String True How far into a visit a given hit is. This can help you understand how long it takes for visitors to perform actions on the site.
Hit Time UTC String True The 'Hit Time UTC' dimension.
First Hit Time UTC String True The 'First Hit Time UTC' dimension.
Hit Type String True Shows whether a mobile app was in the foreground or background when the hit was sent to Adobe data collection servers.
Home Page String True The 'Home Page' dimension.
IP Address String True The 'IP Address' dimension.
IP Address 2 String True The 'IP Address 2' dimension.
Java Enabled String True Determines if a visitor's browser at the time of a visit has Java enabled. This is helpful if you want to introduce Java-based functionality on the site but you aren't sure how many visitors already have Java enabled.
Javascript Support String True The 'Javascript Support' dimension.
Javascript Version String True The 'Javascript Version' dimension.
Language String True A visitor's preferred language as defined in the browser. This can aid in localization efforts by helping you understand the languages most preferred by visitors.
Last Touch Channel String True The most recent marketing channel a visitor matches with during that visitor's engagement period. This can help you understand which marketing channels drive traffic to your site that result in conversions.
Last Touch Channel Detail String True Details about the most recent marketing channel a visitor matches with during that visitor's engagement period. This can help you understand what contributed to the hit matching a marketing channel.
Latitude String True The 'Latitude' dimension.
Visitor State String True The 'Visitor State' dimension.
Longitude String True The 'Longitude' dimension.
Marketing Channel String True The most recent marketing channel a visitor matches with during that visitor's engagement period. This can help you understand which marketing channels drive traffic to your site that result in conversions. This functions identically to the 'Last Touch Channel.'
Marketing Channel Detail String True Details about the most recent marketing channel a visitor matches with during that visitor's engagement period. This can help you understand what contributed to the hit matching a marketing channel. This functions identically to the 'Last Touch Channel Detail.'
Experience Cloud Visitor ID String True The 'Experience Cloud Visitor ID' dimension.
Mobile Audio Support String True The file formats the device can play.
Mobile Max Bookmark Length String True The maximum number of bytes that the mobile device supports in bookmarked URLs. Recent devices typically do not have a limit.
Mobile Carrier String True The telecommunications company that provides cellular network connectivity to a mobile device.
Mobile Color Depth String True The color depth of the mobile device, in bits.
Mobile Cookie Support String True The ability of a mobile device to store and manage browser cookies.
Mobile Device String True The model of the mobile device used to access the site.
Mobile Device Number String True Shows if the mobile device transmits its number.
Mobile Device Type String True The type of mobile device used to access the site (such as phone, tablet, or television).
Mobile DRM String True The type of DRM the mobile device supports.
Mobile Max Email Length String True The maximum number of bytes that the mobile device supports in an email. Recent devices typically do not have a limit.
Mobile Image Support String True The ability of mobile devices that access the site to display and render images on the site.
Mobile Information Services String True The types of news services supported by the device. Recent devices typically do not report this information.
Mobile Java VM String True The versions of Java that the device supports.
Mobile Mail Decoration String True Determines if the device supports Decomail, a feature once popular on Japanese devices.
Mobile Manufacturer String True The manufacturer of the mobile device used to access the site (such as Apple or Samsung).
Mobile Net Protocols String True The communication protocols used by mobile devices to access the site (such as Edge, GPRS, UMTS, and LTE).
Mobile Operating System (deprecated) String True This dimension is deprecated. Use 'Operating system' instead.
Mobile Push To Talk String True Determines if the device supports PTT (Push to talk), which allows the mobile device to behave similar to a two-way radio. Recent devices typically do not report this feature.
Mobile Screen Height String True The height of the screen, in pixels.
Mobile Screen Size String True The full dimensions of the mobile device, in pixels.
Mobile Screen Width String True The width of the screen, in pixels.
Mobile Max Browser URL Length String True The maximum number of characters that can be included in the site URL when accessed from a mobile browser.
Mobile Video Support String True The video file formats and codecs that the mobile device supports.
Monitor Resolution String True The height and width of the active display in pixels. This can help you prioritize content to make it visible to users without scrolling.
Monthly Unique Customers String True The number of unique visitors per month.
New Visit String True The 'New Visit' dimension.
Next Page String True The 'Next Page' dimension.
Operating Systems String True Provides data on the various desktop and mobile operating systems used by visitors to the site (includes operating system versions). This can help you understand which operating systems are most common if you have features that are supported only on certain operating systems.
Operating System Types String True Provides data on the various desktop and mobile operating systems used by visitors to the site, regardless of the operating system version. This can help you understand which operating systems are most common if you have features that are supported only on certain operating systems.
Tracking Opt-out Reason String True This dimension acts as a preview to show you data that would be excluded if you enabled Privacy Settings. This can help you determine if your implementation would be negatively impacted if you enabled Privacy Settings under Report Suite Settings.
Page String True The names of pages on your site. This can help you understand which pages on your site perform the best. This is one of the most commonly used dimensions.
Page Event (Link Tracking) String True The 'Page Event (Link Tracking)' dimension.
Page Event Media (Link Tracking) String True The 'Page Event Media (Link Tracking)' dimension.
Page Event Var1 (Link Tracking) String True The 'Page Event Var1 (Link Tracking)' dimension.
Page Event Var2 (Link Tracking) String True The 'Page Event Var2 (Link Tracking)' dimension.
Page Event Var3 (Link Tracking) String True The 'Page Event Var3 (Link Tracking)' dimension.
Page Name No URL String True The 'Page Name No URL' dimension.
Pages Not Found String True Shows URLs that contained an error. This can help you lower the number of errors that visitor get on your site.
Time Spent on Page - Granular String True The amount of time a visitor spends on the page. This can help you understand how long visitors interact with a given metric on the site.
Page Type Error String True The 'Page Type Error' dimension.
Page URL String True The URLs on the site.
Original Entry Page URL String True The 'Original Entry Page URL' dimension.
Visit Start Page URL String True The 'Visit Start Page URL' dimension.
Paid Search String True Compares any metric between paid search and natural search. All other hits outside search engines are omitted. This can help you understand how your paid search efforts compare with organic search.
Partner Plugins lea String True The 'Partner Plugins lea' dimension.
Visit Depth String True The 'Visit Depth' dimension.
Persistent Cookie Support String True Shows if the hit used a visitor identifier that originated from a persistent source. The most common persistent source is from a cookie, but it can also use mobile headers and other sources.
Plugin Support String True The 'Plugin Support' dimension.
Pre Loaded String True The 'Pre Loaded' dimension.
Previous Page String True The 'Previous Page' dimension.
Product String True Shows the name of the product in the hit. If your implementation uses the products variable, it can help you understand metrics about your products, such as top sellers or most viewed.
Custom Insight 1 String True The 'Custom Insight 1' dimension.
Custom Insight 2 String True The 'Custom Insight 2' dimension.
Custom Insight 3 String True The 'Custom Insight 3' dimension.
Custom Insight 4 String True The 'Custom Insight 4' dimension.
Custom Insight 5 String True The 'Custom Insight 5' dimension.
Purchase ID String True The 'Purchase ID' dimension.
Quarterly Unique Customers String True The number of unique visitors per quarter.
Referrer String True The website or source that a visitor used to arrive at the site. This can help you understand which specific URLs drive the most traffic to your site.
Original Referrer String True The 'Original Referrer' dimension.
Referrer Type String True The generic channels that a visitor used to arrive at the site (such as a search engine or another website).
Original Referrer Type String True The 'Original Referrer Type' dimension.
Referrer Type (Visit) String True The 'Referrer Type (Visit)' dimension.
Referrer (Visit) String True The 'Referrer (Visit)' dimension.
Referring Domain String True The domain of the website that a visitor used to arrive at the site. This can help you understand which third-party sites drive the most traffic to yours.
Original Referring Domain String True The 'Original Referring Domain' dimension.
Referring Domain (Visit) String True The 'Referring Domain (Visit)' dimension.
Return Frequency String True Shows the time between visits from returning visitors. When a visitor returns to your site, it looks at the previous visit's timing and categorizes the current hit accordingly. This can help you gauge your site's appeal and track the impact of your content and promotions over time.
Report Suite ID String True The 'Report Suite ID' dimension.
Search Engine String True The search engine used to arrive at the site through a paid or natural (unpaid) search link.
Search Keyword String True The words or phrases used when entering the site through a paid or natural (unpaid) search link.
Search Keyword (Visit) String True The 'Search Keyword (Visit)' dimension.
Search Engine - Natural String True The search engine used when entering the site through an natural (unpaid) search link.
Search Keyword - Natural String True The words or phrases used when entering the site through a natural (unpaid) search link.
All Search Page Rank String True The page of search results a visitor clicked through to your site. For example, if your site appears on the second page of a search engine's search results, the dimension item for this variable is
Search Engine - Paid String True The search engine used when entering the site through a paid search link.
Search Keyword - Paid String True The words or phrases used when entering the site through a paid search link.
Search Engine (Visit) String True The 'Search Engine (Visit)' dimension.
Server String True The 'Server' dimension.
Service String True The 'Service' dimension.
Single Page Visits String True Occurrences when visitors leave the site after viewing only a single page.
Site Section String True Lists the names of site sections on your site. For large sites, it is helpful to group pages into sections. This dimension is useful to see the top-viewed or top-performing site sections.
Time Spent per Visit - Granular String True The 'Time Spent per Visit - Granular' dimension.
SSL Hit String True The 'SSL Hit' dimension.
Start New Visit String True The 'Start New Visit' dimension.
US States String True The 'US States' dimension.
AM/PM String True The time of day (whether AM or PM) when a visitor accessed the site.
Day of Month String True The number or percentage of visitors who access the site, categorized by month.
Day of Week String True The 'Day of Week' dimension.
Day of Year String True The numeric day of any given year. This allows you to view data by day, without having to use static dates as dimension items.
Hour of Day String True The numeric hour of any given day. This allows you to view data by relative time of day, without having to use static hours as dimension items.
Month of Year String True The month of any given year. This allows you to view data by the month of the year, without having to use a static date as dimension items.
Quarter of Year String True The quarter of any given year. This allows you to view data by quarter of the year, without having to use static dates as dimension items.
Weekday/Weekend String True The number or percentage of visitors who access the site, categorized by weekday and weekend.
Time Prior to Event String True Reports the amount of time that passed between the first hit of the visit and the desired metric. This dimension is useful to determine the amount of time it takes to hit a success event, such as a form submission or a purchase.
Time Spent per Visit - Bucketed String True Categorizes the length of time that visitors spend on the site during a single visit into different time ranges or
Time Zone String True The time zone in which visitors are located when they interact with the site. This can help you understand user behavior and engagement patterns across different geographic regions.
Timezone String True The 'Timezone' dimension.
Target Integration String True The 'Target Integration' dimension.
Target Integration Action String True The 'Target Integration Action' dimension.
Top Level Domain String True The last part of a website's domain name after the final dot, such as '.com', '.org, or '.edu'. This can help you understand how visitors are accessing the site and which top-level domains are driving the most traffic.
Transaction ID String True The 'Transaction ID' dimension.
Truncated Hit String True The 'Truncated Hit' dimension.
User Agent Color String True The 'User Agent Color' dimension.
User Agent Operating System String True The 'User Agent Operating System' dimension.
User Agent Pixels String True The 'User Agent Pixels' dimension.
User Agent String True The 'User Agent' dimension.
User ID String True The 'User ID' dimension.
New Engagement String True The 'New Engagement' dimension.
New Visitor ID String True The 'New Visitor ID' dimension.
Visitor ID Type String True The 'Visitor ID Type' dimension.
Visit Number String True The number of times a visitor accessed the site within a defined time period. This can help you understand how engaged a visitor is when returning to your site.
Visitor ID String True A unique, persistent identifier assigned to each individual visitor who accesses the site. This identifier enables Adobe Analytics to track and analyze visitor behavior over time, even if the visitor is using multiple devices or browsers.
Visit Page Number String True A sequential number that represents the order in which a specific page was viewed by a visitor during a given visit to the site. This can help you understand the path that visitors take as they navigate through the site, and can be used to analyze visitor behavior and engagement.
Visit Start Time UTC String True The 'Visit Start Time UTC' dimension.
Weekly Unique Customers String True The number of unique visitors per week.
Yearly Unique Customers String True The number of unique visitors per year.
Zip Code String True Categorizes site visitors based on their zip code or postal code. This can help you understand the success of local advertising or see where in the world your site performs best.
Average Page Depth Int True The 'Average Page Depth' metric.
Average Time Spent on Page (seconds) Int True The average amount of time visitors spend on a page.
Average Time Spent on Site (seconds) Int True The total amount of time visitors interact with a specific dimension item, per sequence with a dimension item.
Average Visit Depth Int True The average number of pages viewed during a single visit to the site. This can help you understand how engaged visitors are with content on the site.
Bot Occurrences Int True The number of hits where a bot traffic was detected. The Bot Occurrences metric should only be used with the Bot Name, Page, or standard time dimensions (such as Day, Week, etc). If this metric is used with any other Analytics dimension, no data will result because it is unassociated with normal customer-based data in Analytics. Data processing for Bot Occurrences began between February 26 and March 10, 2023, any reporting window prior to this date will not have data. This is an Adobe provided component.
Bot Page Views Int True Shows the number of times a bot was set or persisted on a page. The Bot Page Views metric should only be used with the Bot Name, Page, or standard time dimensions (such as Day, Week, etc). If this metric is used with any other Analytics dimension, no data will result because it is unassociated with normal customer-based data in Analytics. Data processing for Bot Page Views began between February 26 and March 10, 2023, any reporting window prior to this date will not have data. This is an Adobe provided component.
Bounce Rate String True The ratio of visits that contained exactly one hit compared to the number of visits on that page. This can help you to understand which dimension items have the highest bounce rate, or to see an aggregated total bounce rate of your site over time.
Bounces Int True The number of times a visitor leaves the site after viewing only one page. This can help you understand the top entry pages that cause visitors to bounce, or to see how bounces trend over time.
Campaign Click-throughs Int True The 'Campaign Click-throughs' metric.
Cart Additions Int True The number of times a visitor added something to their cart. This can help you understand at what part of the conversion funnel that customers show enough interest in a product to add it to their cart.
Cart Removals Int True The number of times a visitor removes an item from their online shopping cart during a session. This can help you understand which factors might be preventing users from completing a purchase.
Carts Int True The number of times visitors to the site added items to their online shopping carts.
Cart Views Int True The number of times a visitor viewed their shopping cart. This can help you understand at what part of the conversion funnel that customers view the contents in their cart.
Checkouts Int True The number of times visitors to the site initiated the checkout process to purchase a product or service.
Custom Link Instances Int True The 'Custom Link Instances' metric.
Download Link Instances Int True The number of times visitors click on download links on the site. This can help you understand how effective certain links are.
Entries Int True The number of times visitors to the site first land on a given page to start their session.
Internal Campaign Instances Int True The 'Internal Campaign Instances' metric.
Internal Search Terms Instances Int True The 'Internal Search Terms Instances' metric.
Custom Conversion 3 Instances Int True The 'Custom Conversion 3 Instances' metric.
eVar4 Instances Int True Instances of metrics tied to the eVar4 dimension.
Registrations Int True The 'Registrations' metric.
Email Registrations Int True The 'Email Registrations' metric.
Subscriptions Int True The 'Subscriptions' metric.
Page Views Int True The 'Page Views' metric.
Ad Impressions Int True The 'Ad Impressions' metric.
Ad Clicks Int True The 'Ad Clicks' metric.
Exit Link Instances Int True The number of times visitors clicked a specific link before leaving your website. This can help you understand which links are causing users to leave and potentially identify opportunities for optimization.
Exits Int True The number of times a given dimension item is captured as the last value in a visit. This can help you understand the last thing visitors see before leaving your site, allowing you to optimize the experience a visitor gets before they leave.
Total Seconds Spent Int True The amount of time visitors spend viewing a specific item on the site, such as a product or piece of content. This can help you understand how interested visitors are in specific products.
Total Seconds Spent Int True The 'Total Seconds Spent' metric.
Marketing Channel Instances Int True The 'Marketing Channel Instances' metric.
Mobile Views Int True The 'Mobile Views' metric.
New Engagements Int True the number of times a visitor matches a marketing channel for the first time in that visitor's engagement period. This can compare any dimension with a visitor matching a marketing channel processing rule for the first time.
Orders Int True The total number of purchase events made on your site. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to an order.
Orders per Visit Decimal True The ratio of orders that visitors made over the total number of visits to your site. This can help you understand conversion rate for your site.
Page Events Int True Specific user interactions or actions that occur on the site, such as clicks, form submissions, video plays, downloads, and other custom events.
Pages Not Found Int True Shows URLs that contained an error. This can help you lower the number of errors that visitor get on your site.
Page Views Int True Shows the number of times a given dimension item was set or persisted on a page. It is one of the most common and basic metrics in reports.
Average Page Views per Visit Decimal True The 'Average Page Views per Visit' metric.
Product Views Int True The number of times any product was viewed. This can help you see your top-viewed products, or how total product views trend over time.
Referrer Instances Int True The 'Referrer Instances' metric.
Reloads Int True The number of times a dimension item was present during a reload. A visitor refreshing their browser is the most common way to trigger a reload.
Revenue Decimal True The monetary amount of products purchased within all orders. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to revenue.
Searches Int True The number of hits that match Adobe's external search detection. This can help you understand how non-search dimensions contributed to search engine traffic.
Single Page Visits Int True Occurrences when visitors leave the site after viewing only a single page.
Single Access Int True The 'Single Access' metric.
Time Spent per Visit (seconds) Int True The average amount of time that visitors interact with a given dimension item during each visit.
Time Spent per Visitor (seconds) Int True The average amount of time that visitors interact with a given dimension item during a visitor's entire lifetime.
Units Int True The total number of products purchased within all orders. This metric is vital for eCommerce sites in measuring conversion because you can combine this metric with any dimension to see which dimension items contributed to the number of products purchased.
Unique Visitors Int True The number of unique individuals who have visited the site during a specified time period. This can help you understand the overall reach of the site.
Daily Unique Visitors Int True The number of unique visitors to the site during each day in a given time period.
Hourly Unique Visitors Int True The number of unique visitors to the site during each hour of the day. This can help you understand the time of day when the site is busiest to help optimize marketing campaigns and website content.
Visitors with Experience Cloud ID Int True The number of unique visitors to the site based on their Marketing Cloud Visitor ID.
Monthly Unique Visitors Int True The number of unique visitors to the site during each month in a given time period.
Quarterly Unique Visitors Int True The number of unique visitors to the site during each quarter in a given time period.
Weekly Unique Visitors Int True The number of unique visitors to the site during each week in a given time period.
Yearly Unique Visitors Int True The number of unique visitors to the site during each year in a given time period.
Visits Int True The number of sessions across all visitors on the site.
Visits - All Visitors Int True The 'Visits - All Visitors' metric.
Visits Int True The 'Visits' metric.
Test CM Decimal True ennio testing
CalculatedMetricTest Decimal True The 'CalculatedMetricTest' metric.
Revenue / Visitor Decimal True The average amount of revenue generated by each individual visitor to the site.
Orders / Visitor Decimal True The average number of orders or transactions generated by each individual visitor to the site.
Revenue / Visits Decimal True The average amount of revenue generated by a single visit to the site.
Revenue / Order Decimal True The average amount of revenue generated by each completed transaction or order on the site.
Orders / Visits Decimal True The percentage of visits to the site that result in a completed transaction.
Page Views / Visits Decimal True The average number of pages a user views during a single visit to the site.
Visits / Visitor Decimal True The average number of visits a unique visitor makes to the site.
Reloads / Pageviews Decimal True The percentage of page views that resulted in a reload or refresh of the page.
Weighted Bounce Rate String True if(visits > percentile(visits), bouncerate, 0)
Order Assists Decimal True The number of times a channel or source contributed to a customer's journey towards making a purchase, but did not result in the final purchase.
Exit Rate String True The percentage of visitors who leave the site after viewing a particular page.
Entry Rate String True The percentage of visitors who entered the site on a given page, compared to the total number of sessions on the site.
Average Time on Site String True The average amount of time a visitor spends on the site before leaving or navigating away.
Time Spent/User (State) String True The length of time that the average visitor spends in a particular State while on the site.
Action Time In App / Users String True The average amount of time visitors spend performing a specific action or task on the site.
Average Place Dwell Time String True The average length of time that visitors spend on a specific section or area of a web page before moving on to another section or leaving the site.
Engagement Rate (Messages) String True The percentage of visitors who send a message or initiate a conversation using the site's messaging features, such as live chat or chatbots.
States Per Launch Decimal True The number of web page states or screens that a visitor views during a single session.
Launches/User Decimal True The number of times a user launches a specific application or feature on the site.
Crash Rate (Mobile) String True The percentage of app sessions that end in a crash or in an abnormal termination of the app.
Average Session Length (Mobile) String True cm_mobile_avg_session_length_defaultmetric_localized_description_key
Users (Mobile) Decimal True The total number of users of a mobile app.
App Users Decimal True The total number of users of a mobile app.
State Views Decimal True The number of views to the different states or screens of the app.
Actions Decimal True The total number of actions taken in the app.
Acquisition Link Clicks Decimal True The number of times people click a link that is designed to drive traffic to the site.
Page Velocity Decimal True The number of additional page views and engagement that a piece of content generates.
Conversion Rate String True The percentage of visitors who took a desired action, such as made a purchase.
Compression String True The process of reducing the file size of a web page or website to improve page load times and website performance.
Devices/person Decimal True The average number of devices used by a single person to access the site.
Experience Cloud ID coverage String True The percentage of visitors who have an Experience Cloud ID.
In-App Message Engagement Rate String True The percentage of visitors who interact with a specific in-app message, such as a push notification or banner.
Content Velocity Decimal True The speed at which new content is created and published on the site and how quickly it generates user engagement.
Adobe Advertising Avg. Quality Score Decimal True Evaluates the quality and relevance of the site's landing pages in the context of data from Adobe Advertising.
Adobe Advertising Avg. Position Decimal True Measures the average ranking of the site's pages or ads in search engine results (using data from Adobe Advertising) when people search for specific terms relevant to your business.
Adobe Advertising ROAS Decimal True Return on Advertising Spend (ROAS) measures the effectiveness and profitability of an advertising campaign (using data from Adobe Advertising).
Adobe Advertising CPC Decimal True Cost Per Click (CPC) measures the cost of a digital advertising campaign (using data from Adobe Advertising).
Adobe Advertising CTR String True Click-Through Rate (CTR) measures the effectiveness of digital advertising campaigns or site content in generating clicks (using data from Adobe Advertising).
Adobe Advertising Cost w Cents Decimal True The total cost of a digital advertising campaign, expressed in cents (using data from Adobe Advertising).
Ad Completion Rate String True The percentage of visitors who complete an ad on the site after starting it.
Ad Time Spent Rate String True The amount of time viewers spend watching a video ad (displayed as a percentage of the ad's total length).
Avg. Ad Time Spent String True The average amount of time that viewers spend watching a video ad on the site (HH:MM:SS).
Avg. Ads per Media Stream Decimal True The average number of ads that appear during a single media stream or video on the site.
Avg. Chapter Time Spent String True The average amount of time viewers spend watching a specific chapter or section of a video on the site (HH:MM:SS).
Avg. Chapters per Media Stream Decimal True The average number of chapters or sections that appear during a single media stream or video on the site.
Avg. Content Time Spent String True The average amount of time visitors spend engaging with a particular piece of content on the site (HH:MM:SS).
Avg. Media Time Spent String True The average amount of time visitors spend engaging with a particular media element on the site, such as a video or audio clip, after the stream initiates. (HH:MM:SS).
Chapter Completion Rate String True The percentage of viewers who watch a particular chapter or section of a video to its conclusion after starting it.
Content Buffer Duration Rate String True The percentage of time a video or audio clip is paused for buffering during playback on the site.
Content Completion Rate String True The percentage of time a video or audio clip is completed after starting.
Content Pause Duration Rate String True The percentage of time a video or audio clip is paused for buffering during playback on the site.
Content Time to Start Rate String True The amount of time it takes for a video or audio clip to start playing after a user clicks the play button.
Drops before Start Rate String True The percentage of visitors who click the play button on a video or audio clip but abandon it before the content starts playing.
Media Completion Rate String True The percentage of visitors who complete a video on the site after starting it.
ITP 2.1 Unique Visitors / Unique Visitors String True The percentage of unique visitors using a browser affected by ITP 2.1 cookie limitations. In other words, customers not using a CNAME implementation. (This applies to customers setting cookies via client-side JavaScript.)
Unique Visitors / Unique Visitors returning after 7 days String True The percentage of unique visitors who are returning after a period of 7 or more days.
Page Views / Unique Visitor Decimal True The average number of pages viewed for each unique visitor to the site.
Visits / Visitors Decimal True The average number of visits a unique visitor makes to the site.
Estimated Unique Visitors (ITP 2.1) Decimal True For ITP visitors (users on Safari browsers) divide Unique Visitors by 2 or less. This assumes you are setting cookies using client-side JavaScript (not using a CNAME implementation). Implementations that set cookies using client-side JavaScript were impacted starting with ITP 2.1. See: https://webkit.org/blog/8613/intelligent-tracking-prevention-2-1/
Page Views / Estimated Unique Visitors (ITP 2.1) Decimal True The average number of pages viewed for Estimated Unique Visitors (ITP 2.1).
Bots Page View Ratio Decimal True The average number of Bot Page Views/Page Views.
Average Visits Per Order String True The average number of visits for each order made.
Average Products Per Order String True The average number of products included in each order.
Average Carts Per Order String True The average number of carts included in each order.
Average Checkouts Per Order String True The average number of checkouts associated with each order.
Average Revenue Per Product Decimal True The average amount of revenue generated by each product.
Average Revenue Per Cart Decimal True The average amount of revenue generated for each shopping cart.
Average Revenue Per Checkout Decimal True The average amount of revenue generated for each checkout.
Average Revenue Per Order Decimal True The average amount of revenue generated for each order.
Average Revenue Per Unit Decimal True The average amount of revenue generated for each unit sold.
Average Units Per Product Decimal True The average number of units included in each product.
Average Units Per Cart Decimal True The average number of units included in each shopping cart.
Average Units Per Checkout Decimal True The average number of units included with each checkout.
Average Units Per Order Decimal True The average number of units included with each order.
Average Orders Per Product Decimal True The average number of orders for each product.
Average Orders Per Cart Decimal True The average number of orders included with each shopping cart.
Average Orders Per Checkout Decimal True The average number of orders included with each checkout.
Average Revenue Per Visit Decimal True The average amount of revenue generated for each visit.
Average Orders Per Visit Decimal True The average number of orders generated with each visit.
Average Click-Throughs Per Order String True The average number of click-throughs (clicks on ads or links) that are required before a single order is made.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Users

List the users who have access to Adobe Analytics, including login details, roles, and account status.

Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
LoginId [KEY] String Unique identifier of the user.
ImsUserId String The IMS User Id. This is used only for internal users such as authors, reviewers, administrators, developers, etc.
CompanyId String Unique identifier of the company.
CreateDate Timestamp The date when user was created.
Disabled Boolean Whether or not this user's account is disabled.
Email String The email of the user.
FirstName String The first name of the user.
LastName String The last name of the user.
FullName String The full name of the user.
LastAccess Timestamp When the user accessed his account for the last time.
LastLogin Timestamp When the user logged in for the last time.
Login String Login name.
PhoneNumber String The phone number of the user.
Title String The user's title.

Visitors

Display the total number of unique individuals who accessed your site during the reporting period (defaults to the past 30 days).

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Visitors] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
UniqueVisitors Int True True The number of unique individuals who have visited the site during a specified time period. This can help you understand the overall reach of the site.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Visits

Show the number of individual sessions recorded during the specified date range, regardless of visitor identity.

This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.

You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:

SELECT * FROM [Visits] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
Name Type IsDimension IsMetric DefaultDimension DefaultMetric Description
Date Date True True The day the given metric occurred.
Visits Int True True The number of sessions across all visitors on the site.
StartDate String Specifies the beginning of the reporting period.
EndDate String Specifies the end of the reporting period.
SegmentId String Specifies the ID of a predefined or custom segment to filter the report data.

Stored Procedures

Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT operations with Adobe Analytics.

Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Adobe Analytics, along with an indication of whether the procedure succeeded or failed.

Adobe Analytics Connector Stored Procedures

Name Description
CreateReport Generate a custom analytics report by specifying desired dimensions, metrics, segments, and time range.
GetOAuthAccessToken Initiate the OAuth 2.0 flow and return a valid access token for use in Adobe Analytics API queries.
GetOAuthAuthorizationURL Return the URL where users can grant your application access to their Adobe Analytics data. Primarily used in web app integrations.
RefreshOAuthAccessToken Since Adobe Analytics does not support refresh tokens, this procedure re-initiates the OAuth flow by calling GetOAuthAccessToken.

CreateReport

Generate a custom analytics report by specifying desired dimensions, metrics, segments, and time range.

Stored Procedure Specific Information

To create a report view on a query, you can use the CreateReport stored procedure. The CreateReport stored procedure provides an easy way to generate new view definitions with a custom combination of Dimensions and Metrics. Calling it will create a new schema file that you can query like any other view.

The stored procedure takes a view name, a comma-separated list of metric names, a comma-separated list of metric ids, a comma-separated list of dimension names, a comma-separated list of dimension ids and an output folder as inputs. You will need to set the Location connection property to the folder containing the new script files in order to access them; the Location can be set instead of the output folder.
You can get the metric/dimension Ids by querying Metrics/Dimensions views.

SELECT Id, Name FROM Dimensions
SELECT Id, Name FROM Metrics

To add calculated metrics you can find the metric ID with:

SELECT Id,Name FROM CalculatedMetrics

For example, to use a new schema along with the default schemas, set the Location property to the db subfolder in the installation folder and make any of the following calls:

EXEC CreateReport DimensionIds = 'variables/geocountry, variables/geocity', MetricIds = 'metrics/pageviews, metrics/visits', TableName = 'MyCustomReport'
EXEC CreateReport DimensionIds = 'variables/geocountry, variables/geocity', MetricIds = 'metrics/pageviews, metrics/visits', TableName = 'MyCustomReport', DefaultDateRage='2025-01-01/2025-01-30'
EXEC CreateReport DimensionIds = 'variables/geocountry, variables/geocity', MetricIds = 'metrics/pageviews, metrics/visits', TableName = 'MyCustomReport', DefaultDateRage='2025-01-01/2025-01-30', DefaultSegmentId = 's3642_649ae61b5a255650b8391f9d'

Dimensions and Metrics should have their respective Ids specified in DimensionIds and MetricIds inputs.

Input
Name Type Required Description
TableName String True The name for the new table.
Description String False An optional description for the table.
WriteToFile String False Wheather to write the contents of this stored procedure to a file or not (Default = true) needs to be set to false to output FileStream of FileData
DimensionIds String True A comma-separated list of dimensions' ids.
MetricIds String True A comma-separated list of metrics' ids.
AllowOverride String False When WriteToFile is set to true and the file already exists, this property controls if the file should be overridden. The default value is false.
DefaultDateRage String False The date range that will be used as the default when executing the created report. If not specified a range of 2 years will be applied up to the date the report is executed. This value can be overridden when executing the report with StartDate and EndDate if provided. The accepted format is StartDate/EndDate where StartDate and EndDate are replaced with the actual date values.
DefaultSegment String False An optional default segment to add to the report. Only one value is allowed.
Result Set Columns
Name Type Description
FileData String If the OutputFolder input is empty.
Success String Whether or not the schema was created successfully.
SchemaFile String The generated schema file.

GetOAuthAccessToken

Initiate the OAuth 2.0 flow and return a valid access token for use in Adobe Analytics API queries.

Input
Name Type Required Description
AuthMode String False The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app. The allowed values are APP, WEB. The default value is APP.
Scopes String False A comma-separated list of permissions to request from the user. Please check the AdobeAnalytics API for a list of available permissions. The default value is openid,AdobeID,read_organizations,additional_info.job_function,additional_info.projectedProductContext.
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the AdobeAnalytics app settings. Only needed when the Authmode parameter is Web.
Verifier String False The verifier returned from AdobeAnalytics after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL.
State String False Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the AdobeAnalytics authorization server and back. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations.
Result Set Columns
Name Type Description
OAuthAccessToken String The access token used for communication with AdobeAnalytics.
OAuthRefreshToken String The OAuth refresh token. This is the same as the access token in the case of AdobeAnalytics.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

GetOAuthAuthorizationURL

Return the URL where users can grant your application access to their Adobe Analytics data. Primarily used in web app integrations.

Input
Name Type Required Description
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the AdobeAnalytics app settings.
Scopes String False A comma-separated list of scopes to request from the user. Please check the AdobeAnalytics API documentation for a list of available permissions. The default value is openid,AdobeID,read_organizations,additional_info.job_function,additional_info.projectedProductContext.
State String False Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the AdobeAnalytics authorization server and back. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations.
Result Set Columns
Name Type Description
URL String The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app.

RefreshOAuthAccessToken

Since Adobe Analytics does not support refresh tokens, this procedure re-initiates the OAuth flow by calling GetOAuthAccessToken.

Input
Name Type Required Description
OAuthRefreshToken String False Set this to some test value. It won't make a difference since this procedure will start the OAuth flow from start. The default value is test.
Result Set Columns
Name Type Description
OAuthAccessToken String The authentication token returned from AdobeAnalytics. This can be used in subsequent calls to other operations for this particular service.
ExpiresIn String The remaining lifetime on the access token.

Reporting Views

Reports are shown as views, which are tables that cannot be modified. There are four types of report views:

Unlike traditional database views, however, it is not very helpful to select all metrics and dimensions in a given table. Date is the default dimension for every report, so the query:

SELECT * FROM MyReport

becomes:

SELECT Date, {all the metrics here} FROM MyReport

But if the query has criteria, then the default dimensions are the dimensions used in the criteria. For example:

SELECT * FROM MyReport WHERE Country = 'England'

becomes:

SELECT Country, {all the metrics here} FROM MyReport WHERE Country = 'England'

Additionally, the Adobe Analytics API limits the number of dimensions you can request data from per REST API call to one. This means that the only way for the provider to generate reports with multiple dimensions is to divide dimensions into parts.

Let's take a query example:

SELECT Country, City, Visits FROM MyReport
  • First, the provider requests all the values of the first dimension, Country. In this example they are England and Germany.
  • Second, the provider tries to divide England into parts using the dimension City, and it gets London and Liverpool.
  • Finally, it divides Germany into parts using City and gets: Berlin and Frankfurt.

If we have a third dimension, the provider divides every city into parts with the third dimension (which makes one request per city).

Now, imagine a four dimensional report where dimensions have many values. Typically, the generation of that report would require a lot of API calls. However, the Adobe Analytics API allows us to provide some filters that can significantly shorten the execution time of the query.

The Adobe Analytics API uses the following logical operators: 'AND', 'OR', and 'NOT', and also uses the 'MATCH', 'CONTAINS', 'BEGINS-WITH' and 'ENDS-WITH' operators, which means that criteria such as the ones below are handled server-side:

... WHERE Dimension = 'Value'
... WHERE Dimension LIKE '%value%'
... WHERE Dimension1 LIKE '%value' AND Dimension2 = 'Value2'
... WHERE Dimension LIKE 'value%'
... WHERE Dimension1 = 'Value1' AND Dimension2 = 'Value2'
... WHERE Dimension = 'Value1' OR Dimension = 'Value2' OR Dimension = 'Value3'
... WHERE Dimension IN ('Value1', 'Value2', 'Value3', 'Value4')
... WHERE (Dimension1 = 'value1' OR Dimension1 = 'Value2') AND (Dimension2 = 'value3' OR Dimension2 = 'value4')

strongly recommended that you use as many filters as possible; otherwise queries with many dimensions can take a lot of time.

Defining Custom Reports

To create a report view on a query, you can use the CreateReport stored procedure. This stored procedure provides an easy way to generate new view definitions with a custom combination of dimensions and metrics. Calling it creates a new schema file that you can query like any other view.

The stored procedure takes a view name, a comma-separated list of metric names, a comma-separated list of metric Ids, a comma-separated list of dimension names, a comma-separated list of dimension Ids, and an output folder as inputs.

Set the Location connection property to the folder containing the new script files in order to access them (you can set Location instead of the output folder).

Get the metric and dimension Ids by querying the Metrics and Dimensions views, as shown below:

SELECT Id, Name FROM Dimensions
SELECT Id, Name FROM Metrics

For example, to use a new schema along with the default schemas, set the Location property to the db subfolder in the installation folder and make the following call:

EXEC CreateReport Dimensions = 'Country, City', Metrics = 'PageViews, Visits', TableName = 'MyCustomReport'

System Tables

You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.

Schema Tables

The following tables return database metadata for Adobe Analytics:

Data Source Tables

The following tables return information about how to connect to and query the data source:

  • sys_connection_props: Returns information on the available connection properties.
  • sys_sqlinfo: Describes the SELECT queries that the connector can offload to the data source.

Query Information Tables

The following table returns query statistics for data modification queries:

  • sys_identity: Returns information about batch operations or single updates.

sys_catalogs

Lists the available databases.

The following query retrieves all databases determined by the connection string:

SELECT * FROM sys_catalogs
Columns
Name Type Description
CatalogName String The database name.

sys_schemas

Lists the available schemas.

The following query retrieves all available schemas:

SELECT * FROM sys_schemas
Columns
Name Type Description
CatalogName String The database name.
SchemaName String The schema name.

sys_tables

Lists the available tables.

The following query retrieves the available tables and views:

SELECT * FROM sys_tables
Columns
Name Type Description
CatalogName String The database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view.
TableType String The table type (table or view).
Description String A description of the table or view.
IsUpdateable Boolean Whether the table can be updated.

sys_tablecolumns

Describes the columns of the available tables and views.

The following query returns the columns and data types for the SampleTable_1 table:

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='SampleTable_1'
Columns
Name Type Description
CatalogName String The name of the database containing the table or view.
SchemaName String The schema containing the table or view.
TableName String The name of the table or view containing the column.
ColumnName String The column name.
DataTypeName String The data type name.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
Length Int32 The storage size of the column.
DisplaySize Int32 The designated column's normal maximum width in characters.
NumericPrecision Int32 The maximum number of digits in numeric data. The column length in characters for character and date-time data.
NumericScale Int32 The column scale or number of digits to the right of the decimal point.
IsNullable Boolean Whether the column can contain null.
Description String A brief description of the column.
Ordinal Int32 The sequence number of the column.
IsAutoIncrement String Whether the column value is assigned in fixed increments.
IsGeneratedColumn String Whether the column is generated.
IsHidden Boolean Whether the column is hidden.
IsArray Boolean Whether the column is an array.
IsReadOnly Boolean Whether the column is read-only.
IsKey Boolean Indicates whether a field returned from sys_tablecolumns is the primary key of the table.
ColumnType String The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN.

sys_procedures

Lists the available stored procedures.

The following query retrieves the available stored procedures:

SELECT * FROM sys_procedures
Columns
Name Type Description
CatalogName String The database containing the stored procedure.
SchemaName String The schema containing the stored procedure.
ProcedureName String The name of the stored procedure.
Description String A description of the stored procedure.
ProcedureType String The type of the procedure, such as PROCEDURE or FUNCTION.

sys_procedureparameters

Describes stored procedure parameters.

The following query returns information about all of the input parameters for the SampleProcedure stored procedure:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SampleProcedure' AND Direction = 1 OR Direction = 2

To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:

SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'SampleProcedure' AND IncludeResultColumns='True'
Columns
Name Type Description
CatalogName String The name of the database containing the stored procedure.
SchemaName String The name of the schema containing the stored procedure.
ProcedureName String The name of the stored procedure containing the parameter.
ColumnName String The name of the stored procedure parameter.
Direction Int32 An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters.
DataType Int32 An integer indicating the data type. This value is determined at run time based on the environment.
DataTypeName String The name of the data type.
NumericPrecision Int32 The maximum precision for numeric data. The column length in characters for character and date-time data.
Length Int32 The number of characters allowed for character data. The number of digits allowed for numeric data.
NumericScale Int32 The number of digits to the right of the decimal point in numeric data.
IsNullable Boolean Whether the parameter can contain null.
IsRequired Boolean Whether the parameter is required for execution of the procedure.
IsArray Boolean Whether the parameter is an array.
Description String The description of the parameter.
Ordinal Int32 The index of the parameter.
Values String The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated.
SupportsStreams Boolean Whether the parameter represents a file that you can pass as either a file path or a stream.
IsPath Boolean Whether the parameter is a target path for a schema creation operation.
Default String The value used for this parameter when no value is specified.
SpecificName String A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here.
IsProvided Boolean Whether the procedure is added/implemented by , as opposed to being a native Adobe Analytics procedure.
Pseudo-Columns
Name Type Description
IncludeResultColumns Boolean Whether the output should include columns from the result set in addition to parameters. Defaults to False.

sys_keycolumns

Describes the primary and foreign keys.

The following query retrieves the primary key for the SampleTable_1 table:

SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='SampleTable_1'
Columns
Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
IsKey Boolean Whether the column is a primary key in the table referenced in the TableName field.
IsForeignKey Boolean Whether the column is a foreign key referenced in the TableName field.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.

sys_foreignkeys

Describes the foreign keys.

The following query retrieves all foreign keys which refer to other tables:

SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
Columns
Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
PrimaryKeyName String The name of the primary key.
ForeignKeyName String The name of the foreign key.
ReferencedCatalogName String The database containing the primary key.
ReferencedSchemaName String The schema containing the primary key.
ReferencedTableName String The table containing the primary key.
ReferencedColumnName String The column name of the primary key.
ForeignKeyType String Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key.

sys_primarykeys

Describes the primary keys.

The following query retrieves the primary keys from all tables and views:

SELECT * FROM sys_primarykeys
Columns
Name Type Description
CatalogName String The name of the database containing the key.
SchemaName String The name of the schema containing the key.
TableName String The name of the table containing the key.
ColumnName String The name of the key column.
KeySeq String The sequence number of the primary key.
KeyName String The name of the primary key.

sys_indexes

Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.

The following query retrieves all indexes that are not primary keys:

SELECT * FROM sys_indexes WHERE IsPrimary='false'
Columns
Name Type Description
CatalogName String The name of the database containing the index.
SchemaName String The name of the schema containing the index.
TableName String The name of the table containing the index.
IndexName String The index name.
ColumnName String The name of the column associated with the index.
IsUnique Boolean True if the index is unique. False otherwise.
IsPrimary Boolean True if the index is a primary key. False otherwise.
Type Int16 An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3).
SortOrder String The sort order: A for ascending or D for descending.
OrdinalPosition Int16 The sequence number of the column in the index.

sys_connection_props

Returns information on the available connection properties and those set in the connection string.

The following query retrieves all connection properties that have been set in the connection string or set through a default value:

SELECT * FROM sys_connection_props WHERE Value <> ''
Columns
Name Type Description
Name String The name of the connection property.
ShortDescription String A brief description.
Type String The data type of the connection property.
Default String The default value if one is not explicitly set.
Values String A comma-separated list of possible values. A validation error is thrown if another value is specified.
Value String The value you set or a preconfigured default.
Required Boolean Whether the property is required to connect.
Category String The category of the connection property.
IsSessionProperty String Whether the property is a session property, used to save information about the current connection.
Sensitivity String The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms.
PropertyName String A camel-cased truncated form of the connection property name.
Ordinal Int32 The index of the parameter.
CatOrdinal Int32 The index of the parameter category.
Hierarchy String Shows dependent properties associated that need to be set alongside this one.
Visible Boolean Informs whether the property is visible in the connection UI.
ETC String Various miscellaneous information about the property.

sys_sqlinfo

Describes the SELECT query processing that the connector can offload to the data source.

Discovering the Data Source's SELECT Capabilities

Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.

Name Description Possible Values
AGGREGATE_FUNCTIONS Supported aggregation functions. AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNT Whether COUNT function is supported. YES, NO
IDENTIFIER_QUOTE_OPEN_CHAR The opening character used to escape an identifier. [
IDENTIFIER_QUOTE_CLOSE_CHAR The closing character used to escape an identifier. ]
SUPPORTED_OPERATORS A list of supported SQL operators. =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BY Whether GROUP BY is supported, and, if so, the degree of support. NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
STRING_FUNCTIONS Supported string functions. LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONS Supported numeric functions. ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONS Supported date/time functions. NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLES Indicates tables skipped during replication.
REPLICATION_TIMECHECK_COLUMNS A string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication.
IDENTIFIER_PATTERN String value indicating what string is valid for an identifier.
SUPPORT_TRANSACTION Indicates if the provider supports transactions such as commit and rollback. YES, NO
DIALECT Indicates the SQL dialect to use.
KEY_PROPERTIES Indicates the properties which identify the uniform database.
SUPPORTS_MULTIPLE_SCHEMAS Indicates if multiple schemas may exist for the provider. YES, NO
SUPPORTS_MULTIPLE_CATALOGS Indicates if multiple catalogs may exist for the provider. YES, NO
DATASYNCVERSION The Data Sync version needed to access this driver. Standard, Starter, Professional, Enterprise
DATASYNCCATEGORY The Data Sync category of this driver. Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQL Whether enhanced SQL functionality beyond what is offered by the API is supported. TRUE, FALSE
SUPPORTS_BATCH_OPERATIONS Whether batch operations are supported. YES, NO
SQL_CAP All supported SQL capabilities for this driver. SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONS A string value specifies the preferred cacheOptions.
ENABLE_EF_ADVANCED_QUERY Indicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side. YES, NO
PSEUDO_COLUMNS A string array indicating the available pseudo columns.
MERGE_ALWAYS If the value is true, The Merge Mode is forcibly executed in Data Sync. TRUE, FALSE
REPLICATION_MIN_DATE_QUERY A select query to return the replicate start datetime.
REPLICATION_MIN_FUNCTION Allows a provider to specify the formula name to use for executing a server side min.
REPLICATION_START_DATE Allows a provider to specify a replicate startdate.
REPLICATION_MAX_DATE_QUERY A select query to return the replicate end datetime.
REPLICATION_MAX_FUNCTION Allows a provider to specify the formula name to use for executing a server side max.
IGNORE_INTERVALS_ON_INITIAL_REPLICATE A list of tables which will skip dividing the replicate into chunks on the initial replicate.
CHECKCACHE_USE_PARENTID Indicates whether the CheckCache statement should be done against the parent key column. TRUE, FALSE
CREATE_SCHEMA_PROCEDURES Indicates stored procedures that can be used for generating schema files.

The following query retrieves the operators that can be used in the WHERE clause:

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'

Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.

Columns
Name Type Description
NAME String A component of SQL syntax, or a capability that can be processed on the server.
VALUE String Detail on the supported SQL or SQL syntax.

sys_identity

Returns information about attempted modifications.

The following query retrieves the Ids of the modified rows in a batch operation:

SELECT * FROM sys_identity
Columns
Name Type Description
Id String The database-generated ID returned from a data modification operation.
Batch String An identifier for the batch. 1 for a single operation.
Operation String The result of the operation in the batch: INSERTED, UPDATED, or DELETED.
Message String SUCCESS or an error message if the update in the batch failed.

sys_information

Describes the available system information.

The following query retrieves all columns:

SELECT * FROM sys_information
Columns
Name Type Description
Product String The name of the product.
Version String The version number of the product.
Datasource String The name of the datasource the product connects to.
NodeId String The unique identifier of the machine where the product is installed.
HelpURL String The URL to the product's help documentation.
License String The license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.)
Location String The file path location where the product's library is stored.
Environment String The version of the environment or rumtine the product is currently running under.
DataSyncVersion String The tier of Sync required to use this connector.
DataSyncCategory String The category of Sync functionality (e.g., Source, Destination).

Advanced Configurations Properties

The advanced configurations properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure. Click the links for further details.

Authentication

Property Description
AuthScheme Specifies the authentication scheme the provider uses to connect.
GlobalCompanyId Specifies the Global Company ID tied to your Adobe Analytics account.
RSID Specifies the Report Suite ID (RSID) associated with the Adobe Analytics data you want to query.

OAuth

Property Description
InitiateOAuth Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientId Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecret Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server.
OAuthAccessToken Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocation Specifies the location of the settings file where OAuth values are saved. Storing OAuth settings in a central location avoids the need for users to enter OAuth connection properties manually each time they log in. It also enables credentials to be shared across connections or processes.
CallbackURL Identifies the URL users return to after authenticating to Adobe Analytics via OAuth. (Custom OAuth applications only.).
OAuthVerifier Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthRefreshToken Specifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresIn Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestamp Displays a Unix epoch timestamp in milliseconds that shows how long ago the current Access Token was created.

SSL

Property Description
SSLServerCert Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Schema

Property Description
Location Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemas Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA, SchemaB, SchemaC .
Tables Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA, TableB, TableC .
Views Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA, ViewB, ViewC .

Miscellaneous

Property Description
IncludeSummaryData Specifies whether to include summary records in the data returned from custom reports.
MaxRows Specifies the maximum rows returned for queries without aggregation or GROUP BY.
Other Specifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.
Pagesize The maximum number of records per page the provider returns when requesting data from Adobe Analytics.
PseudoColumns Specifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
SkipEmptyRows Specifies whether the provider skips empty rows in the output when querying report data.
SupportEnhancedBreakDown Specifies whether the provider uses a breadth-first strategy to retrieve rows for all combinations of dimensions in a multi-level report.
Timeout Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
UserDefinedViews Specifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.
UseSimpleNames Specifies whether or not simple names should be used for tables and columns.

Authentication

This section provides a complete list of authentication properties you can configure.

Property Description
AuthScheme Specifies the authentication scheme the provider uses to connect.
GlobalCompanyId Specifies the Global Company ID tied to your Adobe Analytics account.
RSID Specifies the Report Suite ID (RSID) associated with the Adobe Analytics data you want to query.

AuthScheme

Specifies the authentication scheme the provider uses to connect.

Possible Values

OAuth, OAuthClient

Data Type

string

Default Value

OAuth

Remarks
  • OAuth: Uses OAuth authentication using a standard user account.
  • OAuthClient: Uses OAuth authentication using an OAuth service account. (Server-to-Server)

GlobalCompanyId

Specifies the Global Company ID tied to your Adobe Analytics account.

Data Type

string

Default Value

""

Remarks

The Global Company ID is a unique identifier assigned to your Adobe Analytics organization. This value distinguishes your organization from others in Adobe’s system and is required for making authenticated API requests. If this property is not set, the provider attempts to detect the first available company ID tied to your account automatically.

RSID

Specifies the Report Suite ID (RSID) associated with the Adobe Analytics data you want to query.

Data Type

string

Default Value

""

Remarks

The Report Suite ID identifies the specific set of Adobe Analytics data you want to access.

You can find your RSID on the Adobe Analytics platform by navigating to Admin > Report Suites.

If this property is not set, the connector attempts to detect the first available RSID tied to your account automatically.

OAuth

This section provides a complete list of OAuth properties you can configure.

Property Description
InitiateOAuth Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.
OAuthClientId Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
OAuthClientSecret Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server.
OAuthAccessToken Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.
OAuthSettingsLocation Specifies the location of the settings file where OAuth values are saved. Storing OAuth settings in a central location avoids the need for users to enter OAuth connection properties manually each time they log in. It also enables credentials to be shared across connections or processes.
CallbackURL Identifies the URL users return to after authenticating to Adobe Analytics via OAuth. (Custom OAuth applications only.).
OAuthVerifier Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.
OAuthRefreshToken Specifies the OAuth refresh token used to request a new access token after the original has expired.
OAuthExpiresIn Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.
OAuthTokenTimestamp Displays a Unix epoch timestamp in milliseconds that shows how long ago the current Access Token was created.

InitiateOAuth

Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.

Possible Values

OFF, REFRESH, GETANDREFRESH

Data Type

string

Default Value

OFF

Remarks

OAuth is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. The OAuth flow defines the method to be used for logging in users, exchanging their credentials for an OAuth access token to be used for authentication, and providing limited access to applications.

Adobe Analytics supports the following options for initiating OAuth access:

  1. OFF: No automatic OAuth flow initiation. The OAuth flow is handled entirely by the user, who will take action to obtain their OAuthAccessToken. Note that with this setting the user must refresh the token manually and reconnect with an updated OAuthAccessToken property when the current token expires.
  2. GETANDREFRESH: The OAuth flow is handled entirely by the connector. If a token already exists, it is refreshed when necessary. If no token currently exists, it will be obtained by prompting the user to login.
  3. REFRESH: The user handles obtaining the OAuth Access Token and sets up the sequence for refreshing the OAuth Access Token. (The user is never prompted to log in to authenticate. After the user logs in, the connector handles the refresh of the OAuth Access Token.

OAuthClientId

Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.

Data Type

string

Default Value

""

Remarks

This property is required when using a custom OAuth application, such as in web-based authentication flows, service-based authentication, or certificate-based flows that require application registration. It is also required if an embedded OAuth application is not available for the driver. When an embedded OAuth application is available, this value may already be provided by the connector and not require manual entry.

This value is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.

OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can typically find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.

While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.

OAuthClientSecret

Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server.

Data Type

string

Default Value

""

Remarks

This property is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.

The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication will fail, and the server may return an invalid_client or unauthorized_client error.

OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application. It may be referred to as the client secret, application secret, or consumer secret.

This value should be stored securely and never exposed in public repositories, scripts, or unsecured environments. Client secrets may also expire after a set period. Be sure to monitor expiration dates and rotate secrets as needed to maintain uninterrupted access.

OAuthAccessToken

Specifies the OAuth access token used to authenticate requests to the data source. This token is issued by the authorization server after a successful OAuth exchange.

Data Type

string

Default Value

""

Remarks

The OAuthAccessToken is a temporary credential that authorizes access to protected resources. It is typically returned by the identity provider after the user or client application completes an OAuth authentication flow. This property is most commonly used in automated workflows or custom OAuth implementations where you want to manage token handling outside of the driver.

The OAuth access token has a server-dependent timeout, limiting user access. This is set using the OAuthExpiresIn property. However, it can be reissued between requests to keep access alive as long as the user keeps working.

If InitiateOAuth is set to REFRESH, we recommend that you also set both OAuthExpiresIn and OAuthTokenTimestamp. The connector uses these properties to determine when the token expires so it can refresh most efficiently. If OAuthExpiresIn and OAuthTokenTimestamp are not specified, the connector refreshes the token immediately.

Access tokens should be treated as sensitive credentials and stored securely. Avoid exposing them in logs, scripts, or configuration files that are not access-controlled.

OAuthSettingsLocation

The location of the settings file where OAuth values are saved when InitiateOAuth is set to GETANDREFRESH or REFRESH. Alternatively, you can hold this location in memory by specifying a value starting with 'memory://'.

Data Type

string

Default Value

%APPDATA%\\CData\\Acumatica Data Provider\\OAuthSettings.txt

Remarks

When InitiateOAuth is set to GETANDREFRESH or REFRESH, the driver saves OAuth values to avoid requiring the user to manually enter OAuth connection properties and to allow the credentials to be shared across connections or processes.

Instead of specifying a file path, you can use memory storage. Memory locations are specified by using a value starting with 'memory://' followed by a unique identifier for that set of credentials (for example, memory://user1). The identifier can be anything you choose but should be unique to the user. Unlike file-based storage, where credentials persist across connections, memory storage loads the credentials into static memory, and the credentials are shared between connections using the same identifier for the life of the process. To persist credentials outside the current process, you must manually store the credentials prior to closing the connection. This enables you to set them in the connection when the process is started again. You can retrieve OAuth property values with a query to the sys_connection_props system table. If there are multiple connections using the same credentials, the properties are read from the previously closed connection.

The default location is "%APPDATA%\\CData\\Acumatica Data Provider\\OAuthSettings.txt" with %APPDATA% set to the user's configuration directory. The default values are

  • Windows: "register://%DSN"
  • Unix: "%AppData%..."

where DSN is the name of the current DSN used in the open connection.

The following table lists the value of %APPDATA% by OS:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

CallbackURL

Identifies the URL users return to after authenticating to Adobe Analytics via OAuth. (Custom OAuth applications only.).

Data Type

string

Default Value

http://localhost:33333

Remarks

If you created a custom OAuth application, the OAuth authorization server redirects the user to this URL during the authentication process. This value must match the callback URL you specified when you Configured the custom OAuth application.

OAuthVerifier

Specifies a verifier code returned from the OAuthAuthorizationURL . Used when authenticating to OAuth on a headless server, where a browser can't be launched. Requires both OAuthSettingsLocation and OAuthVerifier to be set.

Data Type

string

Default Value

""

OAuthRefreshToken

Specifies the OAuth refresh token used to request a new access token after the original has expired.

Data Type

string

Default Value

""

Remarks

The refresh token is used to obtain a new access token when the current one expires. It enables seamless authentication for long-running or automated workflows without requiring the user to log in again. This property is especially important in headless, CI/CD, or server-based environments where interactive authentication is not possible.

The refresh token is typically obtained during the initial OAuth exchange by calling the GetOAuthAccessToken stored procedure. After that, it can be set using this property to enable automatic token refresh, or passed to the RefreshOAuthAccessToken stored procedure if you prefer to manage the refresh manually.

When InitiateOAuth is set to REFRESH, the driver uses this token to retrieve a new access token automatically. After the first refresh, the driver saves updated tokens in the location defined by OAuthSettingsLocation, and uses those values for subsequent connections.

The OAuthRefreshToken should be handled securely and stored in a trusted location. Like access tokens, refresh tokens can expire or be revoked depending on the identity provider’s policies.

OAuthExpiresIn

Specifies the duration in seconds, of an OAuth Access Token's lifetime. The token can be reissued to keep access alive as long as the user keeps working.

Data Type

string

Default Value

""

Remarks

The OAuth Access Token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthExpiresIn is the number of seconds the token is valid from when it was created. For example, a token generated at 2024-01-29 20:00:00 UTC that expires at 2024-01-29 21:00:00 UTC (an hour later) would have an OAuthExpiresIn value of 3600, no matter what the current time is.

To determine how long the user has before the Access Token will expire, use OAuthTokenTimestamp.

OAuthTokenTimestamp

Displays a Unix epoch timestamp in milliseconds that shows how long ago the current Access Token was created.

Data Type

string

Default Value

""

Remarks

The OAuth Access Token is assigned to an authenticated user, granting that user access to the network for a specified period of time. The access token is used in place of the user's login ID and password, which stay on the server.

An access token created by the server is only valid for a limited time. OAuthTokenTimestamp is the Unix timestamp when the server created the token. For example, OAuthTokenTimestamp=1706558400 indicates the OAuthAccessToken was generated by the server at 2024-01-29 20:00:00 UTC.

SSL

This section provides a complete list of SSL properties you can configure.

Property Description
SSLServerCert Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Data Type

string

Default Value

""

Remarks

If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
A path to a local file containing the certificate C:\\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space or colon separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space or colon separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

If not specified, any certificate trusted by the machine is accepted.

Certificates are validated as trusted by the machine based on the System's trust store. The trust store used is the 'javax.net.ssl.trustStore' value specified for the system. If no value is specified for this property, Java's default trust store is used (for example, JAVA_HOME\lib\security\cacerts).

Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.

Schema

This section provides a complete list of schema properties you can configure.

Property Description
Location Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemas Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA, SchemaB, SchemaC .
Tables Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA, TableB, TableC .
Views Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA, ViewB, ViewC .

Location

Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.

Data Type

string

Default Value

%APPDATA%\AdobeAnalytics Data Provider\Schema

Remarks

The Location property is only needed if you want to either customize definitions (for example, change a column name, ignore a column, etc.) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is %APPDATA%\AdobeAnalytics Data Provider\Schema, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/Library/Application Support
Linux ~/.config

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.

Data Type

string

Default Value

""

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

Tables

Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC.

Data Type

string

Default Value

""

Remarks

Listing all available tables from some databases can take extra time, thus degrading performance. Providing a list of tables in the connection string saves time and improves performance.

If there are lots of tables available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those tables. To do this, specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note

If you are connecting to a data source with multiple schemas or catalogs, you must specify each table you want to view by its fully qualified name. This avoids ambiguity between tables that may exist in multiple catalogs or schemas.

Views

Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Data Type

string

Default Value

""

Remarks

Listing all available views from some databases can take extra time, thus degrading performance. Providing a list of views in the connection string saves time and improves performance.

If there are lots of views available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those views. To do this, specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note

If you are connecting to a data source with multiple schemas or catalogs, you must specify each view you want to examine by its fully qualified name. This avoids ambiguity between views that may exist in multiple catalogs or schemas.

Miscellaneous

This section provides a complete list of miscellaneous properties you can configure.

Property Description
IncludeSummaryData Specifies whether to include summary records in the data returned from custom reports.
MaxRows Specifies the maximum rows returned for queries without aggregation or GROUP BY.
Other Specifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.
Pagesize The maximum number of records per page the provider returns when requesting data from Adobe Analytics.
PseudoColumns Specifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
SkipEmptyRows Specifies whether the provider skips empty rows in the output when querying report data.
SupportEnhancedBreakDown Specifies whether the provider uses a breadth-first strategy to retrieve rows for all combinations of dimensions in a multi-level report.
Timeout Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
UserDefinedViews Specifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.
UseSimpleNames Specifies whether or not simple names should be used for tables and columns.

IncludeSummaryData

Specifies whether to include summary records in the data returned from custom reports.

Data Type

bool

Default Value

false

Remarks

This property determines whether the connector includes summary records in the output of custom reports.

If this property is set to true, the connector includes aggregate values such as totals and averages that summarize the main report data.

If this property is set to false, the connector excludes summary records and only includes raw report rows.

Use this property when summary-level insights are relevant to your analysis or reporting needs.

MaxRows

Specifies the maximum rows returned for queries without aggregation or GROUP BY.

Data Type

int

Default Value

-1

Remarks

This property sets an upper limit on the number of rows the connector returns for queries that do not include aggregation or GROUP BY clauses. This limit ensures that queries do not return excessively large result sets by default.

When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting. If MaxRows is set to "-1", no row limit is enforced unless a LIMIT clause is explicitly included in the query.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

Other

Specifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.

Data Type

string

Default Value

""

Remarks

This property allows advanced users to configure hidden properties for specialized scenarios. These settings are not required for normal use cases but can address unique requirements or provide additional functionality. Multiple properties can be defined in a semicolon-separated list.

Note

It is strongly recommended to set these properties only when advised by the support team to address specific scenarios or issues.

Specify multiple properties in a semicolon-separated list.

Integration and Formatting
Property Description
DefaultColumnSize Sets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMT=True Converts date-time values to GMT, instead of the local time of the machine. The default value is False (use local time).
RecordToFile=filename Records the underlying socket data transfer to the specified file.

Pagesize

The maximum number of records per page the provider returns when requesting data from Adobe Analytics.

Data Type

int

Default Value

5000

Remarks

When processing a query, instead of requesting all of the queried data at once from Adobe Analytics, the connector can request the queried data in pieces called pages.

This connection property determines the maximum number of results that the connector requests per page.

Note that setting large page sizes may improve overall query execution time, but doing so causes the connector to use more memory when executing queries and risks triggering a timeout.

PseudoColumns

Specifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.

Data Type

string

Default Value

""

Remarks

This property allows you to define which pseudocolumns the connector exposes as table columns.

To specify individual pseudocolumns, use the following format: "Table1=Column1;Table1=Column2;Table2=Column3"

To include all pseudocolumns for all tables use: "*=*"

SkipEmptyRows

Specifies whether the provider skips empty rows in the output when querying report data.

Data Type

bool

Default Value

true

Remarks

This property determines whether the connector skips empty rows in the output when querying report data.

If this property is set to true, the connector omits rows that do not contain any measurable data.

If this property is set to false, all rows are included in the report output, including those without data.

Use this property when you want to exclude meaningless or placeholder rows from your report results.

SupportEnhancedBreakDown

Specifies whether the provider uses a breadth-first strategy to retrieve rows for all combinations of dimensions in a multi-level report.

Data Type

bool

Default Value

false

Remarks

This property determines how the connector retrieves dimension combinations in reports that involve multiple breakdown levels.

If this property is set to true, the connector uses a breadth-first approach to include more dimension records per request. Each breakdown level is queried in a wide, flat structure, which is useful when analyzing reports across multiple dimensions. When this property is enabled, the connector does not support returning summary data rows. This mode may also result in additional empty rows. To suppress them, enable the SkipEmptyRows property.

If this property is set to false, the connector uses a depth-first breakdown strategy. Each record in the root breakdown is queried separately, which is more efficient for single-dimension analysis.

This property only applies to reports created using the CreateReport stored procedure.

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.

Data Type

int

Default Value

60

Remarks

This property controls the maximum time, in seconds, that the connector waits for an operation to complete before canceling it. If the timeout period expires before the operation finishes, the connector cancels the operation and throws an exception.

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond the timeout value if each paging call completes within the timeout limit.

Setting this property to 0 disables the timeout, allowing operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server. Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

UserDefinedViews

Specifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.

Data Type

string

Default Value

""

Remarks

This property allows you to define and manage custom views through a JSON-formatted configuration file called UserDefinedViews.json. These views are automatically recognized by the connector and enable you to execute custom SQL queries as if they were standard database views. The JSON file defines each view as a root element with a child element called "query", which contains the SQL query for the view. For example:

{
    "MyView": {
        "query": "SELECT * FROM SampleTable_1 WHERE MyColumn = 'value'"
    },
    "MyView2": {
        "query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
    }

}

You can define multiple views in a single file and specify the filepath using this property. For example: UserDefinedViews=C:\Path\To\UserDefinedViews.json. When you use this property, only the specified views are seen by the connector.

Refer to User Defined Views for more information.

UseSimpleNames

Specifies whether or not simple names should be used for tables and columns.

Data Type

bool

Default Value

false

Remarks

Adobe Analytics tables and can use special characters in names that are normally not allowed in standard databases. UseSimpleNames makes the connector easier to use with traditional database tools.

Setting UseSimpleNames to True simplifies the names of columns returned. It also enforces a naming scheme such that only alphanumeric characters and the underscore are valid for the displayed column names.

Notes:

  • Any non-alphanumeric characters are converted to underscores.
  • If the column or table names exceed 128 characters in length they are truncated to 128 characters to comply with SQL Server standards.