Actions

Panel integration/zh-cn: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 4: Line 4:




<div class="simplebox">[[File:help.png]] The below examples and explanations are based entirely on our users' contributions. Feel free to contribute if you wish to expand our open knowledge about panel integration.</div>
<div class="simplebox">[[File:help.png]] The following examples and explanations are based entirely on our users' contributions. Feel free to contribute if you want to help to expand our open knowledge about panel integration.</div>




Line 10: Line 10:




您可以从这个选项卡设置哪些URL参数将被您的调查接受(这些参数将附加到普查开始URL)。如果你想把你的调查与专业调查小组提供你的参与者,这个选项是很重要的。后者通常交出每个调查参与者的唯一ID,您将需要保存/处理这些独特的ID以供进一步参考。  
<div class="mw-translate-fuzzy">
您可以从这个选项卡设置哪些URL参数将被您的调查接受(这些参数将附加到普查开始URL)。如果你想把你的调查与专业调查小组提供你的参与者,这个选项是很重要的。后者通常交出每个调查参与者的唯一ID,您将需要保存/处理这些独特的ID以供进一步参考。
</div>




<div class="mw-translate-fuzzy">
对于某些供应商,由于配额限制或完成调查而退出的参与者的唯一ID需要在调查结束URL或配额URL中发送回面板提供商。
对于某些供应商,由于配额限制或完成调查而退出的参与者的唯一ID需要在调查结束URL或配额URL中发送回面板提供商。
</div>




为了访问您的调查面板集成,转到“调查菜单”,然后点击“面板集成”标签。  
<div class="mw-translate-fuzzy">
为了访问您的调查面板集成,转到“调查菜单”,然后点击“面板集成”标签。
</div>


<center>[[File:Panel integration - tab.png]]</center>
<center>[[File:Panel integration - tab.png]]</center>


=Survey Panel Integration=


=Survey panel integration=


 
An empty table will be displayed with the option that allows you ''to add an URL parameter''.
Once accessed, an empty table will be displayed with the option that allows you ''to add an URL parameter''.




Line 30: Line 35:




Two fields will have to be filled out:
Two fields need to be filled out:


<center>[[File:Add URL parameter.png]]</center>
<center>[[File:Add URL parameter.png]]</center>


*'''Parameter:''' Type in this field the name of the new parameter. It will be included in the URL;
*'''Parameter:''' Type in this field the name of the new parameter. It will be included in the URL;
*'''Target question:''' Generally, the URL parameter is saved as a question. It will represent the place where the survey respondents will land on once they click on the link that also includes in its URL the parameter defined above.
*'''Target question:''' Generally, the URL parameter is saved as a question. It is where survey participants will land once they click the link that also includes in its URL the parameter defined above.


