Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:create:hyperlink-tracking [10.10.2018 14:52] – created annawolfen:create:hyperlink-tracking [11.10.2018 08:27] – [Record Clicks to an External Website] admin
Line 1: Line 1:
 ====== Record Clicks to an External Website ====== ====== Record Clicks to an External Website ======
  
-An external website is easily linked using HTML and HTML code can be used practically everywhere in SoSci Survey (i.e. questionnaire, items, text elements with formatting "HTML Code").+An external website is easily linked using HTMLHTML code can be used practically everywhere in SoSci Survey (i.e. questionnaire, items, text elements with formatting "HTML Code").
  
 <code html> <code html>
Line 18: Line 18:
  
   * The first solution requires [[:en:create:javascript|JavaScript]] which is activated for most participants.   * The first solution requires [[:en:create:javascript|JavaScript]] which is activated for most participants.
-  * The second solution uses buttons instead of "normal" links. This solution works even if JavaScript is deactivated and if someone wishes to leave the questionnaire by clicking on the link. +  * The second solution uses buttons instead of "normal" links. If the respondent whall leave the questionnaire by clicking the link (and does not return), than this solution works even if JavaScript is disabled
  
 **Important:** The link cannot be placed on the last page of the questionnaire. If it were, the interview would be finished and no more data could be saved. Instead, you can add an additional page just before the last one, where the content of the last page can be copied. The "Next" button can be hidden using the JavaScript command ''[[:de:create:soscitools|SoSciTools.submitButtonsHide()]]'' oder using the PHP command ''[[:en:create:functions:buttonhide]]'' if you do not want to continue to the last page. However, be careful using ''SoSciTools.submitPage()'', which does not work for the second version (see below). **Important:** The link cannot be placed on the last page of the questionnaire. If it were, the interview would be finished and no more data could be saved. Instead, you can add an additional page just before the last one, where the content of the last page can be copied. The "Next" button can be hidden using the JavaScript command ''[[:de:create:soscitools|SoSciTools.submitButtonsHide()]]'' oder using the PHP command ''[[:en:create:functions:buttonhide]]'' if you do not want to continue to the last page. However, be careful using ''SoSciTools.submitPage()'', which does not work for the second version (see below).
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