Skip to content

Commit

Permalink
Add option to track
Browse files Browse the repository at this point in the history
  • Loading branch information
dipree committed Apr 18, 2024
1 parent 612f80d commit 891c0a4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions theme/src/components/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ function Head(props) {
<meta property="og:description" content={description} />
<meta property="og:image" content={siteMetadata.imageUrl} />
<meta property="twitter:card" content="summary_large_image" />
<meta name="ha-url" content="https://collector.githubapp.com/primer/collect" />
<script src="https://analytics.githubassets.com/hydro-marketing.min.js"></script>
{siteMetadata.primerTracking ?

Check failure on line 18 in theme/src/components/head.js

View workflow job for this annotation

GitHub Actions / CI

Insert `·(`
<>
<meta name="ha-url" content="https://collector.githubapp.com/primer/collect" />
<script src="https://analytics.githubassets.com/hydro-marketing.min.js"></script>
</>
: null

Check failure on line 23 in theme/src/components/head.js

View workflow job for this annotation

GitHub Actions / CI

Replace `··:·null⏎······` with `)·:·null`
}
</Helmet>
)
}
Expand Down

0 comments on commit 891c0a4

Please sign in to comment.