|
@@ -1,4 +1,4 @@
|
|
-// <noscript><p><img src="https://matomo.morpheu5.net/matomo.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
|
|
|
|
|
+// <noscript><p><img src="https://merida.morpheu5.net/balmyogre?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
|
|
|
|
|
|
import { ConsentStore } from "~~/types";
|
|
import { ConsentStore } from "~~/types";
|
|
|
|
|
|
@@ -7,18 +7,19 @@ export default defineNuxtPlugin(_nuxtApp => {
|
|
const analytics = consentStore?.analytics;
|
|
const analytics = consentStore?.analytics;
|
|
|
|
|
|
if (analytics || true) {
|
|
if (analytics || true) {
|
|
- const u = "https://matomo.morpheu5.net/";
|
|
|
|
|
|
+ const u = "https://merida.morpheu5.net/";
|
|
const _paq = window._paq = window._paq || [];
|
|
const _paq = window._paq = window._paq || [];
|
|
|
|
+ _paq.push(['setRequestMethod', 'POST']);
|
|
_paq.push(['requireCookieConsent']);
|
|
_paq.push(['requireCookieConsent']);
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
_paq.push(['enableLinkTracking']);
|
|
- _paq.push(['setTrackerUrl', `${u}matomo.php`]);
|
|
|
|
|
|
+ _paq.push(['setTrackerUrl', `${u}balmyogre`]);
|
|
_paq.push(['setSiteId', process.dev ? '3' : '1']);
|
|
_paq.push(['setSiteId', process.dev ? '3' : '1']);
|
|
|
|
|
|
useHead({
|
|
useHead({
|
|
script: [
|
|
script: [
|
|
{
|
|
{
|
|
- src: `${u}matomo.js`,
|
|
|
|
|
|
+ src: `${u}prettyprincess`,
|
|
body: true,
|
|
body: true,
|
|
async: true,
|
|
async: true,
|
|
}
|
|
}
|