From 3102610efe82825fc81ef34921db400596f3c67f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 8 Jul 2023 11:39:02 +0100 Subject: [PATCH] update readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 33785d6..50a6af9 100644 --- a/README.md +++ b/README.md @@ -69,14 +69,14 @@ _NOTE: By default, this plugin only generates output when run in production mode | `siteId` | Your Matomo site ID configured in your Matomo installation. | | `matomoUrl` | The url of your Matomo installation. | | `siteUrl` | The url of your site, usually the same as `siteMetadata.siteUrl`. Only used for generating the url for `noscript` image tracking fallback. | -| `matomoPhpScript` | (optional) The name of your Matomo PHP script. Defaults to `piwik.php` | -| `matomoJsScript` | (optional) The name of your Matomo JS script. Defaults to `piwik.js` | +| `matomoPhpScript` | (optional) The name of your Matomo PHP script. Defaults to `matomo.php` | +| `matomoJsScript` | (optional) The name of your Matomo JS script. Defaults to `matomo.js` | | `exclude` | (optional) Specify an array of pathnames where tracking code will be excluded. The pathname `/offline-plugin-app-shell-fallback/` is excluded by default. | | `requireConsent` | (optional) If true, tracking will be disabled until you call `window._paq.push(['setConsentGiven']);`. | | `requireCookieConsent` | (optional) If true, no cookies will be stored or used until you call `window._paq.push(['setCookieConsentGiven']);`. | | `disableCookies` | (optional) If true, no cookie will be used by Matomo. | | `cookieDomain` | (optional) Specify cookie domain. | -| `localScript` | (optional) If set, load local `piwik.js` script from the given path, instead of loading it from your `matomoUrl`. | +| `localScript` | (optional) If set, load local `matomo.js` script from the given path, instead of loading it from your `matomoUrl`. | | `trackLoad` | (optional) If true, it will track the loading of the matomo library. Defaults to `true`. | | `respectDnt` | (optional) If false, will load all scripts without respecting user preference to `Do Not Track` on browsers. Defaults to `true`. | | `dev` | (optional) Activate dev mode by setting to `true`. Will load all scripts despite not running in `production` environment. Ignores your local browser's DNT header too. Outputs some information in console about what it is doing. Useful for local testing but careful: all hits will be send like in production. | @@ -91,14 +91,14 @@ plugins: [ matomoUrl: 'https://YOUR_MATOMO_URL.COM', siteUrl: 'https://YOUR_LIVE_SITE_URL.COM', // All the optional settings - matomoPhpScript: 'piwik.php', - matomoJsScript: 'piwik.js', + matomoPhpScript: 'matomo.php', + matomoJsScript: 'matomo.js', exclude: ['/offline-plugin-app-shell-fallback/'], requireConsent: false, requireCookieConsent: false, disableCookies: false, cookieDomain: '*.example.org', - localScript: '/piwik.js', + localScript: '/matomo.js', dev: false, enableJSErrorTracking: true, additionalTrackers: [