Troubleshooting Demandbase Tag
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 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 on 'Inspect' in dropdown to open up Chrome's Developer Tools console (Chrome DevTools).
2. Click on 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 in your welcome URL. If you DO NOT see this code snippet, then the deployment may not have been completed correctly. Please review the deployment steps for your integration in your welcome URL 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, you will want to click on 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 on 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. NOTE: 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 will want to 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!