Skip to content

Commit d6945ad

Browse files
Merge pull request #178 from CodeForPhilly/chore/zbl-remove-google-analytics
Remove Google Analytics integration and related verification file, si…
2 parents 29e2d69 + c1fe2b8 commit d6945ad

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

lib/server.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,14 +1028,6 @@ module.exports = async function ({ plants, nurseries }) {
10281028
<div id="app">${appContent}</div>
10291029
<script src="/js/chunk-vendors.js?version=${version}"></script>
10301030
<script src="/js/app.js?version=${version}"></script>
1031-
<!-- Global site tag (gtag.js) - Google Analytics -->
1032-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CHCN0FC8JD"></script>
1033-
<script>
1034-
window.dataLayer = window.dataLayer || [];
1035-
function gtag(){dataLayer.push(arguments);}
1036-
gtag('js', new Date());
1037-
gtag('config', 'G-CHCN0FC8JD');
1038-
</script>
10391031
</body>
10401032
</html>
10411033
`.trim();

public/google9e8d9bcdaef4cbd3.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/HowToUsePage.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,7 @@
242242
<p>
243243
If you choose to use the features of the site that allow you to identify
244244
your favorite plants, these will be tracked only in your browser's local
245-
storage. A cookie is also used to enable Google Analytics so that we can
246-
analyze how much traffic the site is receiving. No other session tracking
247-
or cookies are used. By using these features you consent to the collection
248-
of this information.
245+
storage. No session tracking or cookies are used.
249246
</p>
250247
<p>© 2025 Choose Native Plants - USA</p>
251248
</article>

0 commit comments

Comments
 (0)