User Attributes

Updated on 6. March 2026

In this article, we explain PollHero user attributes and what you can do with them.

What are User Attributes? #

With user attributes, you can enrich information about your survey participants and gain more insights about them in the analysis of your surveys. Additionally, user attributes enable more specific use cases, allowing surveys to be delivered even more precisely to customers.

How can user attributes be used? #

The information you send to PollHero as user attributes via the Identify function can be used in targeting for survey delivery.

Furthermore, these user attributes are output in the CSV analysis as new columns (one column per user attribute with the corresponding value).

Common Use Cases #

Here are some use cases for how user attributes are typically used and what kind of content they are provided with.

Important: This list is just an example; you can set completely custom user attributes that are not listed here.

Examples #

A hotel chain wants to mark users in the checkout process who have not selected breakfast and later conduct an onsite survey to find out why users opted against breakfast. They use the Identify method and send, for example, breakfast: false as a custom parameter. They can then use this as a targeting option for displaying their survey at a later time.

A pet food provider wants to display surveys on the order confirmation page to customers who do not have a subscription, specifically asking if they are aware of the subscription and/or why they decided against it. For this, an attribute active_subscriber: false is set after login, which is then used in targeting for survey delivery.

AttributeExampleRequirement
customer_typeprospect | lead | new | recurring | canceled
total_revenue1230.12Must be a float
total_purchases8Must be a float
countryDEMust be ISO standard
languageDEMust be ISO standard

Setup Code #

You can easily embed the setup code via Google Tag Manager or directly in your source code to send custom attributes to PollHero.

(window.PH_API || (window.PH_API = [])).push(function() {
    var identifier = email oder user_id || null; // Ersetze email oder user_id durch einen eigenen Identifier, falls verfügbar
    window.PH1.identify(identifier, {
        // Füge hier deine benutzerdefinierten Attribute zu
        customer_type: "recurring",
        subscriber: true,
        subscription_date: '01.01.2025'
    });
});

Here is a concrete example where we set a correct identifier:

(window.PH_API || (window.PH_API = [])).push(function() {
    var identifier = 'info@poll-hero.com' || null;
    window.PH1.identify(identifier, {
        customer_type: "new",
        subscriber: true,
        subscription_date: '01.01.2025'
    });
});

Wie hilfreich war dieser Artikel?

  • Happy
  • Normal
  • Sad