# Setup instructions for Google Analytics 4

**URL:** https://meta.discourse.org/t/setup-instructions-for-google-analytics-4/167863
**Category:** Data & reporting
**Tags:** analytics
**Created:** [October 21, 2020, 1:02pm UTC](https://meta.discourse.org/t/setup-instructions-for-google-analytics-4/167863 "2020-10-21T13:02:53Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![TechGeek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techgeek/32/274321_2.png) [@TechGeek](https://meta.discourse.org/u/TechGeek)
#### Post date: [June 4, 2021, 6:39am UTC](https://meta.discourse.org/t/setup-instructions-for-google-analytics-4/167863/11 "2021-06-04T06:39:51Z")

</div>

Using v4\_gtag and entering G-XXXXXXXXXX is resulting into multiple page views for single page visit.

Also is there any way to avoid inserting analytics code in admin section?

---

_[View the full topic](https://meta.discourse.org/t/setup-instructions-for-google-analytics-4/167863)._
