Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 974b650

Browse files
committed
Removed unused GA tracking id 🚀
1 parent 4d378f7 commit 974b650

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

gatsby-config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ const config: GatsbyConfig = {
3838
{
3939
resolve: `gatsby-plugin-google-gtag`,
4040
options: {
41-
trackingIds: [
42-
"UA-97399890-1", // Google Analytics / GA
43-
"G-B992TEM300",
44-
],
41+
trackingIds: ["G-B992TEM300"],
4542
gtagConfig: {
4643
anonymize_ip: true,
4744
},

src/components/design-system/templates/showcase-page-template.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,15 @@ export const ShowcasePageTemplate: FC<ShowcasePageProps> = ({
3434
featuredImage,
3535
cookieConsentColor,
3636
}) => {
37-
const data = useStaticQuery<Queries.ShowcasePageQuery>(
38-
graphql`
39-
query ShowcasePage {
40-
site {
41-
siteMetadata {
42-
author
43-
}
37+
const data = useStaticQuery<Queries.ShowcasePageQuery>(graphql`
38+
query ShowcasePage {
39+
site {
40+
siteMetadata {
41+
author
4442
}
4543
}
46-
`
47-
);
44+
}
45+
`);
4846

4947
const siteMetadata = data.site!.siteMetadata!;
5048
const author = siteMetadata.author!;

0 commit comments

Comments
 (0)