# Google Analytics configuration error?

**URL:** https://meta.discourse.org/t/google-analytics-configuration-error/142146
**Category:** Support
**Created:** [February 20, 2020, 4:24pm UTC](https://meta.discourse.org/t/google-analytics-configuration-error/142146 "2020-02-20T16:24:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [February 20, 2020, 4:24pm UTC](https://meta.discourse.org/t/google-analytics-configuration-error/142146/1 "2020-02-20T16:24:32Z")

</div>

Is it a basic configuration error to place the same Google tracking code ID in both these fields?

- ga universal tracking code
- ga universal auto link domains

If so, is one of these fields the correct field to place the tracking code ID into?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [February 20, 2020, 6:40pm UTC](https://meta.discourse.org/t/google-analytics-configuration-error/142146/3 "2020-02-20T18:40:38Z")

</div>

> [@outofthebox](#):
>
> Is it a basic configuration error to place the same Google tracking code ID in both these fields?

Yes. The Google tracking code should be added to the `ga universal tracking code` site setting.

The `ga universal auto link domains` site setting is intended to be a list of domains. It is used for cross-domain tracking. This setting can be left empty. See [[UA] Set up cross-domain measurement (analytics.js) [Legacy] - Analytics Help](https://support.google.com/analytics/answer/1034342) for details about what the setting is used for.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 23, 2020, 5:21am UTC](https://meta.discourse.org/t/google-analytics-configuration-error/142146/4 "2020-03-23T05:21:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
