Skip to main content

I have traditionally not reported on group membership numbers in our community, but I would like to do so going forward. I know I can filter the user overview by group membership, but is there a way I can report on group membership growth/membership by group join date?

The closest thing I can find is to filter by registration date, but this will only tell me how many new community members joined the group in that time, and isn’t an accurate reflection of actual group growth. The User metrics available under Analytics don’t seem to have any information about group membership, but it’s very possible I’m missing something. Does anyone have a solution for this?

I have a solution, but it’s not an elegant one. I agree that this is an area lacking in solid analytics. 

Here’s something you could do out of a google sheet / Excel365 sheet with the help of an automation tool like Zapier. I’m going to reference Google Sheet going forward, as that’s what I use. But I imagine you could automate the same thing with Excel365 and Zapier or similar tools. 

Part 1: Initial Backfill 

  1. For all your groups, export the roster to CSV. The member since column is when they joined the group.
  2. Upload the CSV into a new google sheet, appending each to the bottom of the previous roster. 
  3. As you upload/append, add (and fill) columns for the Group ID# and Group Name. 
  4. Add a column for Date Left
  5. Add any other columns on user demographics you might want (optional)
    1. You’ll need to do the manual work for the initial backfill, but can automate for joins/leaves

The end result is a sheet with all of your group rosters, that can be sorted by group Id or group name. And if you add other user attributes, you can sort by that tool. 

 

Part 2: Automate Updates when users join/leave

There are webhook events for when users join and leave a group. 

I use Zapier, but there are other tools that could allow you to do a similar version of what I have below. 

Zapier: Automation for Users Joining a Group

 

  1. Trigger: Webhooks by Zapier > Catch a Hook
    1. When you select Test, Zapier gives you a URL that you will need to subscribe to the webhook
      1. group.MemberJoined
      2. (I use Postman to run the API call that subscribes the url to the event) 
  2. Actions: 
    1. Gainsight CC > Find a User (optional)
    2. Google Sheets > Add Spreadsheet Row
      1. Populate the data in your spreadsheet with fields from 2.1 & 2.2

The end result is your initial spreadsheet is updated every time someone joins a group. 

 

Zapier: Automation for Users Joining a Group

  1. Trigger: Webhooks by Zapier > Catch a Hook
    1. When you select Test, Zapier gives you a URL that you will need to subscribe to the webhook
      1. group.MemberLeft
  2. Actions: 
    1. Google Sheets > Lookup Spreadsheet Row
      1. Find the user who left by UserId
    2. Google Sheets > Update Spreadsheet Row
      1. Populate the date they left by inserting {{zap_meta_human_now}} to insert the current date & time

Alternatively, you could do an automation similar to when people join, adding a new row to a sheet when people leave. It all depends on how you want to do your reporting (Part 3). 

 

The end result is that when someone joins, that row in the spreadsheet is updated in the Date Left column.

 

Part 3: Pivot Tables and Charts in Google Sheets

Now you have a data set in your spreadsheet that you can report on via pivot tables and charts. 

These should be able to be set up in ways where they update with the new data that comes in. And you’ll also have the user attributes you added as other columns, allowing you to show different types of users joining/leaving. 

Depending on what and how you want to report on and visualize the joins/leaves, you may want to separate out the Leave records into their own specific sheet. I put a note on that in the steps for that automation. 

---

I takes a bit of initial set up, but it gets you to the point where you can report and chart to whatever extent you’d like.


Reply