Objective
Allow the Invoca Tag to read and append value to a Marketing Data Field from the Adobe Client Data Layer.
Applies To
Procedure
- Visit the URL where Adobe Experience is activated.
- Open your developer tools and execute the command in the Console:
window.adobeDataLayer.getState();
This should display information about the page and its components. - Once you've identified the specific component you wish to capture, modify the command as follows:
adobeDataLayer.getState('thingToCapture')
. - After confirming that the output matches the desired value, go to the Invoca platform. Create a Marketing Data Field in your Marketing Data Dictionary by navigating to Settings > Marketing Data > + New Data Field.
- Once the Data Field is created, access your Invoca Tag by navigating to Settings > Invoca Tag > Select the latest Revision > Select New Draft.
- Next to the new Marketing Data Field, choose 'JavaScript Data Layer' for the 'Data Source Type.' In the input field under 'Data Source Name,' add the same command verified in Step 3.
- Select 'Save & Go Live' to implement the changes.