Skip to content

Commit

Permalink
fix: adiciona config GA
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueAJNB committed Oct 1, 2024
1 parent 4ce074f commit 975e887
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ parse:
sphinx:
config:
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
language: pt
language: pt
templates_path:
- _templates
15 changes: 15 additions & 0 deletions book/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{%- extends "!layout.html" %}
{%- block extrahead %}
{{ super() }}

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-code"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-JSWERJSPMN');
</script>

{%- endblock %}

0 comments on commit 975e887

Please sign in to comment.