Privacy & Security

JavaScript Overview

Last updated 3/29/2022

How does the JavaScript code snippet work?

The JavaScript allows Winware to measure click events and URLs per visit. Winware’s JS Script is an event listener that tracks HTML DOM events for any HTML page which has its code. Winware’s code ties the events to a specific element’s Selector. Below is an example of the Selector path that we would pull from the “Subscribe Now” button on ESPN. We would show all event data for that “Subscribe Now” button by linking it to its path. Thus there is NO need for custom event tags. If an element’s Selector changes, you can merge Selector data from different elements into one chart.

Does the JavaScript track Personally Identifiable Information?

The Winware Javascript does NOT track any PII. It tracks HTML DOM events and aggregates the data. However, we require customers to pass use their User IDs and email for every session. We match the User ID and email and sales information on our backend.

Do I need to create tags for each event?

No. You do not need to create tags for each element that you want to track. We track all events without any extra tags created. We call it “No Code Analytics” because once you add our JavaScript code to the head tag, you do not need to involve developers in tracking events or user flows.

Will the JavaScript code snippet impact my page loading or site navigation?

The loading of the Winware JS Script should not impact page load. First, it is a small file,approximately 10kb. Also, it is downloaded by a browser only once per user and stored in thatuser’s browser cache. Once the JS Script is loaded (after first visit), Winware uses sendBeacon API to send page analytics requests to the server. This means that the data being sent does not impact sitenavigation. A user would NOT need to wait for the request to be complete before the user couldnavigate to the next page. Read more here: https://golb.hplar.ch/2018/09/beacon-api.html

Where can I find the JavaScript code snippet for my account?

When you initially sign up, you will get the code snippet in your setup wizard.
See below screenshot:

Does Winware Open Source its source code?

We plan to open source code for our JavaScript.