Integrate third-party analytics

One of the features available in the Social Login JavaScript API is the ability to send data to popular third-party analytics sites, such as Google Analytics. An administrator can use these analytical tools to gain greater insight into how users interact with the website.

The JavaScript API fires events that you can track and report as needed. The API provides fine-grained data based on user actions. Some common events you might wish to track are:

  • onProviderLoginStart. Marks the successful initiation of a login.
  • onProviderLoginComplete. Marks the successful or unsuccessful completion of a login.
  • onProviderLoginSuccess. Marks the successful completion of a login.


If you want to implement third-party analytics for Registration, please see Customize JavaScript SDK logins and registrations as it uses a different JavaScript API.