UTM parameters & channel attribution
Which UTM parameters PollHero stores with each participation, where the values come from and where you can analyze them.
PollHero stores the channel a person came from with every participation. It uses the five UTM parameters from the URL. If they are missing, PollHero derives source and medium from the referrer. This lets you see, for example, whether responses from your newsletter differ from responses from Google search, without asking about it in the survey.
There is nothing to set up. Tracking runs automatically as soon as a survey is displayed.
Values PollHero stores
| Parameter | Meaning | Example |
|---|---|---|
utm_source | Source the person comes from | newsletter, google, instagram |
utm_medium | Type of channel | email, cpc, social |
utm_campaign | Name of the campaign | autumn-sale |
utm_term | Search term or keyword, usually for paid search | running-shoes |
utm_content | Variant, e.g. which link or banner was clicked | button-top |
In the app, the fields are called UTM Source, UTM Medium, UTM Campaign, UTM Term and UTM Content.
Where the values come from
When the page loads, PollHero checks in this order:
- UTM parameters in the URL: Every parameter in the URL is used. Missing parameters are filled from the next steps or with the default value.
- Google Ads click: If the URL contains
gclid, PollHero sets sourcegoogleand mediumcpc. - Search engine as referrer: If the person comes from Google, Bing, Yahoo, Yandex or Baidu, PollHero sets the search engine's name as source and
organicas medium. - Another website as referrer: If the person comes from another website, its hostname becomes the source (e.g.
www.example.com) andreferralthe medium. - No indication: Source is
(direct), all other fields get(none).
Always include at least utm_source and utm_medium in your campaign links. If utm_medium is missing, PollHero takes the value from the referrer, e.g. organic. The combination then no longer matches your campaign.
Which channel counts if someone comes back
PollHero remembers the channel in the browser (localStorage entry ph_utm_data, see Use of cookies & localStorage). If the same person returns later through a different route:
- New UTM parameters always win: If the URL contains
utm_sourceorutm_campaign, PollHero overwrites the stored channel. - A direct visit overwrites nothing: Someone who later types the address directly or uses a bookmark keeps the stored channel.
- Search and referrals only overwrite direct visits or each other: A visit via
organic,referralorcpcreplaces(direct)and other visits of this group, but not a channel with its own medium such asemailorsocial. - Payment providers are ignored: If someone returns to your website from PayPal, Klarna, Stripe, Mollie, Amazon Pay, a 3-D Secure page or a bank, the stored channel stays unchanged. That way a purchase doesn't show up in reporting as a
referralfrompaypal.com.
The channel is sent to PollHero at the start of each participation and stored with it. Values that change in the browser later don't affect participations that are already stored.
By survey type
| Survey type | Which URL counts |
|---|---|
| Onsite survey | The URL the person used to arrive on your website. The channel is kept across page changes. Someone who lands on the home page via a newsletter link and answers the survey at checkout still has utm_source=newsletter. |
| Embedded survey | As with Onsite: the entry URL on your website. |
| Stand-Alone survey | The survey link itself. Append the UTM parameters directly to the survey link (see below). |
| Embedded Mail | UTM parameters are currently not tracked. The first answer is stored directly when it is clicked in the email. |
UTM parameters on a Stand-Alone survey link
You'll find the link to your Stand-Alone survey in the Target tab. Append the parameters as with any other campaign link. The first parameter starts with ?, every further one with &:
https://app.poll-hero.com/survey/YOUR-SURVEY-ID?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-saleIf you share the same survey through several channels, create a separate link per channel, e.g. one with utm_source=newsletter and one with utm_source=instagram. In reporting, you can then separate the responses by channel.
UTM parameters can be combined with user attributes in the link:
https://app.poll-hero.com/survey/YOUR-SURVEY-ID?utm_source=newsletter&utm_medium=email&attributes[plan]=proThe Stand-Alone survey runs on app.poll-hero.com, not on your website. A channel PollHero stored on your website is therefore not carried over to the Stand-Alone survey. Only the parameters on the survey link count.
Where to analyze UTM parameters
- Segments in reporting: Under Create segment, the User group contains the criteria UTM Source, UTM Medium, UTM Campaign, UTM Term and UTM Content. The operators equals, does not equal, contains and does not contain are available. See Segmented reporting for how segments work.
- CSV export: The export contains the columns UTM Source to UTM Content for each participation.
- Data Export API and webhooks: Every response contains the object
utmwithsource,medium,campaign,termandcontent. Details are in the API reference and under Webhooks. - CSV import: When you import responses from another tool, you can map UTM columns to the fields UTM Source to UTM Content.
UTM parameters for orders
With purchase tracking, PollHero also stores the channel with every order, namely the one stored in the browser at the time of purchase. If none is stored there, PollHero uses the channel of this person's most recent participation that has UTM data.