Testing Custom Events

To properly test a custom event you will need to take some steps to make sure you don’t miss them because of a browser redirect.

  1. Go to the page that the custom event happens on.
  2. Right-click and open the Web Inspector
  3. Go to the Network Tab in the Inspector
  4. Click the Throttling drop down and set it to “Offline” or check the “Offline” tickbox
  5. Go to the “Console” tab inside the inspector window and type bwai.debug = true and hit return
  6. Minimize or move out of the Inspector
  7. Complete the action that should trigger the custom event
  8. Now go back to the inspector and read the output looking for the event text in the case of item added to the basket you’re looking for “add to basket item triggered”

A quick run though video showing all the steps above can be found at

Testing Custom Events Video