Skip to content

Commit

Permalink
Updated optout for telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Jun 5, 2020
1 parent 29151c0 commit 2ee1c1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ All controls gather telemetry to verify the usage. Only the name of the control
Since version `1.17.0` it is possible to opt-out of the telemetry by adding the following code to your web part:

```typescript
import PnPTelemetry from "@pnp/telemetry-js";
...
const telemetry = PnPTelemetry.getInstance();
telemetry.optOut();
```
Expand Down

0 comments on commit 2ee1c1d

Please sign in to comment.