Google Analytics + Transactional
Automatically add UTM tracking parameters to all links in your transactional emails. Measure the downstream impact of email engagement in Google Analytics. See which transactional emails drive website visits, conversions, and revenue.
OVERVIEW
Automatically add UTM tracking parameters to all links in your transactional emails. Measure the downstream impact of email engagement in Google Analytics. See which transactional emails drive website visits, conversions, and revenue.
Integration Workflow
A step-by-step look at how data flows between your tools and Transactional.
Email Created
A transactional email is composed with links to your website.
UTM Parameters Added
Transactional automatically appends UTM parameters to all links.
Recipient Clicks
The recipient clicks a link and lands on your site with tracking params.
GA Attribution
Google Analytics attributes the visit, and any conversion, to the email.
What You Get
Everything you need to integrate Google Analytics with Transactional.
Auto UTM Tagging
Automatically append utm_source, utm_medium, and utm_campaign to every link in your transactional emails.
Custom Campaigns
Use email tags as campaign names. Group analytics by email type: receipts, password-resets, notifications.
Revenue Attribution
Attribute e-commerce revenue to transactional emails. See which email types drive the most conversions.
GA4 Compatible
Fully compatible with Google Analytics 4. Events and conversions flow seamlessly into GA4 reports.
Get Started in Minutes
Here is a code example showing how to connect Google Analytics with Transactional.
// Enable UTM Tracking for Google Analytics
import Transactional from "@transactional/sdk";
const client = new Transactional({ apiKey: "txl_your_api_key" });
// Send an email with automatic UTM tagging
await client.email.send({
from: "hello@yourapp.com",
to: "user@example.com",
subject: "Your Weekly Summary",
htmlBody: `
<h1>Your Weekly Summary</h1>
<p>Check out your dashboard:</p>
<a href="https://yourapp.com/dashboard">View Dashboard</a>
<!-- UTM params are automatically appended -->
`,
tag: "weekly-summary",
tracking: {
utm: {
source: "transactional",
medium: "email",
campaign: "weekly-summary",
content: "dashboard-link"
}
}
});
// Links become:
// https://yourapp.com/dashboard?utm_source=transactional
// &utm_medium=email&utm_campaign=weekly-summary
// &utm_content=dashboard-linkYOUR AGENTS DESERVE
REAL INFRASTRUCTURE.
START BUILDING AGENTS THAT DO REAL WORK.