Parameterübergabe/en: Unterschied zwischen den Versionen

Aus emoTouch
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „'''Note: if you want to test the parameter transfer before starting the study, use an incognito tab. The following key combinations open a new incognito window…“)
 
(kein Unterschied)

Aktuelle Version vom 14. März 2022, 06:36 Uhr

It is possible to append a Query-String to the URL you provide to your participants. Some parameters are handled separately by emoTouch so that you are able to search or filter for the value of these parameters. Specifically these are the eight parameters i1, i2, ..., i8 and the eight parameters s1, s2, ..., s8. The "i" stands for integer, i.e. numbers on which mathematical operations can later be performed, while the "s" stands for string, i.e. character strings.

All other parameters provided in the query string of the URL are also saved but are saved together as a JSON and are not searchable or filterable within emoTouch.


Note: if you want to test the parameter transfer before starting the study, use an incognito tab. The following key combinations open a new incognito window, where you can then simply paste the link:

Shortcut keys Incognito mode
Windows (Chrome) Windows (Firefox) Windows (Edge) MacOS (Chrome) MacOS (Firefox)
Ctrl + Shift + n Ctrl + Shift + p Ctrl + Shift + n ⌘ + Shift + n ⌘ + Shift + p

Example

Here is a sample URL (realization code: 123abc) with all possible parameter types and sample values:

https://pi.emotouch.de/en/123abc?i1=100&i2=5&s1=hello&s2=world&mykey1=myvalue1&mykey2=myvalue2

This would result in a session with the following structure:

   id: 123abc (This is only a sample ID)
   i1: 100
   i2: 5
   s1: hello
   s2: world
   params: {
       mykey1: myvalue1,
       mykey2: myvalue2
   }

The parameters can be viewed on the details page of a session.