Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit ffc6f25

Browse files
committed
add gtm to all landing pages
1 parent a733495 commit ffc6f25

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/templates/landing_pages/_common/layout.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import React from 'react';
1+
import React from 'react';
22
import OutdatedBrowserMessage from './outdated_browser_message.jsx';
3-
import Title from '../../_common/components/title.jsx';
4-
import AntiClickjack from '../../_common/includes/anti_clickjack.jsx';
5-
import Favicons from '../../_common/includes/favicons.jsx';
6-
import GoogleOptimizer from '../../_common/includes/google_optimizer.jsx';
3+
import Title from '../../_common/components/title.jsx';
4+
import AntiClickjack from '../../_common/includes/anti_clickjack.jsx';
5+
import Favicons from '../../_common/includes/favicons.jsx';
6+
import GoogleOptimizer from '../../_common/includes/google_optimizer.jsx';
7+
import Gtm from '../../_common/includes/gtm.jsx';
78

89
const Layout = ({
910
meta_description,
@@ -38,6 +39,8 @@ const Layout = ({
3839
</head>
3940

4041
<body>
42+
<Gtm />
43+
4144
{children}
4245

4346
<OutdatedBrowserMessage />

src/templates/landing_pages/grid_landing.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable react/jsx-no-target-blank */
22
import React from 'react';
33
import Layout from './_common/layout.jsx';
4-
import Gtm from '../_common/includes/gtm.jsx';
54

65
const gridLP = () => (
76
<Layout
@@ -17,7 +16,6 @@ const gridLP = () => (
1716
]}
1817
>
1918

20-
<Gtm />
2119
<div className='binary-grid-landing'>
2220
<div className='home--header'>
2321
<div className='container'>

0 commit comments

Comments
 (0)