Northpass can send learning data to Gainsight PX by adding a Gainsight script to your Northpass learning site templates. 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.

Adding the 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": '{{ current_person.email }}',
"firstName": '{{ current_person.first_name }}',
"lastName": '{{ current_person.last_name }}',
"signUpDate": Date.now(),
//Account Fields
"id": '{{ current_person.properties.company_id }}',
"name": '{{ current_person.properties.company_name }}',
// flat custom attributes
});
</script>

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.

Did this answer your question?