Transformation Configuration Setup

This pages provides instructions on what transform code should be added to a script manifest file to transform Google Analytics 3 (Universal Analytics) data


The Google Analytics 3 (Universal Analytics) extractor provides data on site traffic, page performance, checkout performance and last-click order attribution. The Daasity transformation code maps data from the GA schema into the Unified Traffic Schema (UTS)

Feature Dependencies

You must have enabled our Code Repository feature in order to both access the Daasity transformation code as well as modify a Script Manifest File enabling this code to execute

We recommend you review the Transformation Configuration section of our Help documentation to familiarize yourself with our workflow engine and script manifest files.

Script Manifest File (YML)

Upstream Transformation Dependencies

This code is dependent on the following integration being installed:

  • Google Analytics 3 (Universal Analytics)

This code block is dependent on the following upstream code blocks being implemented:

Transformation Code Requirements

To enable the data transformation from the GA schema into UTS, the following code must be run in a workflow:

      - google_analytics
      - "github://platform-sql-shared/scripts/base/2600_google_analytics/2610_GA_UPD_transactions.sql"
      - "github://platform-sql-shared/scripts/base/2600_google_analytics/2690_GA_UPD_base_google_analytics.sql"

      - google_analytics
     - "github://platform-sql-shared/scripts/base/2600_google_analytics/2640_GA_UTS_transactions.sql"
     - "github://platform-sql-shared/scripts/base/2650_uts/2650_GA_UPD_ga_comp.sql"
     - "github://platform-sql-shared/scripts/base/2650_uts/2651_UTS_BAS_traffic_ga3.sql"
     - "github://platform-sql-shared/scripts/base/2650_uts/2655_UTS_GA_shopping_stage.sql"
     - "github://platform-sql-shared/scripts/base/2650_uts/2661_UTS_BAS_product_page_ga3.sql"

Google Analytics 3 (Universal Analytics) Prep

Update the base [ga] tables with the data from the staging GA3 tables:

Unified Traffic Schema (UTS)

Insert data from Universal Analytics into the [uts] schema:

Last updated