From ab50f6028bb059842dc95416f213a42ee04439c4 Mon Sep 17 00:00:00 2001 From: David Hochbaum Date: Wed, 3 Jul 2024 15:58:42 -0400 Subject: [PATCH] Update Matomo to use cloud hosting instead of self-hosted. --- app/index.html | 2 +- config/environment.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/index.html b/app/index.html index e950be01..043cc1e0 100644 --- a/app/index.html +++ b/app/index.html @@ -13,7 +13,7 @@ _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); (function() { var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src='https://matomo.planninglabs.nyc/js/container_9G7PP94F.js'; s.parentNode.insertBefore(g,s); + g.async=true; g.src='https://cdn.matomo.cloud/nycplanning.matomo.cloud/container_FkkxRc58.js'; s.parentNode.insertBefore(g,s); })(); diff --git a/config/environment.js b/config/environment.js index fe65312b..2b2347eb 100644 --- a/config/environment.js +++ b/config/environment.js @@ -8,8 +8,8 @@ module.exports = function (environment) { name: 'MatomoTagManager', environments: ['development', 'production', 'test'], config: { - matomoUrl: 'matomo.planninglabs.nyc', - containerId: '9G7PP94F', + matomoUrl: 'nycplanning.matomo.cloud', + containerId: 'FkkxRc58', }, }, ],