How to add data to the output file in PsychoJS?

URL of the experiment: https://pavlovia.org/run/G4ABM/testtest/html/

Description of the problem:
Hi!
I’m trying to add data to the default output generated by Psychopy on Pavlovia (which is a csv file).
However, when I use the following JS script at the end of a routine, nothing is registered :

psychoJS.experiment.addData("test","test")

If I’m not mistaking, this is supposed to create a column “test” and write “test” in this one at the end of each routine on the CSV.
The experiment works without crashing but there is no “test” on the CSV.

What should I do?

If you have a suggestion to create a different output (from scratch) it can also be something to consider.

Thanks a lot !

You need quotes around the column name, unless it’s a variable

@wakecarter sorry I forgot them in my post, they are actually written in the code.
Fixed the post.

Try putting a loop around the routine (nReps=1 with no Excel file). I’ve sometimes had problems locally with saving data not associated with a loop.