Skip to content
Snippets Groups Projects
Commit 4ae8e836 authored by sandcha's avatar sandcha
Browse files

Add matomo tracking to IR and dotations pages

parent 5e4e397c
No related branches found
No related tags found
1 merge request!106Initialize matomo on home IR and dotations pages
......@@ -6,7 +6,7 @@ import { Fragment, PureComponent } from "react";
// eslint-disable-next-line no-unused-vars
import { connect, ConnectedProps } from "react-redux";
import { SimulationPage } from "../components/common";
import { SimulationPage, Matomo } from "../components/common";
import {
Articles, DsrHelpWindow,
DsuHelpWindow, MontantsDsrHelpWindow, PotentielFinancierHelpWindow, Results, TrendHelpWindow,
......@@ -42,6 +42,7 @@ class DotationPage extends PureComponent<PropsFromRedux> {
<Fragment>
<Head>
<title>LexImpact - Dotations aux communes</title>
<Matomo />
</Head>
<SimulationPage
parameters={<Articles />}
......
......@@ -8,7 +8,7 @@ import { Fragment, PureComponent } from "react";
// eslint-disable-next-line no-unused-vars
import { connect, ConnectedProps } from "react-redux";
import { SimulationPage } from "../components/common";
import { SimulationPage, Matomo } from "../components/common";
import { Articles, CartesImpact as ImpactCards } from "../components/ir";
import PopinManager from "../components/PopinManager";
import withRoot from "../lib/withRoot";
......@@ -89,6 +89,7 @@ class IRPage extends PureComponent<Props> {
<Fragment>
<Head>
<title>LexImpact - Impôt sur le revenu</title>
<Matomo />
</Head>
<SimulationPage
showLoginButton
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment