Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:create:hyperlink-tracking [11.10.2018 08:27] – [Record Clicks to an External Website] adminen:create:hyperlink-tracking [27.11.2020 21:40] (current) – [Preparations] sophia.schauer
Line 25: Line 25:
 ===== Preparations ===== ===== Preparations =====
  
-In both solutions an [[:en:create:questions:internal|internal variable]] is needed to save the presence of the click in the dataset. The following guide assumes that the internal variable uses the label '' IV01_01'' (the associated question uses the label ''IV01''). The interval variable can be placed in any section and use another label. In that case the code example have to be adapted.+In both solutions an [[:en:create:questions:internal|internal variable]] is needed to save the presence of the click in the dataset.  Please create a question of type "internal variables" in the question catalog. This question can contain one or more variables (items). 
 + 
 +The following guide assumes that the internal variable uses the label '' IV01_01'' (the associated question uses the label ''IV01''). The interval variable can be placed in any section and use another label. In that case the code example have to be adapted.
  
 It should also be clarified whether the questionnaire remains open in the background (solution using JavaScript) or whether the participant will leave the questionnaire when clicking the link (solution using a button). It should also be clarified whether the questionnaire remains open in the background (solution using JavaScript) or whether the participant will leave the questionnaire when clicking the link (solution using a button).
Line 63: Line 65:
 If you now click on the link, the value 2 is first stored in the input field of the internal variable. It is not yet stored in the data set. There are now 3 possibilities for this: If you now click on the link, the value 2 is first stored in the input field of the internal variable. It is not yet stored in the data set. There are now 3 possibilities for this:
  
-  - In the properties of the internal variable (click on the variable on the left in the navigation), you can set "Transfer data periodically in the background" for //Data transfer//.  +  - In the internal variable's properties (click on the variable in the navigation on the left ), you can change //Transmission// to "Transmit data in background periodically".  
-  - You can wait for the participant to return to the questionnaire and click "Next". Depending on the design, this can be risky.+  - You can wait for the participant to return to the questionnaire and click "Next". Depending on the design, this can be risky (no data about the click may be stored if the respondent dies not return).
   - When you click on the link, you can automatically switch to the following page in the questionnaire. For this you have to add the command ''SoSciTools.submitPage()''. However, this does not work in conjunction with the PHP command ''buttonHide()'' mentioned above.   - When you click on the link, you can automatically switch to the following page in the questionnaire. For this you have to add the command ''SoSciTools.submitPage()''. However, this does not work in conjunction with the PHP command ''buttonHide()'' mentioned above.
  
en/create/hyperlink-tracking.txt · Last modified: 27.11.2020 21:40 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki