Problem with multiple CustomJsFunction variable


I’m having an issue with Matomo Tagmanager (Matomo cloud 3.9.1) reminding me of this one Using CustomJsFunctionVariable 2 or more which should’ve been solved?

I would like to use a Custom Javascript function variable as Event Category in a tag and another Custom Javascript function variable as Event Action. The problem is that as soon as I add another CustomJsFunction variable, the first variable’s value is overridden by the second.

Please see this very trivial example with the tag, the two variables and the preview result to demonstrate the problem.

Is this not possible to do? Please let me know if you need any more information.

It should be possible, can you check if this was maybe fixed in 3.10? I definitely remember fixing this and in theory it should work now.