From 4734ae10b0b0af7a5c60181d1d80398b8b996fcb Mon Sep 17 00:00:00 2001 From: Josue Ibarra Date: Tue, 17 Sep 2024 12:46:09 -0700 Subject: [PATCH] add cadence survey modal --- src/.vuepress/config.js | 1 + src/blog/.vuepress/config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index e15b9b82e..4020cd779 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -37,6 +37,7 @@ module.exports = { src: 'https://www.googletagmanager.com/gtag/js?id=G-W63QD8QE6E' }], ['script', {}, `window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-W63QD8QE6E');`], + ['script', {}, `(function(t,e,s,o){var n,a,c;t.SMCX=t.SMCX||[],e.getElementById(o)||(n=e.getElementsByTagName(s),a=n[n.length-1],c=e.createElement(s),c.type="text/javascript",c.async=!0,c.id=o,c.src="https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6tf1qkW72LYofp53DCuwcFidJsg6D9BXRx_2FjswgoSV1.js",a.parentNode.insertBefore(c,a))})(window,document,"script","smcx-sdk");`] ], themeConfig: { ...themeConfig, diff --git a/src/blog/.vuepress/config.js b/src/blog/.vuepress/config.js index dc457c86a..2ec85060c 100755 --- a/src/blog/.vuepress/config.js +++ b/src/blog/.vuepress/config.js @@ -47,5 +47,6 @@ module.exports = { src: 'https://www.googletagmanager.com/gtag/js?id=G-W63QD8QE6E' }], ['script', {}, `window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-W63QD8QE6E');`], + ['script', {}, `(function(t,e,s,o){var n,a,c;t.SMCX=t.SMCX||[],e.getElementById(o)||(n=e.getElementsByTagName(s),a=n[n.length-1],c=e.createElement(s),c.type="text/javascript",c.async=!0,c.id=o,c.src="https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd6tf1qkW72LYofp53DCuwcFidJsg6D9BXRx_2FjswgoSV1.js",a.parentNode.insertBefore(c,a))})(window,document,"script","smcx-sdk");`] ], }