From b33cef7d4a40dd522fc08815da4d33b76004b6c9 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Mon, 10 Oct 2022 03:01:35 -0700 Subject: [PATCH] clean up gatsby-browser --- gatsby-browser.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gatsby-browser.js b/gatsby-browser.js index 595c491..6bcd3f2 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -7,12 +7,6 @@ const env = export const onRouteUpdate = function () { if (env === "production" && typeof window.plausible === "object") { window.plausible("pageview"); - // eslint-disable-next-line - _paq.push(["setCustomUrl", "/" + window.location.pathname]); - // eslint-disable-next-line - _paq.push(["setDocumentTitle", document.title]); - // eslint-disable-next-line - _paq.push(["trackPageView"]); } }; // import * as React from 'react'; @@ -31,11 +25,11 @@ export const onRouteUpdate = function () { export const wrapRootElement = ({ element }) => (