How to Set Additional User Properties

 

In Qualaroo, you can pass additional properties about your visitors using the ‘set’ command in addition to identifying the registered users answering your survey by using the ‘identify’ parameter.

 

Setting additional user properties is beneficial in:

 

  • Segmentation of the user data.
  • Identifying user attributes such as geographic location, language, interests, etc.

 

This Is What Passing a Single Property Looks Like:

 

<script type="text/javascript" charset="utf-8">
_kiq.push(['set', {'user_type': 'enterprise'}]);
</script>

 

And This Is What Passing Multiple User Properties Looks Like:

 

<script type="text/javascript" charset="utf-8">
_kiq.push(['set', {  
    'plan': 'Premium',  
    'promo': true,  
    'year': 2022,  
    'Signed Up': 'April 10, 2022' 
}]);
</script>

 

How to Set Additional User Properties

 

Step 1: Add the following JavaScript to your HTML code in the <body> tag: 

 

<script type="text/javascript" charset="utf-8">
_kiq.push(['set', {'property_1': 'value_1'}]);
</script>

 

Step 2: Add the additional property after the ‘set’ syntax directly beneath the main Qualaroo JavaScript.

 

_kiq.push(['set', {   
    'PROPERTY_1':'VALUE_1',   
    'PROPERTY_2':'VALUE_2'
    'PROPERTY_3':'VALUE_3 … }]);

 

Here the ‘set’ command takes an array of key-value pairs.

 

Any properties passed in a survey will show up in the Individual Responses tab and also in the CSV report.

 

Additional Property

 

NOTE!:

1) Sensitive information should not be sent via this mechanism.

2) Properties are passed along with the response when the visitor submits the survey.

3) Names don’t need to be one word, camel-cased, etc. Whatever is passed is used, except in the case of dashes (i.e., plan-name). If dashes are present, the property won’t be passed. We recommend using underscores (i.e., plan_name). 

4) Values can be strings, integers, or booleans. 

 

And that's it! If you encounter any issues or have any questions, don't hesitate to reach out to our support team. 

 

 

Was this information helpful?
© 2005 - 2024 ProProfs
-