1. How it works
If you are using Tight’s embeddable user interface, you can easily leverage Tight’s Mixpanel integration to enhance the data showing in your Mixpanel instance. Actions that your users take inside Hurdlr’s embeddable user interface will be tracked using Mixpanel events. You can leverage those events to set up/view various funnels to analyze user activity and conversion rates, among other things.2. Getting started
First, be sure to have created your own Mixpanel project. In your Mixpanel project dashboard, click on the settings cog in the top right header -> Project Settings -> Implement Mixpanel -> JavaScript. You will see some sample JavaScript, from which you will want to copy the parameter sent into theMixpanel.init(...) function. This is called the project token.
Next, you will want to implement Tight’s embeddable user interface.
Finally, when making the Hurdlr.init({...}) call described in the above link, you will want to amend the data parameters to include an object:
project token attribute that you copied in the first step.
3. Identifying users (optional)
If you are identifying your user with Mixpanel using something different than theuserId that you use to register your users with the Tight API, then you will need to amend the mixpanel object passed into your call of Hurdlr.init({...}) to set the userId property to said identifier.
4. Adding super properties (optional)
You can use the Tight SDK to set user properties beyond Mixpanel’s defaults, which will then be included in each subsequent event. Set thesuperProperties field in the mixpanel object to whatever properties you’d like to track. For example: