Can i change the project token?
Hi Imtiaz N., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
You cannot change an existing project token in Mixpanel, as each project has a unique alphanumerical token for collecting data. However, you can: 1. Create a new project which will have a different token
2. Update your implementation to use the new project tokenWhen you need to change the project token in your implementation, you'll need to update it in your code. For example: LBKS// Replace 'YOUR_TOKEN' with your new project token mixpanel.init('YOUR_TOKEN');LBKS
You can find your project token in the Access Keys section of your project settings at Mixpanel Project Settings.If you're migrating from one project to another, you'll need to redirect your data by updating the project token across all platforms that are sending data to Mixpanel as mentioned in the project migration guide.For development purposes, you might also consider setting up separate projects for development and production environments, each with their own token.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.