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 or watch the the 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 'scripts.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.
FOR ADVERTISING INTEGRATIONS ONLY:
5. If you are utilizing Demandbase Tag for advertising, you will also need to confirm that the advertising pixels inside of the Tag are firing properly. In the Network tab, search for 'pixel' (see blue box below). In the search results, you should see two pixels firing. If you do not see any pixels in the search results, then your Tag is missing them and you will need to contact Demandbase to add them to your Tag. Otherwise, you can move on to step 6.
6. For both of these pixels, you click into them to confirm that the status code is green. If the status is red for any of them, then your pixel/s are invalid. You will need to contact Demandbase to replace these pixels for you. If the status code is green, then you're all set - you've successfully confirmed that Demandbase Tag is firing properly on your page!