I want to use Cloudflare Redirects to proxy client side mixpanel instead of ngnix. I want to redirect https://mydomain.com/mp to be the match of the redirection rule What are the rules I need to add on cloudflare?
Hi Mohamad Y., 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
I'm sorry, but the knowledge sources provided do not contain specific information or examples about setting up Cloudflare Redirects to proxy Mixpanel client-side traffic, nor do they provide the exact rules needed for Cloudflare. The documentation and guides reference using an nginx proxy with a sample configuration for routing Mixpanel SDK traffic through your own domain, but do not mention Cloudflare or provide Cloudflare-specific instructions or rule syntax.If you need to set up a proxy for Mixpanel using Cloudflare, you may need to consult Cloudflare's own documentation or support resources for guidance on how to create redirect or reverse proxy rules that match the functionality of the provided nginx example for Mixpanel: - The Mixpanel docs recommend using a proxy to reduce the impact of ad-blockers and provide a sample nginx config for this purpose, but do not mention Cloudflare as an option or provide Cloudflare rule examples Mixpanel JS SDK: Tracking via Proxy.If you have further questions about Mixpanel's requirements for proxying, I can help clarify those, but for Cloudflare-specific rule syntax, you will need to refer to Cloudflare's documentation.
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.
