Snippet | How to
Give Feedback

Setup the segmentation

Updated on September 5, 2022

User segmentation allows you to publish posts to a specific group of users. For example, you can publish a post for only new users or paying customers or any other custom data you find relevant to segment with.

To start using custom attributes in segmentation, follow these steps :

  • Make sure the snippet is loaded to your website (installation instructions)
  • Fetch your user data that you want to use as custom attributes
  • Pass the data to Jimo by using the window.jimo.push([ "set", "user:attributes", [object] ]) method

Troubleshooting

  • I don't see my custom attributes in jimo dashboard After you called window.jimo.push([ "set", "user:attributes", [] ]), the widget needs to be opened so that the custom attributes get created.

Related guides