GA4 support
-
How do I enable GA4 support?
After authorizing, the option for GA4 is greyed out and says “Disabled” and I don’t see my GA4 properties.
-
Hi,
Have you created the corresponding GA4 property on analytics.google.com along with at least one data stream?
Yes, the property was preexisting and contains data. In fact, there are multiple GA4 properties on that account. It shows my UA properties, but the GA4 option is Disabled.
Can you check if there are any properties and webstreams listed under Analytics Insights -> Errors & Debug -> Plugin Settings screen on ga4_webstreams_list?
If not, please check your properties and make sure there’s at least one webstream defined under each one. Since you have already web data collected you should, but double check it.
There is nothing listed.
I had one property that had no data stream, so I deleted it.
But I have three other properties that have a data stream.
To force a list refresh, you need to clear the authorization and reauthorize (reauthorization is required for security reasons).
I did Clear Authorization and Clear Cache.
I get an error message saying that there is no web data stream for a specific property when there clearly is one. Is this a permissions issue?
2022-03-03 19:54:44: Google\Service\Exception:
< html code >
<title>Error 404 (Not Found)!!1</title>
<p>The requested URL/v1alpha/properties/*/webDataStreamswas not found on this server.GAPI Error: Array ( [0] => 404 [1] => Array ( ) )I don’t think it’s a permission issue, if it was, the error would indicate that.
So, 100% you have a Web data stream, no Android nor iOS data streams.
The call to the API itself seems malformed, you haven’t truncated/removed anything, right?, from this:
/v1alpha/properties/*/webDataStreamsI will try to replicate using different setups and see what’s wrong. Anyway, no matter the setup the plugin should adapt accordingly without blocking errors.
Just a web stream. https://drive.google.com/file/d/1LS5Cf4sysX_cQWK2aEjBG3YkKxrbWJxJ/view?usp=sharing
Sorry, yes I replaced the property id with *. https://drive.google.com/file/d/1LxIOQYHOL8EIwo8Y59VOXYlg230FPHjC/view?usp=sharing
I will try some setups and see if I can replicate it, but it seems to be an Google API server error. It looks to be a server side error for some reason.
Hi,
Found the issue and released a fix, please update.
It was due to a breaking change on Google API side.
Let me know if you still have errors.
Awesome. It is working now.
Is it possible to use only GA4, I don’t see and option to disable UA?
At this point, all reporting data is retrieved from Universal Analytics. Also Google recommends dual tracking at this stage.
A review would be awesome if you feel like writing one 🙂.
The topic ‘GA4 support’ is closed to new replies.