Hi @Eline_Belmans & @7x8p6r,
You might be able to add a Javascript-only code component as a workaround for this issue. In the Before Experiment
section of the code component you can add:
util.addInfoFromUrl(expInfo);
and this seems to force the URL parameters to be read before the participant file is created. I briefly tested this in a minimal example in Version 2022.2.4, but have not tried it in a full experiment yet.
Credit to @young1 for first proposing the workaround.
-shabkr