We have received many requests from our customers that would like to be able to pass widget usage statistics to their own analytics dashboards like Google Analytics, Tableau, etc. We heard you and are now very happy to announce that this is now possible.

UserWay makes the following widget statistics available:

  1. Widget Open + {Page URL}

  2. Accessibility Profile Selected

  3. Accessibility Feature Enabled

You just need to set a PostMessage listener to be able to receive the events.

Details:

UserWay's widget sends PostMessage events with the following event payloads:

Widget opened:

{ 
"event": "customEvent",
"eventCategory": "userway",
"eventAction": "widget open",
"eventLabel": `${PAGE_URL}`
}


Accessibility Profile Selected:

{ 
"event": "customEvent",
"eventCategory": "userway",
"eventAction": "profile selection",
"eventLabel": `${PROFILE_NAME}`
}


Accessibility Feature Enabled:

{ 
"event": "customEvent",
"eventCategory": "userway",
"eventAction": "ability enablement",
"eventLabel": `${FEATURE_NAME}`
}

The target pages must set the PostMessage listener to be able to receive these events:

window.addEventListener('message', function (event) { 
if (event.data.eventCategory === 'userway') {
// Custom logic
}
})

If you have any questions, you can reach our support team at support@userway.org

Did this answer your question?