Context
After deploying the Demandbase Tag, issues may arise if it's deployed incorrectly, expired, or blocked by Content Security Policy (CSP).
Steps: Check if Using Correct Demandbase Tag
- Go to a web page where you've deployed the Demandbase tag.
- Right-click on the page and click Inspect.
- Click the Elements tab.
- Press CTRL+F/Cmd+F.
- In the search bar, enter tag.demandbase.com and press Enter repeatedly until you see a 3-line code snippet (see screenshot).
Tip: The code snippet should be the same as the tag in Demandbase Settings > Demandbase-Wide Settings > Tag Configurations > Your Demandbase Tag. See Deploy Demandbase One Tag.
Steps: Check Demandbase Tag Status
- Go to a web page where you've deployed the Demandbase tag.
- Right-click on the page and click Inspect.
- Click the Network tab.
- In the search bar, enter ip.json.
- Go to the code that is executing from 'XXXXXXXX.min.js'
- Click the code.
- Click the Headers tab.
- Confirm the status code is green.
Important: If the status code is red, this indicates the request to Demandbase's API endpoint is failing and the key used in the Demandbase Tag is invalid or expired. Contact Demandbase Support for assistance.
Steps: Check if Demandbase Tag is Blocked by CSP
- Go to a web page where you've deployed the Demandbase tag.
- Right-click on the page and click Inspect.
- Click the Console tab.
- If you see the error Refused to load the script... because it violates the following Content Security Policy directive, you must whitelist the following domains to ensure the tag script fires properly:
- *.demandbase.com
- *.company-target.com