Inspector is a bookmarklet that allows you to see the Web Extend JavaScript commands issued on the different pages of your website. It is a front-end tool you can use to perform a quick manual check of your implementation of the data collection scripts.
Contents
Installation
You can only install Inspector if the Bookmarks bar is visible in your browser. Here is how you can enable it in the most popular browsers: Google Chrome, Mozilla Firefox, Internet Explorer, Safari.
Install the bookmarklet, as follows:
Drag the link below and drop it to the Bookmarks toolbar of your browser:
Confused? Then watch this little video:
What can you do with Inspector?
You can:
- Check if the JavaScript API commands you wanted to implement are issued as expected on the pages of your website.
- Check if you have implemented our tracking code and user identification commands correctly.
- Check whether web recommendations are properly called and rendered.
How does it work?
To activate Inspector, open a page on the website where you want to monitor the data collection JavaScript commands then click the Inspector button on the bookmarks toolbar of your browser. From that point on, it will remain active throughout the browsing session until you turn it off by clicking the X icon.
The commands, if any, issued on the page you are viewing will be listed in an overlay on the right-hand side of your browser window. Inspector will also shows errors, such as invalid values passed or missing go
command, highlighted in red.
Inspector also highlights the product recommender widgets in red in your website pages.
If you have only implemented our tracking code and user identification command, the overlay will be either empty or showing the user identification command, if issued, and the go
command.
While Inspector only shows the commands called on the page you are viewing, it also records all the commands during your browsing session. To see the command history, click the clock icon in the header.
To temporarily hide the Inspector overlay, click the header.
Troubleshooting & FAQ
-
The Inspector overlay is empty, it doesn’t show any commands. Why?
If you only implemented our JavaScript tracking code and user identification, Inspector may only show an empty overlay. The reason for that is the command used for user identification (setEmail
orsetCustomerId
) is only issued if your users explicitly identify themselves on the given page, otherwise not even thego
command is called, so there is nothing to show. -
Inspector doesn’t seem to run when I click it, no overlay is shown while I’m browsing my website. Why?
There are two possible reasons for this:
- it may mean that you have not added our JavaScript tracking code to your website pages yet. Check if you have completed step 1 of our implementation guide.
- it can also happen that your Tag Manager and/or your Firewall settings block the Gadget. If this happens, the Gadget will not work. Please check your configuration and try again.