Heap Analytics

Article author
Josh Lopez
  • Updated

Using Memberstack 2.0? You will find the updated version of this article here. 

Automatically pass a member's information into Heap and track every interaction retroactively.

What is Heap?

Heap.io gives you a complete dataset of every interaction with your product. Every click. Every tap. Every swipe. There’s no code to implement, and no need to decide in advance what to track.


Add this code below your Memberstack and Heap scripts.

Copy the code below and paste it above the tag in your website code. Remove or replace the "userProperties" with field IDs from your Memberstack account.


 MemberStack.onReady.then(function(member) {
   if (member.loggedIn) {
       const userProperties = {
         'Name': member["name"],
         'Email': member["email"],
     } catch(e) {

Need more help? Try posting your question in our community.

Was this article helpful?



Please sign in to leave a comment.