Skip to content
Email and newsletters

UTM parameters for HubSpot marketing emails

2 min read · Updated · By the Reveata team

Short answerHubSpot adds utm_campaign and utm_content to marketing email links, but its documentation does not describe a source or medium. Add utm_source=hubspot&utm_medium=email to your links so Reveata counts the clicks as Email instead of Direct.

HubSpot users often rely on HubSpot's own reports for email, then wonder why those clicks look different in their website analytics. The reason is in the link: what HubSpot adds is designed for its own traffic analysis, and part of what Reveata needs is not there.

What HubSpot adds

HubSpot's article on traffic sources in its analytics (opens in a new tab) says:

  • utm_campaign is added automatically when a marketing email is associated with a HubSpot campaign. Without a campaign, the default value is hs_email, and automated workflow emails get hs_automation.
  • utm_content is added automatically to emails sent through HubSpot, and HubSpot uses it to find the email's name.

The article does not say HubSpot adds utm_source or utm_medium to email links.

Why that matters in Reveata

Reveata decides the channel from the click id, the medium, and then the source. A visit with only utm_campaign and utm_content has neither medium nor source. If the mail app also sent no referrer, there is nothing to go on, and the visit lands in Direct, with the campaign still recorded.

Adding a source and a medium fixes it:

text
https://example.com/demo?utm_source=hubspot&utm_medium=email

HubSpot then adds its own utm_campaign and utm_content, and the full link looks something like:

text
https://example.com/demo?utm_source=hubspot&utm_medium=email&utm_campaign=q4-webinar&utm_content=<email name or id>

Reveata: channel Email, source "hubspot", campaign "q4-webinar".

The values to use

Parameter Who sets it Value
utm_source You hubspot
utm_medium You email, or newsletter for a newsletter
utm_campaign HubSpot Campaign name, hs_email or hs_automation
utm_content HubSpot The email

HubSpot's tracking URL builder can create tagged links if you prefer not to type them; the article on creating tracking URLs (opens in a new tab) covers it.

Workflows and sequences

Automated workflow emails share the hs_automation campaign unless they are associated with a campaign. If you want each workflow on its own row in Reveata, associate it with a HubSpot campaign, or set your own utm_campaign on its links.

Common mistakes

  • Leaving out the medium. Clicks without a referrer land in Direct, despite carrying a campaign.
  • Expecting hs_email to mean something in Reveata. It is just a campaign value. Associate emails with campaigns so the value is useful.
  • Comparing HubSpot's email report with Reveata's. HubSpot counts clicks; Reveata counts visits and payments. They answer different questions.

Frequently asked questions

Why do my HubSpot email clicks show as Direct?

The links carried a campaign but no source or medium, and the mail app sent no referrer. Add utm_source=hubspot&utm_medium=email to the links.

Can I link HubSpot contacts to Reveata visitors?

Reveata does not read HubSpot's contact data. If your site has sign-in, call identify with your own user id so visits across devices belong to one visitor, and payments can match by email too.

Should I use hubspot or the list name as the source?

hubspot keeps every email on one source row. Put audience details in the campaign rather than the source.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
UTM guideUTM parameters for BrevoBrevo's UTM tracking adds utm_source=brevo, utm_medium=email and the campaign, workflow or template name as utm_campaign. Reveata counts those clicks as Email with brevo as the source. Change the medium to newsletter if a send is a newsletter.UTM guideUTM parameters for Klaviyo emails and SMSIn Klaviyo's UTM tracking settings, use a static utm_source of klaviyo, the dynamic Message type value for utm_medium, and the campaign or flow name for utm_campaign. Reveata counts the email clicks as Email; SMS clicks tagged utm_medium=sms land in Referral.UTM guideUTM parameters for beehiiv newslettersbeehiiv adds UTM tags to newsletter links by default: your publication domain as the source, email or referral as the medium, and the post title as the campaign. With a beehiiv.com publication domain, email clicks land in Reveata's Newsletter channel.UTM guideUTM parameters for Kit (ConvertKit)Kit's automatic UTM option tags links with utm_source=kit and utm_medium=email, which Reveata counts as Email. If you want a newsletter in the Newsletter channel, tag its links yourself with utm_medium=newsletter; Kit keeps tags you add.UTM guideUTM parameters for Loops emailsTag links in Loops emails yourself with utm_source=loops&utm_medium=email&utm_campaign=<email-name>, or utm_medium=newsletter for product newsletters. Reveata counts them as Email or Newsletter, depending on the medium.UTM guideUTM parameters for Mailchimp campaignsIn Mailchimp, either turn on Google Analytics link tracking or tag links yourself with utm_source=mailchimp&utm_medium=email&utm_campaign=<campaign>. Reveata knows Mailchimp as a newsletter platform, so these clicks land in the Newsletter channel.