Performance Checking

This article will detail steps you can take to ensure that your BTT script or plugin is set up optimally and performing at the level we expect it to perform. This is not meant to be a troubleshooting document. While not exhaustive, this list will give you some ideas to explore if you're looking to improve the script's performance.

Store-specific Indicators 
  • First and foremost, the more customers are prompted to log into your site, the better. As a general rule, having customers sign in will improve our script's ability to identify the browser and thus track and store their behavior for use in WhatCounts.
Verification Process 
  1. Are events coming through on the BTT Validator page in WhatCounts? Use the sample events and the advanced report to verify that the data looks accurate, reasonable, and generally in line with what you would expect.
  2. On the site, go through the following scenarios (if applicable) and verify that they send identify events. Make sure to use "incognito mode" or some other form of cookie-less browsing, and close/open your browser window between each step.
    1. Sign into an account page
    2. Sign up for a mailing list
    3. Go through the guest checkout process
      1. If it is a multi-step process, an identify event should fire as soon as an email address is submitted to the backend.
      2. If it is a one-step process, or an email address submission is not requested until the end of the process, an identify event should fire as soon as the order is completed.
  3. Out of incognito mode, verify the following: If you log into an account, close your browser, and then go back to the site, if the site "remembers" who you are and doesn't require you to log back in, it also sends an identify event to let you know.
  4. Verify that anywhere a product can be added to a cart (including category pages), doing so triggers an add-to-cart event.
  5. Verify that anytime a cart is viewed or updated (including if your site has popover cart functionality as opposed to a designated cart page), a viewed-cart event is triggered. Please note: This is only needed for Cart Recovery and not for Browse Abandonment.
Steps to Verify an Event Occurred from Your Browser 

Note: We suggest using Google Chrome for this.

  1. Use Chrome's incognito mode to avoid keeping data around and mixing signals.

  2. Open up Developer Tools (Settings > More Tools > Developer Tools).

  3. Got to the Network tab, click "preserve log," and filter requests down to requests with the text "windsor".

  4. With the Network tab open, go to a page on your store you want to test. You should see a few requests label "event" of method "POST" appear. Those are the WhatCounts site analytics events.

  5. Click on one of the events, and then scroll down to the request payload section.

  6. The request payload section holds the event data, and you can examine it to see what information is sent in the events.  

Remember that you need to have the Network tab open when the events happen to capture them, and the request log clears when you move to a new page. You can stop that second behavior from happening by clicking the "preserve log" option at the top of the network panel. This can be helpful for events like "add to cart" that might cause you to change pages when you trigger them.


Privacy Law Compliance 

Each Customer is responsible for obtaining the requisite consent in accordance with applicable law from its customers and third parties for us to collect and use the Target Data as necessary for the provisioning of the WhatCounts Services. Customer is solely responsible for the quality, accuracy, and legality of the Target Data provided to WhatCounts by or on behalf of the Customer; and the means by which Customer acquired such Target Data.  Unless otherwise specifically disclosed to and agreed to by WhatCounts, the Target Data provided by Customer shall not include any sensitive or special personal data that imposes specific data security or data protection obligations on WhatCounts that are different or in addition to those specified in the written agreement(s) between the parties and the WhatCounts Privacy Policy.

By providing this data you acknowledge that the data you are providing is in compliance with the written agreement(s) between the parties and our privacy policy.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk