-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add google analytics for docs pages (#2530)
## Description Add Google Analytics for docs pages ## Related Issue Fixes n/a ## Checklist before merging - [X] Test, docs, adr added or updated as needed - [X] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow) followed --------- Signed-off-by: Xander Grzywinski <[email protected]> Signed-off-by: Austin Abro <[email protected]>
- Loading branch information
1 parent
dbb1253
commit 5997346
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
import type { Props } from '@astrojs/starlight/props' | ||
import Default from '@astrojs/starlight/components/SkipLink.astro' | ||
--- | ||
|
||
<!-- Add the noscript tag for Google Tag Manager. --> | ||
<noscript> | ||
<iframe | ||
src="https://www.googletagmanager.com/gtag/js?id=G-N1XZ8ZXCWL" | ||
height="0" | ||
width="0" | ||
style="display:none;visibility:hidden" | ||
> | ||
</iframe> | ||
</noscript> | ||
|
||
<!-- Render the default <SkipLink/> component. --> | ||
<Default {...Astro.props}><slot /></Default> |