Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google analytics #24

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions apps/countries/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
<meta name="description" content="Search and visualize world and countrie's debt." />
<meta name="author" content="Ronard Luna (ronarddevelops@gmail.com)" />
<title>{% block title %}{% endblock title %}</title>

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

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

<link rel="icon" href="/static/imgs/logo-chart.png">
<!-- Load Django Bootstrap5 CSS and JavaScript -->
{% load bootstrap5 %}
Expand Down
Loading