Transformation Configuration Instructions

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

Overview

The GA First Click (Universal Analytics) extractor provides data on 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:

  • GA First Click

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

Transformation Code Requirements

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

  google_analytics:
    integrations:
      - google_analytics
    scripts:
      - "github://platform-sql-shared/scripts/base/2600_google_analytics/2620_GA_UPD_multi_channel.sql"
      - "github://platform-sql-shared/scripts/base/2600_google_analytics/2630_GA_UPD_multi_channel_funnel.sql"

  uts_ua:
    integrations:
      - google_analytics
    scripts:
     - "github://platform-sql-shared/scripts/base/2650_uts/2670_UTS_BAS_GA3_multi_channel_funnel.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