Analytics Module
Contact your sales representative if you are interested in obtaining a license for the Analytics Module for your SmartIQ environment
The Analytics module is responsible for the collection and presentation of both the raw question response data (captured at submission time) and user interaction with a form, their location, and device information. This raw produce usage data is maintained in the SmartIQ database, and accessed as Data Objects through the SmartIQ Data Source, for consumption in other projects like a reporting dashboard.
Analytics is not access to System Data
The API is the only integration point to retrieve the system data pertaining to Transaction Data, Projects, Published Projects, Project Results, Workflow, SmartIQ Users, and User Groups.
Interface Feature Availability
Data being captured is of the Produce web interface only.
Analytics Data Objects
These data objects are accessible through the SmartIQ Data Source
Analytics Project Results
Project Results refers to the actual data captured by form submissions. This data can be consumed by multiple methods;
Method | |
---|---|
SmartIQ Data Source | An SmartIQ data source allows Designers to retrieve and output responses to screen and output documents. |
Project Results API | Part of the REST API endpoint where client application can request the responses as JSON data as needed |
Project Results Document | At generation SmartIQ builds a JSON representation of the responses document that can be passed to third-party systems for consumption. |
Project Results to SQL | An Action that creates and populates a relational database structure that is available for easy consumption by external reporting resources. |
This can be used to create projects based on the results of submissions of other projects.
The "Data Object Name/Definition" field can be used to define a Project Name in the SmartIQ instance. Projects whose titles start with the same sequence will be displayed in the drop-down menu for selection. The Available Filter Fields for the Data Source are the Answers in that particular Project. If the project has Repeaters, the repeated data elements will appear in the pages panel.
Other Filter Fields | Description |
---|---|
Completed | Completed = 1 if the form was completed, otherwise 0 Note: A response report will return Completed forms when "Completed = 1" Completed forms are forms that have been completed. |
CompletionTimeUTC | The UTC time when the form was completed |
CurrentState | The current state of the form |
Username | User Name who Completed the project |
WorkflowInProgress | WorkflowInProgress = 1 if the form was completed, otherwise 0 Note: A response report will return WorkflowInProgress forms when "WorkflowInProgress = 1" WorkflowInProgress forms are forms that have been submitted atleast once throughout the workflow. |
Default Filter Field values are, Completed = 1 and WorkflowInProgress = 0
Analytics Device Log
Web Only
Device and Location Log data is captured via the Produce App only
The device (location) log captures information about the user interacting with the system, such as GPS location data and more general region data from IP such as country, city and time zone. Device data includes information such as devices, operating systems, browsers, versions, and language.
Location data is categorized into high and low accuracy readings. SmartIQ always adds a low accuracy record by default and then attempts a second high accuracy reading where the SmartIQ application is hosted on a secure server and the user has agreed to do so, usually by answering yes to a browser pop-up.
Regardless of the low or high accuracy reading SmartIQ can attempt to convert the IP address into a more reportable regional field such as Country, City, Region, etc. SmartIQ must request regional information from an external service. By default, SmartIQ makes requests to https://ipapi.co over a secure SSL connection.
Free services generally have a small daily limit (eg: 1000 requests) if you wish to use the location log for a large number of calls you will need to sign up to one the paid services.
Where it is not appropriate to make a call to a location service, the feature can be disabled from Retention Settings, deselecting the Store Location Data option.
Field | Notes |
---|---|
Browser | User's Browser e.g.: Chrome, Edge, Android, Chrome Mobile, IE, Firefox etc |
BrowserVersionMajor and BrowserVersionMinor | Browser Version eg: for Edge 15.15063 the major version is 15 and 15063 is the minor. |
Country and Country Code | Retrieved Country Full name and two digit code |
Device | Users Device eg: Apple, Samsung etc. |
IPAddress | The external facing IP address of the client device that the user is logged in at. |
Languages | List of languages available in the user's current browser |
Longitude and Latitude | User's Longitude and Latitude |
LocationAccuracy | Low accuracy reflects a location sourced only from an IP address. High accuracy uses device GPS if available or other network location information. A user must agree on their device for high accuracy information to be recorded. |
LoginTimeUtc | The time the current login session was created in Coordinated Universal Time (UTC). |
MetroCode | The code for the local metro area the user is located in, if available (usually only for USA) |
Model | The model of the device the user is logged in at e.g: iPad |
OS | OS The operating system for the device |
OSVersionMajor and OSVersionMinor | The version of the OS of the user's device e.g. for Android 7.1 major is 7 and minor is 1. |
Platform | The platform of the device the user is logged in to e.g. WinNT |
PostalCode | Postal/zip code of the location of the user |
Region and RegionCode | The region, state, county or province the user is located. |
TimeZone | The timezone the user is located in if available |
UserGuid | User identifier |
Username | Users login username |
Raw Device Log Data
To access the raw device log data the following query can be run against the SmartIQ Database.
SELECT TOP (1000) [IPAddress],[OS],[OSVersionMajor],[OSVersionMinor],[City],[Country],[CountryCode],[Region],[RegionCode],[PostalCode],[TimeZone],[Browser],[BrowserVersionMajor],[BrowserVersionMinor],[Device],[Model],[Platform],[Latitude],[Longitude],[Languages],[UserGuid],[LoginTimeUtc],[LocationAccuracy]
FROM [Analytics_DeviceLog]
Analytics Interaction Log
The interaction log captures every user interaction within a form allowing detailed analysis of a users journey through the form, including the navigation path, time spent on each question, or page, drop-offs, save points, every key stroke and click made by the user during a form, etc
The interaction log is stored as unencrypted raw text
Any personally identifiable information (PII) that makes its way into the interaction log will not be encrypted.
The interaction log can contain Layout Block names which can contain question references. If these question references contain PII it will be as unencrypted raw text.
To enable this data gathering the 'Form Interaction Log' Publish Option must be enabled.
Due to the large volumes of data captured by the interaction log configuration to record data for only particular forms is possible.
Records are added to the interaction log in batch asynchronously as the user makes their way through the form.
Field | Description | Examples |
---|---|---|
Log_Guid | An identifier that groups interactions from the moment a user open's a form. A new log_guid is generated each time a user opens a form including when they return to an in progress save and between workflow steps. | CF27B290-49ED-4A42-BF34-08109D6A1A8A |
ControlID | An identifier for the control that is being selected or manipulated. | btnNextTop, fName_q2.2, btnSubmit, goToHome |
FocusTimeUTC | The moment the user started the interaction. | 2020-01-01 02:05:25.000 |
BlurTimeUTC | The moment the user finished the interaction. For controls such as buttons this will be the same as the focus time, whereas controls like text boxes this will be the moment the user left the control | 2020-01-01 02:05:25.000 |
EventType | The type of event that occurred using the specified control. | pageOpen, dataGridSort LastUpdatedUtc, next |
Page Title | The Page the control resides on. |
As the interaction log is a capture of everything, records from are usually filtered to answer a specific question or populate a graph. Some inbuilt queries are provided to answer generic questions like drop-offs or average time spent on each page.
All possible events are listed in the table below, where a control can do multiple things an event type is used to describe the specific event.
EventType | Description | Control/Occurs When |
---|---|---|
createNew | Open a new form | Form Open |
openAssigned | Open an assigned task for the first time | Form Open |
resumeSaved | resume an in progress item | Form Open |
questionHelp | Clicked question help icon | All Question Types |
tabSelectAccordion | An accordion was selected | All Question Types |
buttonToggle | Changed a toggle buttons position to on/off | Multiple Choice Question |
questionOpenComment | Clicked open comments icon | All Question Types |
contentTxtSearch | Clicked into the search box of a content library text box | Content Libray/File Upload |
contentBtnSearch | Clicked the content library search button | Content Libray/File Upload |
contentOpen | Opened a content library item | Content Libray/File Upload |
tabSelect | Select a tab | Produce |
contentOpenDoucment | Opened a content library document | Content Libray/File Upload |
contentPreview | Previewed a content library item | Content Libray/File Upload |
contentOpenDocument | Opened a content library docuemnt | Content Libray/File Upload |
contentImagePreviewHover | Hover the preivew of an image | Content Libray/File Upload |
contentClear | Clear uploade files | Content Libray/File Upload |
fetchData | Clicked the data search text box (usually after entering a filter) | Data Source |
dataGridSort | Sorted a data grid column, includes the column name that was sorted | Data Source |
dataGridSearch | entered the data grid search text box | Data Source |
popupOpen | Opened a data Source pop up. Usually containing a table of data that required the whole screen. | Data Source |
inkUpload | Upload an image to an Ink question. | Ink |
inkClear | Clear the drawn content entirely within an ink question | Ink |
inkEraser | Use the eraser within an ink question | Ink |
inkZoomIn, inkZoomOut | Zoom the ink question in or out so it fills the entire screen, for easier editing. | Ink |
save | Click save button | Produce |
next, back | Went back or forwards within a form | Produce |
submit | Submitted/Approved a form button | Produce |
reject | Rejected a form button | Produce |
pageAdd | User added a repeating page | Produce |
pageDelete | Deleted a repeating page | Produce |
pageDuplicate | Duplciated a repeating page | Produce |
sectionChkRow | Selected a repeating section row | Produce |
sectionAdd | Added a repeating Section | Produce |
sectionDelete | Deleted a repeating Section | Produce |
sectionDuplicate | Duplicated a repeating Section | Produce |
sectionMoveRow | Move a section row | Produce |
sectionModalClose | Closes a section presented in a modal | Produce |
sectionExport, sectionIMport | Import or export a section into or from a CSV file. | Produce |
displayModal | Opens a modal | Produce |
buttonGoToUrl | Click of a go to url button | Produce |
buttonGoToPage | Click of a go to page button | Produce |
buttonGoToProject | click of a go to project button | Produce |
buttonRefresh | Click of a refresh button | Produce |
resume | Click the resume button | Produce |
temporaryUserReassign | Click the temporary user reassign button | Produce |
saveAnswerFileYes, saveAnswerFileNo | User makes a selection indicated whether to save an answer File | Produce Finish Page |
answerFileDescription | User typing an answer file destiption | Produce Finish Page |
dataClear | Clearing raw data | All data questions |
dataUpload | Uploading a raw data | All data questions |
geolocation | Manually detect your location | Geoloaction |
runActionButton | Run Action button clicked | Run Action Button |
Analytics Interaction Time Log
Returns the time of each interaction together with a calculated 'Interaction Time' column. The interaction time column is the time span between the interaction with the current interaction and the next interaction.
Name | Description |
---|---|
(See interaction Log for generic Columns) | |
InteractionSeconds | Time in seconds between the current interaction and the next interaction. |
Analytics Drop-off Log
Returns forms that were forcibly exited. It includes the last page the user was on together with the last question the user interacted with. If no questions were interacted with on the page question columns will resolve to null.
A drop-off is defined as a form that is exited in a manner that is NOT: Submitted, Reassigned, Go to Project (Tile Question), or Saved (A saved form can be exited without counting as a drop off).
Name | Description |
---|---|
Form | Name of the Fortm |
Log_Guid | ID for the session |
Page | Drop of Page |
PageFocusTimeUTC | When the user navigated to the drop off page (UTC) |
Question | Last question the user interacted with before drop off |
QuestionFocusTimeUTC | When the user interacted with the above question |
Analytics Save Log
When projects was last saved together with the total amount of saves.
Returns when projects were last saved together with the total amount of saves.
Name | Description |
---|---|
Form | The form the user saved |
LastSavePage | The page the user did the most recent save on |
LastSaveTimeUTC | The time the user did the most recent save |
Log_Guid | The log_guid of the form session |
SaveCount | How many times the user saved in total |
Analytics Page Log
Which pages were visited during a form and how much time was spent on each page. Note the endpoint of being 'on' a page is either going to another page or as per the list above.
Returns which pages were visited during a form and how much time was spent on each page. Note the endpoint of being 'on' a page is either going to another page or: Submitted, Reassigned, Go to Project (Tile Question), or Saved (A saved form can be exited without counting as a drop off).
Name | Description |
---|---|
Form | Name of the form |
Page | Name of the Page |
FocusTimeUTC | When the user opened the page |
SecondsOnPage | How long the user spent on the page |
Updated about 1 month ago