How to properly implement fbclid parameter persistence in Memberstack for Facebook Conversion API?
Hey guys,
I’m trying to add and pass the PARAMS in the URL String at signup, to pass the fbclid parameters to someone who completes a successfull checkout, to track FB conversions using the Conversion API
- I have created a custom field in the members area “fbclid”
Name = data-ms-member
ID = fbclid
- I’m capturing and storing fbclid on initial visit (added some code in webflow footer)
- passing the fbclid to memberstack during signup (added a hidden code in the signup form)
<input type=“hidden” data-ms-member=“fbclid” value=“”>
- Configured Memberstack to Use the Stored fbclid in Redirects like this:
/app/home?fbclid={member.customFields.fbclid}
I’m not able to capture the fbclid in the URL string, post the successful checkout process
is this the correct way of doing this?
Comments
4 comments
Capture the signup event.
The code would look more or less like this
Here are the docs for the signup method
https://developers.memberstack.com/docs/dom-front-end-package#signing-up-a-member-using-email-and-password
https://www.analyticsmania.com/post/facebook-conversion-tracking-google-tag-manager/You can create a page that only sends the sign up metric when landing there. And redirect to all the users when they sign up there
thanks, i’ve already set this up, but i was looking to improve my conversion tracking using the server side integration.
To send server side analytics you will need to setup a server. I wouldn’t recommend you to do them if you don’t know how to program it. That’s more advanced topics dedicated to developers.
Ok
Thanks
Please sign in to leave a comment.