You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I'm using the Firebase Analytics from GitLive version 2.1.0 in a Kotlin with Compose Multiplatform - Kobweb project for a website.
I am trying to log the following event together with a map of custom parameters:
First attempt:
analytics.logEvent(
"landing_cta_click",
mapOf(
"home_variant" to "A",
"cta_variant" to "B"
)
)
Second attempt:
analytics.logEvent("landing_cta_click") {
param("home_variant" to "A")
param("cta_variant" to "B")
}
Checking the Firebase DebugView, in first attempt they are logged under the v5_1 name:
And for second attempt, they are logged under the internalMap_1 name:
I expected that the home_variant and cta_variant custom parameters would be added directly to the landing_cta_click event log in Firebase as individual parameters, rather than being added under these unexpected container names.
This is a critical issue for my project because it totally breaks the Google Analytics custom parameters tracking, as for example home_variant is not considered a logged parameter even if it is set as a custom dimension. It just appears as (not set), because instead v5_1 is registered as the actual parameter, with a plain text value set to {home_variant=B, cta_variant=A}.
The text was updated successfully, but these errors were encountered:
andreimesina
changed the title
Firebase Analytics logEvent with parameters map issues
Firebase Analytics logEvent with custom parameters map issues
Jan 3, 2025
Hi there!
I'm using the Firebase Analytics from GitLive version 2.1.0 in a Kotlin with Compose Multiplatform - Kobweb project for a website.
I am trying to log the following event together with a map of custom parameters:
First attempt:
Second attempt:
Checking the Firebase DebugView, in first attempt they are logged under the
v5_1
name:And for second attempt, they are logged under the
internalMap_1
name:I expected that the
home_variant
andcta_variant
custom parameters would be added directly to thelanding_cta_click
event log in Firebase as individual parameters, rather than being added under these unexpected container names.This is a critical issue for my project because it totally breaks the Google Analytics custom parameters tracking, as for example
home_variant
is not considered a logged parameter even if it is set as a custom dimension. It just appears as(not set)
, because insteadv5_1
is registered as the actual parameter, with a plain text value set to{home_variant=B, cta_variant=A}
.The text was updated successfully, but these errors were encountered: