This commit is contained in:
Tom Moor
2023-05-08 22:16:21 -04:00
parent 1cf597aca7
commit bb2ee9dd40

View File

@@ -66,9 +66,7 @@ const Analytics: React.FC = ({ children }) => {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = `https://www.googletagmanager.com/gtag/js?id=${measurementIds.join(
","
)}`;
script.src = `https://www.googletagmanager.com/gtag/js?id=${measurementIds[0]}`;
script.async = true;
document.getElementsByTagName("head")[0]?.appendChild(script);
}, []);