diff --git a/docs/documentation/docs/index.md b/docs/documentation/docs/index.md index 5f4696ec4..a30861828 100644 --- a/docs/documentation/docs/index.md +++ b/docs/documentation/docs/index.md @@ -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(); ```