diff --git a/scripts/delayed.js b/scripts/delayed.js index 48bf04c..abf1e64 100644 --- a/scripts/delayed.js +++ b/scripts/delayed.js @@ -1,6 +1,6 @@ // eslint-disable-next-line import/no-cycle import { - sampleRUM, buildForm, isForm, loadFormDelayed, getFormMeetingConfig, + sampleRUM, buildForm, isForm, loadFormDelayed, getFormMeetingConfig, loadScript, } from './aem.js'; // Core Web Vitals RUM collection @@ -43,6 +43,10 @@ if ( loadGTM(); } +// Fathom Analytics Code +const attrsFa = JSON.parse('{"data-site": "TSVSBXOE"}'); +loadScript('https://cdn.usefathom.com/script.js', attrsFa); + function loadHubSpot() { const hsScriptEl = document.createElement('script'); hsScriptEl.type = 'text/javascript';