There are a number of ways you can confirm that Heap is installed correctly on a site using some basic tools that are already built into your browser.
The easiest way to verify that data is flowing into Heap is by checking your live data feed. This will give you a quick indication that events are flowing into your account.
You can also use the Chrome Developer Console to confirm that Heap is loading on a site. To do so, type in heap.loaded
.
A response of true
indicates that Heap is successfully loaded on a page.
A response of Uncaught ReferenceError: heap is not defined
indicates that Heap did not successfully load on the page, which indicates a problem with your installation.
Some additional Chrome Developer Console commands you can enter to check on specific details of your installation:
heap.appid
returns the corresponding app ID that your data is being directed to in Heap.heap.userid
returns your current user ID. This value may be different from what is in the Heap app, though it can still be used to filter traffic you are generating within the Live data feed to further QA your installation.heap.identity
returns your current Identity as defined in your Heap installation.