Skip to content

Commit

Permalink
Ajout le tracking Matomo stats.data.gouv.fr
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon authored and shanser committed Jan 13, 2021
1 parent d8c152e commit d301ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/javascripts/matomo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Matomo Tracking Code for https://api.app.eva.beta.gouv.fr
tarteaucitron.user.matomoHost = 'https://stats.data.gouv.fr';
tarteaucitron.user.matomoId = 149;
(tarteaucitron.job = tarteaucitron.job || []).push('matomohightrack');
1 change: 1 addition & 0 deletions config/initializers/active_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
config.register_javascript '/tarteaucitron/tarteaucitron.js'
config.register_javascript 'tarteaucitron-init.js'
config.register_javascript 'hotjar.js'
config.register_javascript 'matomo.js'

# == CSV options
#
Expand Down

0 comments on commit d301ad8

Please sign in to comment.