Skip to content

Why not use MixPanel's built-in config, rather than find-and-replace #1

Description

@acolombi

I have tried this myself, but it seems that MixPanel supports providing a custom host for API calls, https://github.com/mixpanel/mixpanel-js/blob/8b2e1f7b/src/mixpanel-core.js#L87-L110. That would simplify (and probably make more robust) your proxy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions