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
These datasets already exist! Don’t recreate them.
Website Interaction Dataset name:
Website Registration name:
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
.
Untitled Variable
to imsOrgId
Adobe Organization ID
out of the above table as this Variable.Next, we’ll configure the Variable for DCS Streaming Endpoint
.
Untitled Variable
to dcsStreamingEndpoint
DCS Streaming Endpoint
out of the above table for this Variable.Next, we’ll configure the Variable for Profile Dataset ID
.
Untitled Variable
to profileDatasetId
Profile Dataset ID
out of the above table for this Variable.Next, we’ll configure the Variable for Profile Schema Reference
.
Untitled Variable
to profileSchemaRef
Profile Schema Reference
out of the above table for this Variable.Next, we’ll configure the Variable for Experience Event Dataset ID
.
Untitled Variable
to eeDatasetId
Utilities - Constant
as Variable TypeFinally, we’ll configure the Variable for Experience Event Schema Reference
.
Untitled Variable
to eeSchemaRef
Experience Event Schema Reference
out of the above table for this Variable.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