// at the top of your PCIbex main.js, add this line to generate a unique id
const childlanglab_id = crypto.randomUUID();
// create the following trial to send results to the lab's database
// and add it to the end of your sequence, for example:
Sequence('trial1', 'trial2', 'sendToDB')
newTrial('sendToDB',
SendResults('https://api.childlanglab.com/v1/runs/pcibex'
+window.location.search+'&randomid='+childlanglab_id)
)