cbdeveloper
cbdeveloper

Reputation: 31345

Google Analytics with gtag.js - Difference between UA vs GA tag

I'm configuring my Google Analytics to work with gtag.js. This is a new account and I'm not dealing with any pre-existing analytics code or tags.

From: https://developers.google.com/analytics/devguides/collection/gtagjs

enter image description here

From my Google Analytics Console (Admin section)

enter image description here

QUESTION

I was expecting to get a GA- tag from my Google Analytics snippet. But instead I've got a UA- tag. What is the difference between these 2 types of tags?

Upvotes: 1

Views: 1263

Answers (1)

Дмитро Булах
Дмитро Булах

Reputation: 3847

Usually all the values of GA_MEASUREMENT_ID match the pattern of:

UA-<some numbers>-<some numeber>

so there's no problem with your value of tracking ID and it should work just fine

Upvotes: 1

Related Questions