I understand that there are some recommended events for firebase analytics. one of the recommended events is begin_checkout that already has associated standard custom parameter/dimension like value
and currency
.
I want to make my own custom event called end_checkout
, and it also needs value
and currency
as the dimension and metric. so my code will be like this
await FirebaseAnalytics.instance.logEvent(
name: "end_checkout",
parameters: {
"value": 99,
"currency": "USD",
},
);
as you can see, I try to make custom event, but I use parameter names (dimension & metric) that already provided by Google. my question is.
can I make custom event using standard metric or dimension name that already provided by Firebase Analytics? or do I need to register custom dimension and custom metric called value
and currency
by myself?
2
Answers
If you would like a data card for each parameter to be added to the related event-detail report, you would need to register custom dimensions and metrics for it.
You are free to use "value" and "currency" params in your custom events. You will likely need to register them to see them in reports.