﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 6  » Add custom parameter to web experiment.</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 29 Sep 2026 21:00:38 GMT</lastBuildDate><ttl>20</ttl><item><title>Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic30969.aspx</link><description>Our experiment is quite large and we would like to give users the option to only work on specific subsections at a time.&lt;br/&gt;Is there any way we can add a custom parameter to our experiment url, so that we can check its value inside the inquisit script and only show appropriate blocks or trials?</description><pubDate>Wed, 10 Mar 2021 13:34:57 GMT</pubDate><dc:creator>maximilian.kraus@fhws.de</dc:creator></item><item><title>RE: Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic31033.aspx</link><description>&lt;blockquote data-id="31030" class="if-quote-wrapper" unselectable="on" data-guid="1615383245847" id="if_insertedNode_1615383244866" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31030" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="31030" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="31030" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;&lt;a href="mailto:maximilian.kraus@fhws.de"&gt;maximilian.kraus@fhws.de&lt;/a&gt; - 3/10/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-31030"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I need your assistance one more time, I'm afraid.&lt;br/&gt;&lt;br/&gt;How do I go about playing a different set of blocks depending on groupid?&lt;br/&gt;I cant get it to work using expt / groupassignment, etc.&lt;br/&gt;&lt;br/&gt;Can you be so kind and give an example?&lt;a class="if-quote-goto quote-link" href="#" data-id="31030"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You'll have to work with /skip attributes at the &amp;lt;block&amp;gt;-level, i.e. skip a given set of blocks if the group id is not what you want it to be for this set of blocks.</description><pubDate>Wed, 10 Mar 2021 13:34:57 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic31030.aspx</link><description>I need your assistance one more time, I'm afraid.&lt;br/&gt;&lt;br/&gt;How do I go about playing a different set of blocks depending on groupid?&lt;br/&gt;I cant get it to work using expt / groupassignment, etc.&lt;br/&gt;&lt;br/&gt;Can you be so kind and give an example?</description><pubDate>Wed, 10 Mar 2021 12:28:24 GMT</pubDate><dc:creator>maximilian.kraus@fhws.de</dc:creator></item><item><title>RE: Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic30976.aspx</link><description>&lt;blockquote data-id="30975" class="if-quote-wrapper" unselectable="on" data-guid="1614946187916" id="if_insertedNode_1614946186951" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30975" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="30975" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="30975" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;&lt;a href="mailto:maximilian.kraus@fhws.de"&gt;maximilian.kraus@fhws.de&lt;/a&gt; - 3/5/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30975"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Thank you for the quick reply. We can use the groupid in our case :).&lt;br/&gt;&lt;br/&gt;I understand you are an admin. May I suggest you forward a feature request to have web experiments accept custom url parameters that are assigned to matching &amp;lt;parameters&amp;gt; in the script? It would certainly enable a lot of configuration use cases for us and other users!&lt;br/&gt;&lt;br/&gt;Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="30975"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;I will be happy to do that.</description><pubDate>Fri, 05 Mar 2021 12:10:05 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic30971.aspx</link><description>&lt;blockquote data-id="30969" class="if-quote-wrapper" unselectable="on" data-guid="1614873471091" id="if_insertedNode_1614873470655" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30969" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="30969" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="30969" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;&lt;a href="mailto:maximilian.kraus@fhws.de"&gt;maximilian.kraus@fhws.de&lt;/a&gt; - 3/4/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30969"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Our experiment is quite large and we would like to give users the option to only work on specific subsections at a time.&lt;br/&gt;Is there any way we can add a custom parameter to our experiment url, so that we can check its value inside the inquisit script and only show appropriate blocks or trials?&lt;a class="if-quote-goto quote-link" href="#" data-id="30969"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You can pass in at most two pieces of information to a script via URL parameters:&lt;br/&gt;- The subjectid (accessible via the script.subjectid property), and&lt;br/&gt;- the groupid (accessible via the script.groupid property).&lt;br/&gt;&lt;br/&gt;If your experiment does not need the groupid for e.g. condition assignment, you can use it for your purposes.&lt;br/&gt;</description><pubDate>Fri, 05 Mar 2021 12:09:12 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Add custom parameter to web experiment.</title><link>https://forums.millisecond.com/Topic30975.aspx</link><description>Thank you for the quick reply. We can use the groupid in our case :).&lt;br/&gt;&lt;br/&gt;I understand you are an admin. May I suggest you forward a feature request to have web experiments accept custom url parameters that are assigned to matching &amp;lt;parameters&amp;gt; in the script? It would certainly enable a lot of configuration use cases for us and other users!&lt;br/&gt;&lt;br/&gt;Thank you.</description><pubDate>Fri, 05 Mar 2021 08:30:59 GMT</pubDate><dc:creator>maximilian.kraus@fhws.de</dc:creator></item></channel></rss>