I’ve got my Google Analytics sending to Airtable working. Now trying to send them to Memberstack.com as well - because Webflow can pull this live data (custom attributes) onto static pages.
The Memberstack API seems limited and is in Beta. I know this can be done though as this guy achieves it in his video https://youtu.be/3GYq9S3-0FY?t=592. I reached out to the author but sadly he won’t tell me how he did it ?!
Problem 1 - exporting
Unlike Airtable - using a bearer token for auth, Memberstack seems to use the x-api-key Request header Authentication - Memberstack API and you make an api key in their dashboard.
Using this Request header method (with no other Authentication) in Parabola gives me an error
{
"message": "Missing Authentication Token"
}
So what Auth token am I supposed to use if Memberstack’s docs talk about the X-API-KEY
request header?
Problem 2
I used a “Pull from API” with Memberstack info to see what kind of data I’m getting and the name of the field I want to pass my GA stats into. Initially the JSON data was a big long string. A JSON flattener didn’t reveal all the data. The fields I need are quite deep. Some experimenting led me to find the fields I want to target are called members.customField.ig-clicks
and members.customField.tw-clicks
etc.
So is this the right syntax in the request body? (The key being the GA data)
{
"fields": {
"IG clicks": "{members.customFields.ig-clicks}"
},
"typecast": true
}
Yes I tried reaching out to Memberstack too and have had no help
Hope someone can help. This is damn hard for a designer… but very exciting to be learning
Cheers
~Capt