Google Analytics tracking code not valid by envato


I read some tutorials related to GA tracking code, mostly have UA-XXXX code, but I have G-XXXX.

I can’t submit my code to my profile, it’s says my tracking code is not valid

Where to get UA code ? or is envato code checking not updated yet?

If you’re working with an App + Web property, you have a Measurement ID instead of a Tracking ID. A Measurement ID uses the format G-XXXXXXX

Envato currently requires a Universal Analytics (UA) property.

Go create a new property in the admin dashboard and expand the “advanced options” section at the bottom, you should see an option to enable Universal Analytics. Then enter the URL to your profile and choose “Create a Universal Analytics property only” (unless you also want a GA4 property for your own usage).


Thank you!

1 Like

Thanks to @redfoc and @baileyherbert. I was searching for the same thing and got a solution finally. I think this “update” should also be added to the new author guide.

Google Analytics: Reminder for the team Envato:
Universal Analytics will no longer process new data in standard properties beginning July 1, 2023. Prepare now by setting up and switching over to a Google Analytics 4 property.

Better to resolve this issue beforehand and start allowing GA4P! Hope it helps!

1 Like

So, it’s almost July (well, a few months away), but Envato still doesn’t support GA4. What are we supposed to do?

I’ve heard they’re actively working on it but have no ETA.

Hopefully, it will be soon, as, I assume, lots of authors need to migrate, set up events, conversions and so on.

Do we have any news in this area? @BenLeong

:wave: I’m not across any details of our GA4 project (I’ve been in lots of tax and payment system projects lately) - I’ll see what information I can find for you from our analytics team.