Skip to content

Commit

Permalink
gtag add
Browse files Browse the repository at this point in the history
  • Loading branch information
jayachristina committed Nov 2, 2023
1 parent 79ea546 commit d8229fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 1 addition & 5 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ ui:
bundle:
url: https://github.com/redhat-solution-patterns/course-ui/releases/download/v0.1.14-custom/ui-bundle.zip
snapshot: true
supplemental_files:
- path: ./supplemental-ui
- path: .nojekyll
- path: ui.yml
contents: "static_files: [ .nojekyll ]"
supplemental_files: ./supplemental-ui

output:
dir: ./gh-pages
9 changes: 9 additions & 0 deletions supplemental-ui/partials/head-meta.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RYYBY4CJ32"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RYYBY4CJ32');
</script>

0 comments on commit d8229fd

Please sign in to comment.