Skip to main content
Customer tags enable you to categorize and segment your customers, making it easier to track, filter, and manage them in Partnero, as well as offer customized partner rewards based on the tags. For an overview of how tags work, click here. You can attach tags to customers when creating them either through the API or JavaScript SDK. This allows you to pass valuable context, like acquisition channel or plan type, directly into Partnero.

Using API

You can include tags when creating a customer via the API. Tags are passed as an array of strings. Example: { “partner”: { “key”: “ref_123” }, “key”: “customer_123”, “email”: “[email protected]”, “name”: “Alice”, “surname”: “Brown”, “tags”: [ “new”, “premium” ] } For more details on creating customers via API, see the developer documentation.

Using JavaScript

When creating customers via the JavaScript SDK, tags can also be added as part of the customer object. <script> po(‘customers’, ‘signup’, { data: { key: ‘customer_123456’, // or email address name: ‘John’, email: ‘[email protected]’, tags: [“new”, “premium”] } } ); </script> For more details on creating customers via JavaScript, see the developer documentation.