Context
You can deploy the Demandbase connector for Adobe Analytics and Adobe Target using DTM.
Important: If using Adobe Analytics, you need the Demandbase scripts that go in the head and S-code. Reach out to your Demandbase account team for assistance.
Systems Used
- Demandbase scripts
- Adobe Dynamic Tag Management
Steps
Step 1. Create a New Rule
- Go to your Adobe DTM dashboard and add a new Tag.
- Click Go to Rules when the pop-up appears.
- From the left navigation bar, select Page Load Rules.
- Click Create New Rule.
Step 2. Set the Conditions
- Name your rule.
- Open the Conditions section and set Trigger rule at to Top of Page.
Step 3. Add a New Script
- Open the Javascript / Third Party Tags section and click Sequential Javascript tab.
- Click Add New Script.
Step 4. Paste in the Script
- Name the tag.
- Copy and paste your scripts into the text editor.
- In the following script example, [Key] should be replaced with your unique key and [TAG_UID] should be replaced with your unique TAG UID:
var callbackscriptdmdbase = document.createElement("script"); callbackscriptdmdbase.onload = function(){ var apiCalldmdbase = document.createElement("script"); apiCalldmdbase.type = "text/javascript"; apiCalldmdbase.src = "//api.company-target.com/api/v2/ip.json?key=[KEY]&callback=Dmdbase_CDC.callback"; document.head.appendChild(apiCalldmdbase); }callbackscriptdmdbase.type = "text/javascript"; callbackscriptdmdbase.src = "//scripts.demandbase.com/adobeanalytics/[TAG_UID].min.js"; document.head.appendChild(callbackscriptdmdbase);
Step 5. Save the Rule
- Save your rule. After saving, you can see your Demandbase Tag in the Sequential Javascript tab.
Step 6. Activate the Rule
- Select the new rule for your tag.
- Click the Actions drop-down, and select Activate Rules.