This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flux): taggue l'utilisation des flux geojson sur Matomo (#11)
* feat(flux): taggue l'utilisation des flux geojson sur Matomo * refactor: refactorise Co-authored-by: Francois Romain <francoisromain@gmail.com>
- Loading branch information
1 parent
e5a986f
commit 38ba886
Showing
5 changed files
with
55 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ URL= | |
|
||
# certificat ssh (docker-compose) | ||
LETSENCRYPT_EMAIL= | ||
|
||
# stats | ||
MATOMO_SITE_ID= | ||
MATOMO_HOST= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const MatomoTracker = require('matomo-tracker') | ||
|
||
module.exports = | ||
process.env.MATOMO_SITE_ID && process.env.MATOMO_HOST | ||
? new MatomoTracker(process.env.MATOMO_SITE_ID, process.env.MATOMO_HOST) | ||
: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters