How to use Google analytics node Custom Metrics

I use eventCount to comfirm my node is working fine

Then I try
eventCount/totalUsers
it also working

So I thought it would be
eventCount/file_download
to get the data I want but it is not…


I read their doc, then I tried something like this
customEvent:totalEvents[file_download]
or totalEvents[file_download]
Still cannot work.

Any idea how we can get the metrics from a custom event?

Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Blueli,

This is a tricky one, What does the totalUsers field look like in the UI? Without actually seeing all of your properties and having a play this is going to be a case of trying different values to see what works.

It seems there is no way to filter the event count I need from the node directly. I just want to get some custom event event count for the metric… even the official API doc, I cannot find any example at all… Wondering if it is even doable…

So I found out how to do it right now… I will need to add another Dimension for eventName and use Dimension Filter to filter the event I need.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.