1
0
mirror of https://github.com/kremalicious/gatsby-plugin-matomo.git synced 2024-12-22 09:13:19 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2020-07-02 19:53:36 +02:00
parent d68376354e
commit 12093c349c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 10057 additions and 27 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
/*.js /*.js
node_modules node_modules
package-lock.json
coverage coverage

View File

@ -1,4 +1,4 @@
[![gatsby-plugin-matomo](https://raw.githubusercontent.com/kremalicious/gatsby-plugin-matomo/master/src/gatsby-plugin-matomo.png)](https://kremalicious.com/gatsby-plugin-matomo/) [![gatsby-plugin-matomo](https://raw.githubusercontent.com/kremalicious/gatsby-plugin-matomo/main/src/gatsby-plugin-matomo.png)](https://kremalicious.com/gatsby-plugin-matomo/)
# gatsby-plugin-matomo # gatsby-plugin-matomo
@ -66,11 +66,11 @@ _NOTE: By default, this plugin only generates output when run in production mode
### Options ### Options
| Option | Explanation | | Option | Explanation |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `siteId` | Your Matomo site ID configured in your Matomo installation. | | `siteId` | Your Matomo site ID configured in your Matomo installation. |
| `matomoUrl` | The url of 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. | | `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` | | `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` | | `matomoJsScript` | (optional) The name of your Matomo JS script. Defaults to `piwik.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. | | `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']);`. | | `requireConsent` | (optional) If true, tracking will be disabled until you call `window._paq.push(['setConsentGiven']);`. |

10031
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,19 +15,19 @@
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.8.4", "@babel/cli": "^7.10.4",
"@babel/core": "^7.9.0", "@babel/core": "^7.10.4",
"@babel/runtime": "^7.9.2", "@babel/runtime": "^7.10.4",
"auto-changelog": "^2.0.0", "auto-changelog": "^2.1.0",
"babel-preset-gatsby-package": "^0.5.0", "babel-preset-gatsby-package": "^0.5.1",
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"eslint": "^7.0.0", "eslint": "^7.3.1",
"eslint-config-prettier": "^6.10.1", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.2", "eslint-plugin-prettier": "^3.1.4",
"jest": "^26.0.1", "jest": "^26.1.0",
"prettier": "^2.0.3", "prettier": "^2.0.5",
"react": "^16.13.1", "react": "^16.13.1",
"release-it": "^13.5.1" "release-it": "^13.6.4"
}, },
"homepage": "https://kremalicious.com/gatsby-plugin-matomo", "homepage": "https://kremalicious.com/gatsby-plugin-matomo",
"keywords": [ "keywords": [