Reporting

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

ParameterMeaningExample
utm_sourceSource the person comes fromnewsletter, google, instagram
utm_mediumType of channelemail, cpc, social
utm_campaignName of the campaignautumn-sale
utm_termSearch term or keyword, usually for paid searchrunning-shoes
utm_contentVariant, e.g. which link or banner was clickedbutton-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:

  1. 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.
  2. Google Ads click: If the URL contains gclid, PollHero sets source google and medium cpc.
  3. 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 organic as medium.
  4. Another website as referrer: If the person comes from another website, its hostname becomes the source (e.g. www.example.com) and referral the medium.
  5. 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_source or utm_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, referral or cpc replaces (direct) and other visits of this group, but not a channel with its own medium such as email or social.
  • 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 referral from paypal.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 typeWhich URL counts
Onsite surveyThe 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 surveyAs with Onsite: the entry URL on your website.
Stand-Alone surveyThe survey link itself. Append the UTM parameters directly to the survey link (see below).
Embedded MailUTM parameters are currently not tracked. The first answer is stored directly when it is clicked in the email.

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-sale

If 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]=pro

The 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 utm with source, medium, campaign, term and content. 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.

On this page