Show Menu
TOPICS×

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.
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.
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.
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.
Search for AEP Demo - GA Website Interactions Schema to find the ExperienceEvent XDM.
The AEP Demo - GA Website Interactions Schema looks like this and is using the Google ID (GAID) as the Primary Identifier.
Try to locate these two Schemas yourself in the UI of Platform.
To view Datasets , navigate to the Datasets menu option.
You'll find a number of existing Datasets in Platform.
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
  • Website Registration name:
    • AEP Demo - GA Website Registrations
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/--aepTenantId--/schemas/18c20233e055248c013f76df48c47670
Experience Event Dataset ID
eeDatasetId
5ea04d5b25b79d18aa3b5f93
Experience Event Schema Reference
eeSchemaRef
https://ns.adobe.com/--aepTenantId--/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
  • Enter the constant value for Adobe Organization ID out of the above table as this Variable.
  • Click Save to save your Variable.
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
  • Enter the constant value for DCS Streaming Endpoint out of the above table for this Variable.
  • Click Save to save your Variable.
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.
  • Click Save to save your Variable.
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.
  • Click Save to save your Variable.
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.
  • Click Save to save your Variable.
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.
  • Click Save to save your Variable.
Congratulations for reaching this point! Let's continue with the Google Tag Manager Tags and Triggers Configuration now.