Track Custom Events with Workflow
I am trying to use studio-analytics.track-custom-event command in Web inside a Workflow to gather some more stats about what the workflow is doing.
- Is this possible to do with Studio Workflow?
- If so, what is the correct syntax for the command parameter? I am not seeing anything in Analytics when I have it set up based off the Dev Center Argument notes.
Thank you!
-
Hi Nelson
Yes - this should work fine from Workflow. Wherever you want to log an event you should be able to use the Run Command activity with studio-analytics.track-custom-event command - and pass in a payload like:
={"name":"my event",
"payload":"event 1 fired!"}When your workflow runs and passes this point - you'll see an entry in the Custom Events table like:
With the current version of Analytics (1.1) - there is no way to filter for just "my event" - but with 1.2 (aiming for June) we have introduced Filters which will allow this.
Hope this helps!
0
Comments
1 comment