question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google analytics Measurement ID Issue

See original GitHub issue

I am getting an error when setting a Measurement ID for GOOGLE_ANALYTICS_GTAG_PROPERTY_ID as my project uses an App+Web property.

GOOGLE_ANALYTICS_GTAG_PROPERTY_ID setting: must be a string looking like 'UA-XXXXXX-Y': 'G-XXXXXXXXXX'

I think gtag.js inherently supports both features, and the test case for this should be fixed to take both strings.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jcasseecommented, Jul 10, 2020

To quote from the page @CleitonDeLima linked to:

Product prefixes for global site tags

UA Your global site tag is controlled by Google Analytics. The ID is your Google Analytics Measurement ID. To find the property associated with this ID, use the account search feature in Google Analytics. If the property does not appear, you probably do not have access to it.
G Your global site tag is controlled by a Google Analytics App + Web stream. The ID is your Google Analytics Measurement ID.
AW Your global site tag is controlled by Google Ads. The numeric string following the AW prefix is your Google Ads Conversion ID.
DC Your global site tag is controlled by a Floodlight tag. The numeric string following DC is your Advertiser ID.
other Your global site tag is controlled by a different Google product or may be implemented incorrectly. Use the Tag Assistant extension for Google Chrome to verify.

That “others” entry sounds especially ominous. 🙂

0reactions
jcasseecommented, Jul 29, 2020

Let’s first merge #164 and when the next tag type breaks it remove it altogether.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GA4] Measurement ID - Analytics Help - Google Support
A Measurement ID is an identifier (e.g., G-12345) for a web data stream. You can use the Measurement ID to send data to...
Read more >
Google Analytics Measurement ID: What, Where, and How ...
Google Analytics provides a unique id for you to track your website/app. When you place a code on your website/app this unique id...
Read more >
Understanding Google Analytics Measurement ID (GA4)
Google Analytics 4 uses measurement ID instead of the tracking ID used in Universal Analytics. The measurement ID format is G-XXXXXXX, ...
Read more >
Google Analytics 4 Measurement ID - (What You Need To Know)
1. Go to “Admin” on the bottom left. · 2. Under “Property,” click “Tracking info.” · 3. Click “Tracking code.” · 4. Your...
Read more >
Troubleshooting | Measurement Protocol for Google Analytics 4
If your events aren't showing up in Google Analytics, there are a few common issues you should look for. ... Are you using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found