How can I turn off Stats collection in Channels?

When using a Content Security Policy (CSP) you might notice an outbound request to *stats.pusher.com. This is used to anonymously collect usage statistics for Channels. 

There is no impact to preventing these connections, and we offer a flag to turn off this stat collection entirely. See our GitHub repo for more information.

An example connection using this in Javascript might look like:

var pusher = new Pusher({
  appId: 'ID',
  key: 'KEY',
  secret: 'SECRET',
  cluster: 'eu',
  diableStats: true
});
Was this article helpful?
0 out of 0 found this helpful
Haven't found what you were looking for?
Submit a ticket