Serialise Google Analytics Custom Metric?

Rookie Contributor


I am trying to set a custom metric counting the number of submissions of a form. I would like this metric to count only once per session. However, Google Analytics only offers scop "Hit" or "Product" for custom metrics. None of these will do the job.

Is there a simple solution for this issue?

Many thanks in adavance for your input.


Serialise Google Analytics Custom Metric?

Silver Contributor
Silver Contributor

Hi Jean-Marc (nice to see you here!) :)


Unfortunately there is nothing like Event Serialization in Google Analytics. In fact, the scopes you can assign to custom dimensions and metrics in Google Analytics is very limited in comparison to Adobe Analytics. Session-based Metrics in GA are viciously flawed in general, as I wrote in this article:

(Sessions in GA are actually "Entrances" for any Hit-based Dimensions!)


So if you want to track a form completion into a Custom Metric, and the name of the Form into a Session-scoped Custom Dimension (because you want to count each form just once per visit), what happens if the user fills in two forms?


The Session-scoped Custom Dimension for the Form Name will only report the last form that was filled in, however the Custom Metric “Form Completions” will count 2 Completions. So it looks as if that second form was filled in twice when in fact the second completion stemmed from an entirely different form....


See you soon,


Serialise Google Analytics Custom Metric?

Rookie Contributor

Hi @loldenburg
Thanks a lot for your reply. Very helpful, as always.

Looks like the only way to work around this problem is to use the "Unique Events" metric in Google analytics.

Kind regards...Jean-Marc