Solved

How to add mixpanel plugin to react-redux app from scratch step by step

  • 25 February 2020
  • 3 replies
  • 1669 views

  • New Participant
  • 0 replies

Hello Team,
It is my first time experience with mix panel, I dont have much knowledge. I wanted to keep track of how many page views for my react app. Please provide me any reference/link.

Regards,
Prad

icon

Best answer by stephanie 2 March 2020, 19:43

Hi @prad,

I am not super fluid/familiar with the react-redux ecosystem. I was able to do some digging and found this old community post that might be helpful for you, Using Mixpanel with ReactJS.

I also googled it and found some external articles that might be helpful.

https://medium.appbase.io/analytics-with-mixpanel-part-9-of-11-f9a16dbb8f42

https://medium.com/@andrewoons/setting-up-mixpanel-in-react-3e4c5b8c2a36

https://www.npmjs.com/package/react-mixpanel

Being that the links are from outside sources, I would highly suggest testing it out before you completely implement on your production projects.

 

Hope this helps! 

View original

3 replies

Userlevel 5
Badge +4

Hi @prad,

I am not super fluid/familiar with the react-redux ecosystem. I was able to do some digging and found this old community post that might be helpful for you, Using Mixpanel with ReactJS.

I also googled it and found some external articles that might be helpful.

https://medium.appbase.io/analytics-with-mixpanel-part-9-of-11-f9a16dbb8f42

https://medium.com/@andrewoons/setting-up-mixpanel-in-react-3e4c5b8c2a36

https://www.npmjs.com/package/react-mixpanel

Being that the links are from outside sources, I would highly suggest testing it out before you completely implement on your production projects.

 

Hope this helps! 

A handy library has recently appeared for this:
https://www.npmjs.com/package/react-mixpanel-provider-component

Userlevel 6
Badge +3

We are excited to announce that we have shipped the React Native SDK!

Please use the following resources to use the SDK, and post in Sending data to Mixpanel if you have any questions!

Developer guide: https://developer.mixpanel.com/docs/react-native

Github link: https://github.com/mixpanel/mixpanel-react-native

Sample App: https://github.com/mixpanel/mixpanel-react-native/tree/master/MixpanelDemo

Reply


Mixpanel