Compteurs de vues #143456
Unanswered
Meteofloralies
asked this question in
Programming Help
Compteurs de vues
#143456
Replies: 2 comments
-
The question is unclear, but if you mean tracking the number of views for your page: You can use Google Analytics to track the number of views in "index.html" easily.
Example: <script async src="https://www.googletagmanager.com/gtag/js?id=YOUR_TRACKING_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'YOUR_TRACKING_ID');
</script> |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for posting in the GitHub Community, @Meteofloralies ! We’ve moved your post to our Programming Help 🧑💻 category, which is more appropriate for this type of discussion. Please review our guidelines about the Programming Help category for more information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Bonjour
Is there a code to put in "index.html" to get the number of views?
Or something else?
Kind regards (France)
Beta Was this translation helpful? Give feedback.
All reactions