Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
add Fastly Insights (RUM for CDN)
Browse files Browse the repository at this point in the history
 🐿 v2.7.0
  • Loading branch information
bjfletcher committed Apr 11, 2018
1 parent 407c453 commit 658feb3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions browser/layout/partials/fastly-insights.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script defer src="https://www.fastly-insights.com/insights.js?k=8d2aeb08-16bf-4429-88ff-78f0dca00004"></script>
3 changes: 3 additions & 0 deletions browser/layout/vanilla.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@
<body class="o-hoverable-on" data-next-is-logged-in="{{@root.anon.userIsLoggedIn}}" data-trackable="page:{{@root.__name}}{{#if @root.trackablePageName}}/{{@root.trackablePageName}}{{/if}}">
{{{body}}}
{{>layout/partials/bootstrapper}}
{{#if @root.flags.fastlyInsights}}
{{>layout/partials/fastly-insights}}
{{/if}}
</body>
</html>
4 changes: 3 additions & 1 deletion browser/layout/wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@
{{>layout/partials/bootstrapper}}
{{>n-ui/tracking/templates/core-analytics}}
{{>n-service-worker/appcache/iframe}}

{{#if @root.flags.qualtrics}}
{{>layout/partials/qualtrics-tag}}
{{/if}}
{{#if @root.flags.fastlyInsights}}
{{>layout/partials/fastly-insights}}
{{/if}}
</body>
</html>
3 changes: 2 additions & 1 deletion secret-squirrel.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ module.exports = {
'0fee75c6-dd73-11e6-9d7c-be108f1c1dce', // server/test/stubs/navigationv2Data.json:3914|5591
'c225ddde-d85b-11e4-ba53-00144feab7de', // server/test/stubs/navigationv2Data.json:3918|5595
'0f3e15c2-dc07-11e6-86ac-f253db7791c6', // server/test/stubs/navigationv2Data.json:3922|5599
'/circleci/project/github/RedSparr0w/node' // README.md:1
'/circleci/project/github/RedSparr0w/node', // README.md:1
'k=8d2aeb08-16bf-4429-88ff-78f0dca00004' // browser/layout/partials/fastly-insights.html
]
}
};

0 comments on commit 658feb3

Please sign in to comment.