<div class="simplebox">[[File:help.png]] You could also save the URL parameter as a response to a ''short text question'' or ''multiple short text question'' type (you will be able to select any short text question to save it to). However, even if you do not save the value of the URL parameter, you will still be able to use this parameter in the [[Text elements|end URL]]. For further documentation, continue reading the [[URL_fields#Passthrough_fields|End-URL]] wiki section.</div>  
<div class="simplebox">[[File:help.png]] You could also save the URL parameter as a response to a short text question or multiple short text question type. (You will be able to select any short text question to save it to). However, even if you do not save the value of the URL parameter, you will still be able to use this parameter in the end URL. For further documentation, continue reading the [[URL_fields#Passthrough_fields|End-URL]] wiki section.</div>  




==How to use the panel integration function==
==How to Use the Panel Integration Function==




A [https://www.limesurvey.org/forum/design-issues/95878-how-to-use-the-panel-integration-fuction simple example] is presented below in which we try to explain how to use the panel integration function.  
A [https://www.limesurvey.org/forum/design-issues/95878-how-to-use-the-panel-integration-fuction simple example] is presented below to explain how to use the panel integration function.  




Line 51: Line 56:




2) Go to the panel integration tab, and click on the "Add URL parameter".
2) Go to the panel integration tab, and click the "Add URL parameter".


Select the short/long text question you created in the first step. The respondents that come from the respective professional panel provider will land on the '''target question'''. It can be hidden so that the respondents can directly start completing the survey.
Select the short/long text question you created in the first step. The participants that come from the respective professional panel provider will land on the '''target question'''. It can be hidden so that the participants can start completing the survey.




Line 59: Line 64:




The name you pick for the parameter will have to be included in the entry link that you will later supply to your panel provider. It will be named "LSid" in our example. Don't forget to click on the '''Save''' button located in the upper right part of the table!
The name you pick for the parameter will have to be included in the entry link that you will later supply to your panel provider. It will be named "LSid" in our example. Don't forget to click the '''Save''' button located in the upper right part of the table!




3) Now, you have to set up the entry link that you will send to the your panel provider. To get your survey URL link, click on the '''Preview survey''' buttons.
3) Now, you have to set up the entry link that you will send to the your panel provider. To get your survey URL link, click the '''Preview survey''' buttons.




Line 74: Line 79:




<div class="simplebox">[[File:help.png]] '''Hint''': The "newtest" parameter is used in order to reset the session. This is useful when you wish to test locally the panel integration or when you know that your respondents are using the same device/browser to fill out the survey. Therefore, adding "newtest=Y" in the survey URL creates new answers in the responses table by forcing the creation of a new session regardless of the used device/browser..</div>
<div class="simplebox">[[File:help.png]] '''Hint''': The "newtest" parameter is used to reset the session. This is useful when you wish to test locally the panel integration or when you know that your participants are using the same device/browser to fill out the survey. Therefore, adding "newtest=Y" in the survey URL creates new answers in the responses table by forcing the creation of a new session regardless of the used device/browser..</div>




Line 86: Line 91:




What ever you replace the "xxxxxx" with will be grabbed and stored in the short/long free text question when your respondent lands on that page. For example, I sent to a user the following link:  
What ever you replace the "xxxxxx" with will be stored in the short/long free text question when your respondent lands on that page. For example, I sent to a user the following link:  


<code>
<code>
Line 103: Line 108:




The following examples were created in order to help you easily add:
The following examples were created to help you add:


*[[Panel integration#The complete link|Redirects if the respondents have finished filling out the survey]];
*[[Panel integration#The complete link|Redirects if the respondents have finished filling out the survey]];
Line 109: Line 114:
*[[Panel integration#The quota-full|Redirects link if the quota limit was reached]].
*[[Panel integration#The quota-full|Redirects link if the quota limit was reached]].


<div class="simplebox">[[File:help.png]] '''Note:''' parametername={PASSTHRU:parametername}" provides the panel provider the id of the respondent.</div>
<div class="simplebox">[[File:help.png]] '''Note:''' parametername={PASSTHRU:parametername}" provides the panel provider the id of the participant.</div>




{{Alert|title=Attention|text=The solutions provided below make use of the [[URL_fields#Passthrough_fields|'''passthrough fields''']]. Please note that aside "'''parametername={PASSTHRU:parametername}'''", everything else has to be provided by your panel provider!}}
{{Alert|title=Attention|text=The solutions provided below make use of the [[URL_fields#Passthrough_fields|'''passthrough fields''']]. Please note that besides "'''parametername={PASSTHRU:parametername}'''", everything else has to be provided by your panel provider!}}




==The complete link==
==The Complete Link==




The complete link has to be inserted into [[Text elements|the end URL field]] that also has [[Presentation#Presentation_panel|to be loaded automatically]] for everyone who successfully completes the whole survey.
The complete link must be inserted into [[Text elements|the end URL field]] that also has [[Presentation#Presentation_panel|to be loaded automatically]] for everyone who successfully completes the whole survey.


The URL you have to send back to the panel provider should look like this:
The URL you have to send back to the panel provider should look like this:
Line 127: Line 132:




==The screenout link==
==The Screenout Link==




A screenout excludes the participants from continuing the survey because he or she is not a member of your survey target group. For screenouts, you have to set the quota limit field to "0" (zero) and allow the quota URL to be automatically loaded once it was triggered.  
A screenout prevents the participants from continuing the survey because he or she is not a member of your survey target group. For screenouts, you have to set the quota limit field to "0" (zero) and allow the quota URL to be automatically loaded once it was triggered.  


Then, add the following link into the quota URL field:
Then, add the following link into the quota URL field:
Line 141: Line 146:




==The quotafull link==  
==The Quotafull Link==  





Revision as of 17:08, 5 June 2021


The following examples and explanations are based entirely on our users' contributions. Feel free to contribute if you want to help to expand our open knowledge about panel integration.


Introduction

您可以从这个选项卡设置哪些URL参数将被您的调查接受(这些参数将附加到普查开始URL)。如果你想把你的调查与专业调查小组提供你的参与者,这个选项是很重要的。后者通常交出每个调查参与者的唯一ID,您将需要保存/处理这些独特的ID以供进一步参考。


对于某些供应商,由于配额限制或完成调查而退出的参与者的唯一ID需要在调查结束URL或配额URL中发送回面板提供商。


为了访问您的调查面板集成,转到“调查菜单”,然后点击“面板集成”标签。

Survey Panel Integration

An empty table will be displayed with the option that allows you to add an URL parameter.



Two fields need to be filled out:

  • Parameter: Type in this field the name of the new parameter. It will be included in the URL;
  • Target question: Generally, the URL parameter is saved as a question. It is where survey participants will land once they click the link that also includes in its URL the parameter defined above.
You could also save the URL parameter as a response to a short text question or multiple short text question type. (You will be able to select any short text question to save it to). However, even if you do not save the value of the URL parameter, you will still be able to use this parameter in the end URL. For further documentation, continue reading the End-URL wiki section.


How to Use the Panel Integration Function

A simple example is presented below to explain how to use the panel integration function.


1) First, create a short/long free text question and name it what ever you want (we will use "LS" for the Question code field). Then, enable the always hide this question option, located under the Display tab within the menu of the question.

  Attention : Make sure you disable the welcome page! Let them land on the page with the short/long free text question. The parameter cannot work in the welcome screen because the parameter has to be loaded into the question first!



2) Go to the panel integration tab, and click the "Add URL parameter".

Select the short/long text question you created in the first step. The participants that come from the respective professional panel provider will land on the target question. It can be hidden so that the participants can start completing the survey.



The name you pick for the parameter will have to be included in the entry link that you will later supply to your panel provider. It will be named "LSid" in our example. Don't forget to click the Save button located in the upper right part of the table!


3) Now, you have to set up the entry link that you will send to the your panel provider. To get your survey URL link, click the Preview survey buttons.



Copy the URL you accessed from the address bar:



Hint: The "newtest" parameter is used to reset the session. This is useful when you wish to test locally the panel integration or when you know that your participants are using the same device/browser to fill out the survey. Therefore, adding "newtest=Y" in the survey URL creates new answers in the responses table by forcing the creation of a new session regardless of the used device/browser..


Add at the end the newly added parameter: &LSid="xxxxxx". The link should look like this:

http://localhost/index.php/369498?newtest=Y&lang=en&LSid="xxxxxx"

Hint: The GET parameters use "?" for the first parameter and "&" for the rest of them. If you already have "?" in your URL, you must use "&" to add other GET parameters. Read about the GET parameters and their usage here.


What ever you replace the "xxxxxx" with will be stored in the short/long free text question when your respondent lands on that page. For example, I sent to a user the following link:

http://localhost/index.php/369498?newtest=Y&lang=en&LSid=ABCD5

The string after LSid was stored as an answer to the short/long text question.



Read the URL fields wiki section for more information on URL customization.

Examples

The following examples were created to help you add:

Note: parametername={PASSTHRU:parametername}" provides the panel provider the id of the participant.


  Attention : The solutions provided below make use of the passthrough fields. Please note that besides "parametername={PASSTHRU:parametername}", everything else has to be provided by your panel provider!



The Complete Link

The complete link must be inserted into the end URL field that also has to be loaded automatically for everyone who successfully completes the whole survey.

The URL you have to send back to the panel provider should look like this:

https://panelproviderwebsite.com/?return=complete&parametername={PASSTHRU:parametername}


The Screenout Link

A screenout prevents the participants from continuing the survey because he or she is not a member of your survey target group. For screenouts, you have to set the quota limit field to "0" (zero) and allow the quota URL to be automatically loaded once it was triggered.

Then, add the following link into the quota URL field:

https://panelproviderwebsite.com/?return=screenout&parametername={PASSTHRU:parametername}

Note: Read the following wiki section to find out more about the LimeSurvey quota system and its usage.


The Quotafull Link

A quotafull excludes participants from continuing the survey, because a certain quota has been exceeded. https://panelproviderwebsite.com/?return=quotafull&parametername={PASSTHRU:parametername}

Note: Read the following wiki section to find out more about the LimeSurvey quota system and its usage.


This is not the only solution you can use to implement quotafull, complete and screenout redirects to your panel provider! For example, the ExpressionScript - Presentation, the SQGA indentifiers, and the URL fields offer you different workarounds to complete the same tasks (and even the more complex ones). For additional help, check also the LimeSurvey forum.


Survey panel integration via expressions

Under construction