Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/runtime.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ exports.onPreRenderHTML = ({ getHeadComponents, replaceHeadComponents }) => {
const headComponents = getHeadComponents();
const modifiedComponents = [...headComponents];

// Transcend is our data privacy and consent manager.
// It must load first on the page.
modifiedComponents.push(
React.createElement('script', {
key: "airgap",
src: "https://transcend-cdn.com/cm/1f0cf102-c592-4eb4-834f-e07f2fe68ef1/airgap.js",
'data-cfasync': false,
'data-local-sync': "allow-network-observable",
async: true
})
);

modifiedComponents.push(
React.createElement('script', {
key: 'pm',
Expand Down