Skip to content

Commit

Permalink
add 流量追踪
Browse files Browse the repository at this point in the history
  • Loading branch information
tanglingxiu committed Dec 26, 2024
1 parent bd7d6a1 commit 8fdab0e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
rel="stylesheet"
href="{{ 'assets/stylesheets/custom.7c86dd97.min.css' | url }}"
/>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-T6S8TZC325"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-T6S8TZC325");
</script>
{% endblock %} {% block scripts %} {{ super() }}
<!-- <script src="{{ 'assets/javascripts/custom.4e50d00f.min.js' | url }}"></script> -->
{% endblock %}

0 comments on commit 8fdab0e

Please sign in to comment.