Check out the story behind this project.
This is an example web property definition on how to setup a Adobe Expierence Platform Tag (previously Adobe Launch) for an AEM website using WCM core components, CIF core components, and Magento events SDK. This tutorial is valid for the following reference websites:
A few general points for this Tag property project:
- When building a launch property, Data Elements should contain any logic to pull values out of the websites's Data Layer. This allows Rule Actions to be freely built without deep knowledge of the data layer.
- Rules can be quickly stubbed out by using data layer events from the ACDL. This allows product experts to quickly build Actions based on these defined events.
- Venia uses several projects to build it's data layer:
- WCM core components: https://github.com/adobe/aem-core-wcm-components
- CIF core components: https://github.com/adobe/aem-core-cif-components
- Magento Events SDK: https://github.com/adobe/magento-storefront-events-sdk
- WKND uses a single project to build it's data layer:
- WCM core components: https://github.com/adobe/aem-core-wcm-components
- Web Property Extensions used:
- Core
- ECID
- Adobe Client Data Layer
- Adobe Analytics
- Adobe Target v2
- AEP Web SDK
- Analytics product string
In this documentation:
- Data Elements exposed from the ACDL
- Starter Rules
- Example XDM mappings
- Create and Adobe IO project
- Add the Experiance Platform Launch API
- Generate a public/private key pair
- Download the public/private key
- Go to Service Account (JWT)
- In the top right click Download JSON
- Update downloaded file to
config.json
- Update
config.json
to include the path to the private.key you downloaded earlier.
{ "CLIENT_SECRET": "xxxxxxxxxxxxxxxxxxxxx", "ORG_ID": "xxxxxxxxxxxxxxxxxxxxx@AdobeOrg", "API_KEY": "xxxxxxxxxxxxxxxxxxxxx", "TECHNICAL_ACCOUNT_ID": "xxxxxxxxxxxxxxxxxxxxx@techacct.adobe.com", "TECHNICAL_ACCOUNT_EMAIL": "xxxxxxxxxxxxxxxxxxxxx@techacct.adobe.com", "PRIVATE_Key": "path/to/private.key", "PUBLIC_KEYS_WITH_EXPIRY": {} }
- Add the Experiance Platform Launch API
- Create a new AEP Tag property.
- Take note of the PID from the URL: P12341234123123123123
- Install these plugins:
- Experience Cloud ID
- Adobe Client Data Layer
- Adobe Experience Platform Web SDK
- Adobe Target v2
- Adobe Analytics
- Adobe Analytics Product String
- Download venia-property.json
- Install npm if not already installed
- Install the AEP tag tool
npm install -g @knennigtri/aep-tag-tool
- Import the venia data elements and starter rules into your property:
aep-tag-tool -c config.json --import venia-property.json -p <yourPID> -DR