Skip to main content
Gainsight Inc.

Gainsight PX

This article explains how to configure the integration between Gainsight CE and Gainsight PX.

Integrate Gainsight PX

Add a script to Gainsight CE to send learning data to Gainsight PX . Data that can be sent to Gainsight include:

  • Learner data (first name, last name, email etc.)
  • Activity Completion
  • Course Completion
  • Northpass custom learner properties

Below is a guide that makes setting up Gainsight fast and simple.

Add Gainsight PX Script

Navigate to the Custom CSS tab within Northpass. From there, add the following code snippets. Additional documentation for these snippets can be found here.

This first snippet is to connect with the Gainsight PX application and allow for use of its API access.

<script type="text/javascript">
   (function(n,t,a,e){var i="aptrinsic";n[i]=n[i]||function(){ (n[i].q=n[i].q||[]).push(arguments)},n[i].p=e;
    var r=t.createElement("script");r.async=!0,r.src=a+"?a="+e;
    var c=t.getElementsByTagName("script")[0];c.parentNode.insertBefore(r,c) })
   (window,document,"https://web-sdk.aptrinsic.com/api/aptrinsic.js","GAINSIGHT-PX-TAG-PRODUCT"); //REPLACE WITH YOUR PRODUCT KEY
</script>

Please note that you must update the GAINSIGHT-PX-TAG-PRODUCT placeholder with your Gainsight PX product key

The next snippet is to send user data to Gainsight. This uses both basic learner data and Northpass custom properties to send over as much information to Gainsight PX as you like.

   <script type="text/javascript">
   //passing user and account objects:
   aptrinsic("identify",
   {
   "email": '',
   "firstName": '',
   "lastName": '',
   "signUpDate": Date.now(),
   //Account Fields
   "id": '',
   "name": '',
   // flat custom attributes
   });
   </script>

Additional Information

  • For additional information on Northpass properties please visit here.
  • For additional information on the Gainsight PX snippet please visit here.
  • Northpass can configure more advanced data exchange and workflows with Gainsight upon your request. For more advanced solutions, reach out to your Northpass customer success manager and they’ll assist you with next steps.
  • Was this article helpful?