﻿<?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 5  » How do I create markers in eye tracking data for survey pages?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 12 Jun 2026 02:44:20 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I create markers in eye tracking data for survey pages?</title><link>https://forums.millisecond.com/Topic26004.aspx</link><description>I am having trouble figuring out how to implement something which I thought would be relatively easy. Basically, I am having participants take a survey and am tracking their eye movements using the tobii plug in. Since there are multiple survey pages, I would like to know the survey page that corresponds to the eye tracking data. As you can see from the code below, I have tried to implements 'markers', but it hasn't worked. Could anyone offer any insight?&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_B&amp;gt;&lt;br/&gt;/ questions = [1= Anger_instr_AV_1, Anger_AV_1, Irritability_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_C]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "2";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;</description><pubDate>Tue, 13 Nov 2018 13:18:07 GMT</pubDate><dc:creator>amomen425</dc:creator></item><item><title>RE: How do I create markers in eye tracking data for survey pages?</title><link>https://forums.millisecond.com/Topic26063.aspx</link><description>&lt;div data-id="26022" class="if-quote-wrapper" unselectable="on" data-guid="1542143876726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26022" 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="26022" 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="26022" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26022"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26021" class="if-quote-wrapper" unselectable="on" data-guid="1542143876726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26021" 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="26021" 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="26021" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26021"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26005" class="if-quote-wrapper" unselectable="on" data-guid="1542143876726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26005" 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="26005" 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="26005" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26005"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26004" class="if-quote-wrapper" unselectable="on" data-guid="1542143876726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26004" 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="26004" 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="26004" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26004"&gt;&lt;div class="if-quote-message-margin"&gt;I am having trouble figuring out how to implement something which I thought would be relatively easy. Basically, I am having participants take a survey and am tracking their eye movements using the tobii plug in. Since there are multiple survey pages, I would like to know the survey page that corresponds to the eye tracking data. As you can see from the code below, I have tried to implements 'markers', but it hasn't worked. Could anyone offer any insight?&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_B&amp;gt;&lt;br/&gt;/ questions = [1= Anger_instr_AV_1, Anger_AV_1, Irritability_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_C]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "2";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26004"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;At a minimum, you need to share the code for the "marker" element as well as how you invoke those surveypages, e.g. are they run in a &amp;lt;block&amp;gt; or a &amp;lt;survey&amp;gt;? As for other supplemental information that would be useful:&lt;br/&gt;- Which Inquisit version are you currently using (Help -&amp;gt; About?)&lt;br/&gt;- Is the gaze data otherwise written properly?&lt;br/&gt;- What is the exact specification of your &amp;lt;eyetracker&amp;gt; element?&lt;br/&gt;- Have you followed the instructions in &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm&lt;/a&gt;&lt;/a&gt; to set up the markers?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26005"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;-My Inquisit version is:&amp;nbsp;5.0.14.0&lt;br/&gt;-Not sure what you mean by 'is the gaze data is written properly otherwise'. I just want the participant's gaze data and creating the area's of interest outside of Inquisit using R Software.&lt;br/&gt;-I have followed the instructions from that page. However, I am new to programming and although I tried my best to implement the relevant portions, not sure I got it right.&lt;br/&gt;&lt;br/&gt;Here is the code for the marker and the eye tracking element..&lt;br/&gt;&amp;lt;eyetracker&amp;gt;&lt;br/&gt;/ plugin = "tobii"&lt;br/&gt;&amp;lt;/eyetracker&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;port Marker&amp;gt; &lt;br/&gt;/ port = eyetracker&lt;br/&gt;/ items = (0)&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;Here is code showing how the surveypages are invoked (with a survey and not a block)&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;radiobuttons Intentionality_AV_1&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ caption = "&amp;lt;%parameters.TS_AVC_1%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ subcaption = "&amp;lt;%parameters.AV_Question_A%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ options = ("a) It intentionally did this to mess up the traffic.&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;","b) It did not mean anything wrong, just a mistake.")&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ required = false&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ orientation = vertical&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ position = (100px, 100px)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/radiobuttons&amp;gt;&lt;/span&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "";&lt;br/&gt;values.marker = concat(values.marker, "1");&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26021"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; -Not sure what you mean by 'is the gaze data is written properly otherwise'.&lt;br/&gt;&lt;br/&gt;What I mean is: When you execute the script, do you get a gaze data file _at all_? This goes to whether there is a general problem, apart from not getting markers into the stream.&lt;br/&gt;&lt;br/&gt;Apart from that, there is something missing from your code. At no point to you actually _set_ the &amp;lt;port&amp;gt; element to the marker _value_. The marker remains 0 -- i.e. no signal -- throughout.&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage Intentionality_AV_1&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&lt;strong&gt;values.marker = "";&lt;br/&gt;values.marker = concat(values.marker, "1");&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;Here you set values.marker to some value, albeit in an unncessarily complicated fashion. What you're not doing is setting port.marker to values.marker, i.e. this part from the documentation "how to":&lt;br/&gt;&lt;br/&gt;&amp;lt;trial SodaBeer&amp;gt; /*trial to present soda can left and beer can right &lt;br/&gt;/ontrialbegin = [&lt;br/&gt;values.marker = "";/*reset marker value&lt;br/&gt;values.marker = concat(values.marker, "01");/*add '01' for soda is left &lt;br/&gt;values.marker = concat(values.marker, picture.sodaLeft.currentitemnumber); /* add current itemnumber for left image&lt;br/&gt;values.marker = concat(values.marker, "02");/*add '02' for beer is right &lt;br/&gt;values.marker = concat(values.marker, picture.beerRight.currentitemnumber);/* add current itemnumber for right image&lt;br/&gt;&lt;strong&gt;port.dynamMarker.setitem(values.marker, 1);/*set the item for the marker you want to send &lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/stimulustimes = [0 = sodaLeft, beerRight, dynamMarker] /*sends 015027 at stimulusonset&lt;br/&gt;…&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;In short, to actually send markers, you need to modify your code like so:&lt;br/&gt;&lt;br/&gt;&amp;lt;port Marker&amp;gt; &lt;br/&gt;/ port = eyetracker&lt;br/&gt;/ items = (0)&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;/span&gt;&amp;lt;radiobuttons Intentionality_AV_1&amp;gt;&lt;br/&gt;/ caption = "&amp;lt;%parameters.TS_AVC_1%&amp;gt;"&lt;br/&gt;/ subcaption = "&amp;lt;%parameters.AV_Question_A%&amp;gt;"&lt;br/&gt;/ options = ("a) It intentionally did this to mess up the traffic.&lt;br/&gt;","b) It did not mean anything wrong, just a mistake.")&lt;br/&gt;/ required = false&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (100px, 100px)&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;&lt;strong&gt;port.Marker.setitem(values.marker, 1);&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26022"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;This was super helpful. thanks!</description><pubDate>Tue, 13 Nov 2018 13:18:07 GMT</pubDate><dc:creator>amomen425</dc:creator></item><item><title>RE: How do I create markers in eye tracking data for survey pages?</title><link>https://forums.millisecond.com/Topic26022.aspx</link><description>&lt;div data-id="26021" class="if-quote-wrapper" unselectable="on" data-guid="1541551106731"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26021" 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="26021" 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="26021" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Tuesday, November 6, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26021"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26005" class="if-quote-wrapper" unselectable="on" data-guid="1541551106731"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26005" 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="26005" 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="26005" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26005"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26004" class="if-quote-wrapper" unselectable="on" data-guid="1541551106731"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26004" 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="26004" 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="26004" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26004"&gt;&lt;div class="if-quote-message-margin"&gt;I am having trouble figuring out how to implement something which I thought would be relatively easy. Basically, I am having participants take a survey and am tracking their eye movements using the tobii plug in. Since there are multiple survey pages, I would like to know the survey page that corresponds to the eye tracking data. As you can see from the code below, I have tried to implements 'markers', but it hasn't worked. Could anyone offer any insight?&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_B&amp;gt;&lt;br/&gt;/ questions = [1= Anger_instr_AV_1, Anger_AV_1, Irritability_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_C]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "2";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26004"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;At a minimum, you need to share the code for the "marker" element as well as how you invoke those surveypages, e.g. are they run in a &amp;lt;block&amp;gt; or a &amp;lt;survey&amp;gt;? As for other supplemental information that would be useful:&lt;br/&gt;- Which Inquisit version are you currently using (Help -&amp;gt; About?)&lt;br/&gt;- Is the gaze data otherwise written properly?&lt;br/&gt;- What is the exact specification of your &amp;lt;eyetracker&amp;gt; element?&lt;br/&gt;- Have you followed the instructions in &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm&lt;/a&gt;&lt;/a&gt; to set up the markers?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26005"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;-My Inquisit version is:&amp;nbsp;5.0.14.0&lt;br/&gt;-Not sure what you mean by 'is the gaze data is written properly otherwise'. I just want the participant's gaze data and creating the area's of interest outside of Inquisit using R Software.&lt;br/&gt;-I have followed the instructions from that page. However, I am new to programming and although I tried my best to implement the relevant portions, not sure I got it right.&lt;br/&gt;&lt;br/&gt;Here is the code for the marker and the eye tracking element..&lt;br/&gt;&amp;lt;eyetracker&amp;gt;&lt;br/&gt;/ plugin = "tobii"&lt;br/&gt;&amp;lt;/eyetracker&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;port Marker&amp;gt; &lt;br/&gt;/ port = eyetracker&lt;br/&gt;/ items = (0)&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;Here is code showing how the surveypages are invoked (with a survey and not a block)&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;radiobuttons Intentionality_AV_1&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ caption = "&amp;lt;%parameters.TS_AVC_1%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ subcaption = "&amp;lt;%parameters.AV_Question_A%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ options = ("a) It intentionally did this to mess up the traffic.&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;","b) It did not mean anything wrong, just a mistake.")&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ required = false&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ orientation = vertical&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ position = (100px, 100px)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/radiobuttons&amp;gt;&lt;/span&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "";&lt;br/&gt;values.marker = concat(values.marker, "1");&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26021"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; -Not sure what you mean by 'is the gaze data is written properly otherwise'.&lt;br/&gt;&lt;br/&gt;What I mean is: When you execute the script, do you get a gaze data file _at all_? This goes to whether there is a general problem, apart from not getting markers into the stream.&lt;br/&gt;&lt;br/&gt;Apart from that, there is something missing from your code. At no point to you actually _set_ the &amp;lt;port&amp;gt; element to the marker _value_. The marker remains 0 -- i.e. no signal -- throughout.&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage Intentionality_AV_1&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&lt;strong&gt;values.marker = "";&lt;br/&gt;values.marker = concat(values.marker, "1");&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;Here you set values.marker to some value, albeit in an unncessarily complicated fashion. What you're not doing is setting port.marker to values.marker, i.e. this part from the documentation "how to":&lt;br/&gt;&lt;br/&gt;&amp;lt;trial SodaBeer&amp;gt; /*trial to present soda can left and beer can right &lt;br/&gt;/ontrialbegin = [&lt;br/&gt;values.marker = "";/*reset marker value&lt;br/&gt;values.marker = concat(values.marker, "01");/*add '01' for soda is left &lt;br/&gt;values.marker = concat(values.marker, picture.sodaLeft.currentitemnumber); /* add current itemnumber for left image&lt;br/&gt;values.marker = concat(values.marker, "02");/*add '02' for beer is right &lt;br/&gt;values.marker = concat(values.marker, picture.beerRight.currentitemnumber);/* add current itemnumber for right image&lt;br/&gt;&lt;strong&gt;port.dynamMarker.setitem(values.marker, 1);/*set the item for the marker you want to send &lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/stimulustimes = [0 = sodaLeft, beerRight, dynamMarker] /*sends 015027 at stimulusonset&lt;br/&gt;…&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;In short, to actually send markers, you need to modify your code like so:&lt;br/&gt;&lt;br/&gt;&amp;lt;port Marker&amp;gt; &lt;br/&gt;/ port = eyetracker&lt;br/&gt;/ items = (0)&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;/span&gt;&amp;lt;radiobuttons Intentionality_AV_1&amp;gt;&lt;br/&gt;/ caption = "&amp;lt;%parameters.TS_AVC_1%&amp;gt;"&lt;br/&gt;/ subcaption = "&amp;lt;%parameters.AV_Question_A%&amp;gt;"&lt;br/&gt;/ options = ("a) It intentionally did this to mess up the traffic.&lt;br/&gt;","b) It did not mean anything wrong, just a mistake.")&lt;br/&gt;/ required = false&lt;br/&gt;/ orientation = vertical&lt;br/&gt;/ position = (100px, 100px)&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;&lt;strong&gt;port.Marker.setitem(values.marker, 1);&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 06 Nov 2018 16:48:00 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How do I create markers in eye tracking data for survey pages?</title><link>https://forums.millisecond.com/Topic26021.aspx</link><description>&lt;div data-id="26005" class="if-quote-wrapper" unselectable="on" data-guid="1541541233180"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26005" 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="26005" 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="26005" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26005"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26004" class="if-quote-wrapper" unselectable="on" data-guid="1541541233180"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26004" 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="26004" 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="26004" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26004"&gt;&lt;div class="if-quote-message-margin"&gt;I am having trouble figuring out how to implement something which I thought would be relatively easy. Basically, I am having participants take a survey and am tracking their eye movements using the tobii plug in. Since there are multiple survey pages, I would like to know the survey page that corresponds to the eye tracking data. As you can see from the code below, I have tried to implements 'markers', but it hasn't worked. Could anyone offer any insight?&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_B&amp;gt;&lt;br/&gt;/ questions = [1= Anger_instr_AV_1, Anger_AV_1, Irritability_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_C]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "2";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26004"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;At a minimum, you need to share the code for the "marker" element as well as how you invoke those surveypages, e.g. are they run in a &amp;lt;block&amp;gt; or a &amp;lt;survey&amp;gt;? As for other supplemental information that would be useful:&lt;br/&gt;- Which Inquisit version are you currently using (Help -&amp;gt; About?)&lt;br/&gt;- Is the gaze data otherwise written properly?&lt;br/&gt;- What is the exact specification of your &amp;lt;eyetracker&amp;gt; element?&lt;br/&gt;- Have you followed the instructions in &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm&lt;/a&gt;&lt;/a&gt; to set up the markers?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26005"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;-My Inquisit version is:&amp;nbsp;5.0.14.0&lt;br/&gt;-Not sure what you mean by 'is the gaze data is written properly otherwise'. I just want the participant's gaze data and creating the area's of interest outside of Inquisit using R Software.&lt;br/&gt;-I have followed the instructions from that page. However, I am new to programming and although I tried my best to implement the relevant portions, not sure I got it right.&lt;br/&gt;&lt;br/&gt;Here is the code for the marker and the eye tracking element..&lt;br/&gt;&amp;lt;eyetracker&amp;gt;&lt;br/&gt;/ plugin = "tobii"&lt;br/&gt;&amp;lt;/eyetracker&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;port Marker&amp;gt; &lt;br/&gt;/ port = eyetracker&lt;br/&gt;/ items = (0)&lt;br/&gt;&amp;lt;/port&amp;gt;&lt;br/&gt;&lt;br/&gt;Here is code showing how the surveypages are invoked (with a survey and not a block)&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;radiobuttons Intentionality_AV_1&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ caption = "&amp;lt;%parameters.TS_AVC_1%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ subcaption = "&amp;lt;%parameters.AV_Question_A%&amp;gt;"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ options = ("a) It intentionally did this to mess up the traffic.&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;","b) It did not mean anything wrong, just a mistake.")&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ required = false&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ orientation = vertical&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/ position = (100px, 100px)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/radiobuttons&amp;gt;&lt;/span&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "";&lt;br/&gt;values.marker = concat(values.marker, "1");&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 06 Nov 2018 14:18:07 GMT</pubDate><dc:creator>amomen425</dc:creator></item><item><title>RE: How do I create markers in eye tracking data for survey pages?</title><link>https://forums.millisecond.com/Topic26005.aspx</link><description>&lt;div data-id="26004" class="if-quote-wrapper" unselectable="on" data-guid="1541464701538"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26004" 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="26004" 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="26004" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;amomen425 - Monday, November 5, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26004"&gt;&lt;div class="if-quote-message-margin"&gt;I am having trouble figuring out how to implement something which I thought would be relatively easy. Basically, I am having participants take a survey and am tracking their eye movements using the tobii plug in. Since there are multiple survey pages, I would like to know the survey page that corresponds to the eye tracking data. As you can see from the code below, I have tried to implements 'markers', but it hasn't worked. Could anyone offer any insight?&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_A&amp;gt;&lt;br/&gt;/ questions = [1 = Intentionality_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_B]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "1";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage TS_AVC_1_B&amp;gt;&lt;br/&gt;/ questions = [1= Anger_instr_AV_1, Anger_AV_1, Irritability_AV_1]&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ branch = [surveypage.TS_AVC_1_C]&lt;br/&gt;/ recorddata = true&lt;br/&gt;/ datastreams = eyetracker&lt;br/&gt;/ screencapture = true&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.marker = "2";&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0 = Marker] &lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26004"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;At a minimum, you need to share the code for the "marker" element as well as how you invoke those surveypages, e.g. are they run in a &amp;lt;block&amp;gt; or a &amp;lt;survey&amp;gt;? As for other supplemental information that would be useful:&lt;br/&gt;- Which Inquisit version are you currently using (Help -&amp;gt; About?)&lt;br/&gt;- Is the gaze data otherwise written properly?&lt;br/&gt;- What is the exact specification of your &amp;lt;eyetracker&amp;gt; element?&lt;br/&gt;- Have you followed the instructions in &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/sendmarkerstotobii.htm&lt;/a&gt; to set up the markers?&lt;br/&gt;</description><pubDate>Mon, 05 Nov 2018 16:43:44 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>