When you've finished deploying Demandbase Tag directly on your pages or via a tag manager, issues can sometimes arise. It's important to know how to troubleshoot these issues and know when to contact your Demandbase representative to prevent gaps in service. To confirm whether your Demandbase Tag is deployed correctly, you can follow these steps in Google Chrome.
See Troubleshooting Demandbase Tag - Video
1. Navigate to one of your pages where you've set up Demandbase Tag to be deployed. Right-click on the page and click Inspect in the drop-down menu to open up Chrome's Developer Tools console (Chrome DevTools).
2. Click the Elements tab, then press CTRL+F/Cmd+F to open up the search functionality (see blue box below). The goal here is to locate the Demandbase Tag in the actual HTML. In the search bar, type 'tag.demandbase.com' and press Enter a few times until you reach a 3-line code snippet on the page similar to the one below. This code snippet should be exactly the same as the code snippet on the Settings page in the ABM Platform. You access the Settings page by clicking the gear icon at the top of the Home page in the ABM Platform. If you DO NOT see this code snippet, then the deployment may not have been completed correctly. Review the deployment steps for for your integration before contacting your Demandbase Campaign Architect or CSM for more assistance.
3. After you've confirmed that Demandbase Tag is indeed in the page's HTML, you will now want to confirm that the API call to Demandbase is firing properly. To do this, click the Network tab at the top of Chrome DevTools. Type 'ip.json' into the search bar (see blue box below) and then identify the code that is executing from 'XXXXXXXX.min.js' in the search results, where 'X' represents any letter in the alphabet.
4. Click that particular search result and then confirm that the status code is green. If the status is red, then the request to Demandbase's API endpoint is failing, indicating that the key you are using in your Demandbase Tag might either be invalid or expired. Please contact your Demandbase representative if this is the case. Otherwise, the API request is working correctly and Demandbase Tag is firing properly. If you are using Demandbase Tag for advertising, please move on to step 5 to continue the auditing process.