9.4 Retrieve Datasets in Platform

As part of the Google Tag Manager Rule configuration, we’ll define rules that will send behavioral and profile data to Platform. When defining a tag and trigger in Google Tag Manager to send behavioral and/or profile data to Adobe Experience Platform, we’ll need to define some variables in Google Tag Manager:

  • Adobe Organization ID/IMS Org ID
  • DCS Streaming Endpoint
  • Profile Dataset ID & Profile Schema Reference
  • Experience Event Dataset ID & Experience Event Schema Reference

We’ll go into Platform to retrieve most of that information, to then fill out the below table and configure it in Google Tag Manager.

Name GTM Variable Name Constant Value
Adobe Organization ID imsOrgId --aepImsOrgId--
DCS Streaming Endpoint dcsStreamingEndpoint --dcsInletId--
Profile Dataset ID profileDatasetId
Profile Schema Reference profileSchemaRef
Experience Event Dataset ID eeDatasetId
Experience Event Schema Reference eeSchemaRef

To log in to Platform, go to https://experience.adobe.com/platform/home.

Log in with your personal Adobe Login credentials.

Platform Setup

A dataset needs to be mapped against a schema. Schema’s are defined as part of our Experience Data Model, aka XDM.

Behavioral data needs to be mapped against the ExperienceEvent schema.

Profile data needs to be mapped against the Profile XDM schema.

You can consult these schema’s by going to Schemas in the Platform menu.

Platform Setup

If you’d like to know more about XDM, please have a look here:

Search for AEP Demo - GA Website Registrations Schema to find the Profile XDM for your Platform Org.

Platform Setup

The Platform Demo - GA Website Registrations Schema looks like this and is using the Google ID as a Secondary Identifier, with Email being the Primary Identifier.

Platform Setup

Search for AEP Demo - GA Website Interactions Schema to find the ExperienceEvent XDM.

Platform Setup

The AEP Demo - GA Website Interactions Schema looks like this and is using the Google ID (GAID) as the Primary Identifier.

Platform Setup

Try to locate these two Schemas yourself in the UI of Platform.

To view Datasets, navigate to the Datasets menu option.

Platform Setup

You’ll find a number of existing Datasets in Platform.

Platform Setup

At this moment, we’ll use two datasets, which are linked to the Schema’s that you just viewed

  • 1 Dataset to capture Google Analytics Website Interaction data
  • 1 Dataset to capture Google Analytics Website Registration data

These datasets already exist! Don’t recreate them.

  • Website Interaction Dataset name:

    • AEP Demo - GA Website Interactions
      Platform Setup
  • Website Registration name:

    • AEP Demo - GA Website Registrations
      Platform Setup

After having consulted the above Schemas and Datasets, you can now fill out the below table:

Name GTM Variable Name Constant Value
Adobe Organization ID imsOrgId --aepImsOrgId--
DCS Streaming Endpoint dcsStreamingEndpoint --dcsInletId--
Profile Dataset ID profileDatasetId 5ea04d5b005a6e18a8bc88af
Profile Schema Reference profileSchemaRef https://ns.adobe.com/--aepTenantIdSchema--/schemas/18c20233e055248c013f76df48c47670
Experience Event Dataset ID eeDatasetId 5ea04d5b25b79d18aa3b5f93
Experience Event Schema Reference eeSchemaRef https://ns.adobe.com/--aepTenantIdSchema--/schemas/226a6fc8e72fc7d7f0d9844c117d5006

Go to https://tagmanager.google.com/ and login with your personal login details.

Go to Variables.

In the User-Defined Variables - section, click New.

First, we’ll configure the Variable for Adobe Organization ID.

  • Rename Untitled Variable to imsOrgId
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type

Platform Setup

  • Enter the constant value for Adobe Organization ID out of the above table as this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Next, we’ll configure the Variable for DCS Streaming Endpoint.

  • Rename Untitled Variable to dcsStreamingEndpoint
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type

Platform Setup

  • Enter the constant value for DCS Streaming Endpoint out of the above table for this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Next, we’ll configure the Variable for Profile Dataset ID.

  • Rename Untitled Variable to profileDatasetId
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type
  • Enter the constant value for Profile Dataset ID out of the above table for this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Next, we’ll configure the Variable for Profile Schema Reference.

  • Rename Untitled Variable to profileSchemaRef
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type
  • Enter the constant value for Profile Schema Reference out of the above table for this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Next, we’ll configure the Variable for Experience Event Dataset ID.

  • Rename Untitled Variable to eeDatasetId
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type
  • Enter the constant value for Experience Event Dataset ID out of the above table for this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Finally, we’ll configure the Variable for Experience Event Schema Reference.

  • Rename Untitled Variable to eeSchemaRef
  • Click on Variable Configuration and choose Utilities - Constant as Variable Type
  • Enter the constant value Experience Event Schema Reference out of the above table for this Variable.

Platform Setup

  • Click Save to save your Variable.

Google Tag Manager Setup

Congratulations for reaching this point! Let’s continue with the Google Tag Manager Tags and Triggers Configuration now.

Next Step: 9.5 Configure Google Tag Manager Tags & Triggers

Go Back to Module 9

Go Back to All Modules

On this page