Skip to content

Commit

Permalink
gdpr classification for markdown extension
Browse files Browse the repository at this point in the history
  • Loading branch information
kieferrm committed Sep 18, 2017
1 parent 93b4d27 commit acd9ca5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/markdown/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ function showPreview(cspArbiter: ExtensionContentSecurityPolicyArbiter, uri?: vs
});

if (telemetryReporter) {
/* __GDPR__
"openPreview" : {
"where" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"how": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
telemetryReporter.sendTelemetryEvent('openPreview', {
where: sideBySide ? 'sideBySide' : 'inPlace',
how: (uri instanceof vscode.Uri) ? 'action' : 'pallete'
Expand Down

0 comments on commit acd9ca5

Please sign in to comment.