Setting up properties in Delighted

Previous section: Selecting properties that are meaningful to your business

Now that you’ve identified the properties you’d like to include, we’ll now cover how you can get those quickly set up. Below, we’ll address the three primary methods of adding properties: CSV / Excel file, API, and Web.

Setting up properties in a CSV or Excel file (SMS/Email platforms)

For CSV or Excel files, whether sending to email addresses or phone numbers, column headers (i.e. first row within the file) should contain the property names you’re seeking to include. In each row under your column headers, be sure to include the various values you’ll use to segment customers. Each column after the email column will be considered its own property.

Name Email Collection Purchase Experience
Ellie Newman ellie@icloud.com Women’s Website
Richard Nguyen richard.nguyen@aol.com Men’s Retail Store
George Vargas gvargas@gmail.com Men’s Mobile App
Setting up properties with the API (SMS/Email platforms)

You can also add properties using the properties parameter via our API. For full details on setting up properties with the API, please see our API docs. Below is an example using Curl:

curl https://api.delighted.com/v1/people.json \
  -u YOUR_DELIGHTED_API_KEY: \
  -d 'email=jony@appleseed.com'
  -d 'properties[collection]=Mens'
  -d 'properties[purchase_experience]=Website'
Setting up properties with Web (Web platform)

Properties can be easily passed via our Web platform, allowing you to segment feedback from those surveyed directly on your site. Full details on passing properties via JavaScript can be found in our web docs. Below is an example:

delighted.survey({
   email: "customer@hemandstitch.com",
   name: "Bailey Dixon",
   properties: {
      orderId: "123ABC",
      shippingMethod: "Ground"
   }
});
Setting up properties with Links (Link platform)

Properties can also be passed along using our Link platform, simply appending any necessary customer details to the end of the Link. Full details on passing properties via our Link can be found in our Link docs. Below is an example:

https://delighted.com/t/HpQB88SM?name=Sean&email=sean%40delighted.com&purchase_location=retail

Next section: Filtering with properties on your dashboard

Still need help? Contact Us Contact Us