5

In an attempt to test with mixpanel analytics locally, I am experiencing an issue with requests being cancelled (status code: 0).

Troubleshooting:

  • Verified that api token is correct
  • Mixpanel project settings use local domain
  • Requests work if copied and ran in browser tab

(Note: I set up KISSmetrics for local testing with no issues)

Mike Causer
  • 8,196
  • 2
  • 43
  • 63
Chris
  • 1,101
  • 3
  • 17
  • 33

1 Answers1

2

Cancelled means that the page is moving before the request is completed. This is very common when you attach a Mixpanel event to a link click or form submission event.

You can avoid this by using track_links() or track_forms()

ttrefren
  • 21
  • 2