Skip to content

Commit

Permalink
Merge pull request layer5io#4188 from ayushthe1/migrateToGtm
Browse files Browse the repository at this point in the history
migrate to google-tag-manager
  • Loading branch information
leecalcote authored May 21, 2023
2 parents aafa8d3 + 9c3f6d6 commit a7cb04e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function initGTM() {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: "gtm.js", "gtm.start": new Date().getTime(), "gtm.uniqueEventId": 0 });
};
script.src = "https://www.googletagmanager.com/gtm.js?id=G-MDVP5FT6JY";
script.src = "https://www.googletagmanager.com/gtm.js?id=GTM-PS26QB9";
document.head.appendChild(script);
}

Expand Down
2 changes: 0 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ module.exports = {
},
},
},


{
resolve: "gatsby-plugin-feed",
options: {
Expand Down
1 change: 1 addition & 0 deletions src/html.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import PropTypes from "prop-types";


export default function HTML(props) {
return (
<html lang="en" {...props.htmlAttributes}>
Expand Down

0 comments on commit a7cb04e

Please sign in to comment.