The custom fields are extra data that you can attach to the Feedback if you have them (using the URL) or asking them at the end of the Feedback by making them visible. They are a great way to attach any data without bulking up your Feedback Forms with tedious extra questions. Eg: Store ID, first name, gender, manager name, country...


Custom fields in Feedier represent any data attached to the Feedback which is not a question answer, they relate directly to the participant.

2 types of custom fields

It all depends on whether you already know the data or not. For instance, if you pass the store_id (in a retail example) or manager_id, you already know that data, therefore it's invisible as you provide it. On the other hand if you ask for the gender or name and you do not have that information, you ask for it, therefore it's visible and asked at the end. 


Visible ones

Use them if you do not know the data already, they will be displayed at the end of the Feedback: 


Invisible ones

Use them if you do know the data already:


The data is attached using GET parameters, more details can be found here: https://en.wikipedia.org/wiki/Query_string 


In both cases the data is attached to the Feedback:


Create new custom fields

Manually

In the form's settings, click the "Custom Fields" tab:

And then it's a simple form, you will find details about every field in the first row: 



Dynamically

Any query passed to the Feedback form URL will automatically generate a custom field if it does not exist. If you reach feedback.company.com?product_id=123 (change with your form's URL), Feedier will create a product_id custom field automatically and make it non-visible and non-required by default. You can always change that later.


Use custom fields to customize the experience

In questions

There are two customizations you can do which directly impact the questions. Note that they will only work if you pass the custom fields, assuming you know the data already.


1. Use conditions: 

You can apply conditions based on custom field values. Eg. ask questions based on the gender, country, product they purchased. Depending on your use case. 


2. In the questions, you can change the content dynamically, so if you pass ?name=John, and use this in your question "How are you {name}?" Feedier will replace it with: "How are you John", automatically. 

So you need to use brackets around the custom field's name.


In emails and SMS

Same as the questions, you can provide custom fields in the CSV file you upload or if you use the API under the custom_fields attribute. They will be replaced using the same workflow: 

{field_name} -> Field value

Eg.:

{name} -> John (if name=John)


Important, if no value is provided, it will be replaced by "".


Feedier also supports conditions that change the content whether a custom field is present or not: 


If the custom field is present:

{if:field_name}

Content A

{else}

Content B

{endif}


If the custom field matches a specific value:

{if:field_name=field_value}

Content A

{else}

Content B

{endif


Use custom fields to analyze the data

As you can see from the 3rd screenshot, Feedier automatically attach the custom field values to the Feedback. You can re-use that on your end in different locations: 


1. When segmenting data on the Segmentation page:

You can add as many as you wish and segment with other selectors. If you're on the Prestige plan you can use the "Benchmark" tool to compare dataset based on custom field values. Eg. Males vs Females or Store A vs Store B. 


2. On the API, every Feedback object contains a custom_fields object the custom field name and value. 

3. On the Excel Exports, every Feedback row contains extra columns with the custom fields.

That's it for the custom fields, any question, create a ticket we'll assist you.