what is window.GlideWebAnalytics.trackEvent() method ?

Ram118
Mega Guru

I have seen this  "window.GlideWebAnalytics.trackEvent("Service Catalog", "Widget Name", "Widget Description")" is being used in the some of the Widgets.  I want to know what or why is it being used ?

IF I convert this into  "$window.GlideWebAnalytics.trackEvent()" will there be any side effects to the system ?

where can we track this event data log ?  

If anyone has any information, Please share it with me.

4 REPLIES 4

The SN Nerd
Giga Sage
Giga Sage

You might want to raise this with support, this function isn't documented anywhere.

My best guess would be that it is related to the User Experience Analytics dashboard.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

jasonkist
Giga Guru

Hi, did you get an answer on this? I have to convert the 'window' to $window also.

Maruthi Ram
Tera Contributor

Any answer on this??

Prakhar7
ServiceNow Employee
ServiceNow Employee

GlideWebAnalytics is a wrapper for two of the native Piwik/Matomo methods (trackEvent and trackPage). Piwik is a third-party tool that was used for ServiceNow web analytics. 

It was decommissioned by the end of 2021, and since ServiceNow has migrated towards Appsee (snAnalytics).