Skip to content

Commit

Permalink
Updated by removing comments. Might work. (#18605)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaanavD authored Nov 28, 2023
1 parent 814821c commit 2167919
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,16 @@
></script>

<script type="text/javascript">
const analytics = new oneDS.ApplicationInsights();
var config = {
const 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.
env: 'PROD'
},
webAnalyticsConfiguration: {
// Web Analytics Plugin configuration
//urlCollectQuery:true,
autoCapture: {
scroll: true,
pageView: true,
Expand All @@ -32,6 +27,6 @@
}
}
};
//Initialize SDK
const analytics = new oneDS.ApplicationInsights();
analytics.initialize(config, []);
</script>

0 comments on commit 2167919

Please sign in to comment.