-
Notifications
You must be signed in to change notification settings - Fork 157
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 <xandergrzyw@gmail.com>
- Loading branch information
1 parent
fd43ac8
commit bdd0a2d
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> |