-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated custom header to custom head. Should fix analytics.
- Loading branch information
Showing
2 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<meta property="og:image" content="/images/logos/onnxruntime/ORT_icon_for_light_bg.png" /> | ||
|
||
<script | ||
type="text/javascript" | ||
src="https://js.monitor.azure.com/scripts/c/ms.analytics-web-3.min.js" | ||
></script> | ||
|
||
<script type="text/javascript"> | ||
const analytics = new oneDS.ApplicationInsights(); | ||
var config = { | ||
instrumentationKey: | ||
'360b0e675e0044398fd28c8bdf711b8e-1fe5434d-ee99-4837-99cc-a3a16462d82d-7262', | ||
channelConfiguration: { | ||
// Post channel configuration | ||
eventsLimitInMem: 50 | ||
}, | ||
propertyConfiguration: { | ||
// Properties Plugin configuration | ||
env: 'PROD' // Environment can be set to PPE or PROD as needed. | ||
}, | ||
webAnalyticsConfiguration: { | ||
// Web Analytics Plugin configuration | ||
//urlCollectQuery:true, | ||
autoCapture: { | ||
scroll: true, | ||
pageView: true, | ||
onLoad: true, | ||
onUnload: true, | ||
click: true, | ||
resize: true, | ||
jsError: true | ||
} | ||
} | ||
}; | ||
//Initialize SDK | ||
analytics.initialize(config, []); | ||
</script> |
This file was deleted.
Oops, something went wrong.