Type mismatch in some level-related analytics API methods? #6040
Unanswered
chrisbartley
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi there - hopefully someone with more direct experience will chime in (please 🙏 ) - but since I'm the active maintainer just want to say that I've not logged these personally. All I can suggest in the absence of other people chiming in is direct experimentation to see if other types go through successfully or are coerced or similar |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A couple of the API methods for level-related analytics--e.g.
logLevelStart
andlogLevelEnd
--specify level should be a number. However, GA4's documentation for thelevel_start
andlevel_end
say that thelevel_name
parameter is a string.It seems that GA4's API is a little inconsistent here, because, for example, the
level_up
andpost_score
events both expect a numericlevel
parameter.So what do people actually do here, in practice? Are these types actually enforced on either or both ends? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions