Track Attentive SMS campaigns in Google Analytics
Track Attentive SMS campaigns in GA4
This page shows you how to tag Attentive SMS links with UTM parameters and where to find Attentive campaigns in GA4. It also explains why GA4 and Attentive report different numbers.
With Littledata's GA4 destination, you can:
See which SMS campaigns drive sales. Compare Attentive with your other channels in one place.
Build better audiences. Littledata sends browsing, checkout and purchase events (including refunds and repeat purchases) to GA4, so you can build audiences for Google Ads and other platforms.
Track subscription orders. Littledata works with many subscription apps, so recurring orders show up in GA4 too.
How campaign tracking works
Attentive campaigns are tracked through Littledata's Shopify to GA4 connection. You don't need Google Tag Manager.
GA4 reads the source of each session from the UTM parameters on the link the customer clicked. If your Attentive links don't have UTMs, GA4 can't tell those visits came from Attentive. That's why it's important to set them up correctly.
Set up UTMs for Attentive SMS campaigns
Add UTMs to every link in your Attentive messages. When you create a message, Attentive's link shortener adds a default utm_source and utm_medium. You can change these defaults in Attentive under Settings > Google Analytics.
Whatever naming you choose, keep it consistent. Many merchants keep a shared spreadsheet of UTM names and check it regularly.
Attentive recommends this naming schema:
Source
The name of the software platform sending SMS
Medium
sms
Campaign
The name of the campaign or flow within the SMS platform
Content (optional)
The hook or offer of the SMS sent
Term (optional)
The segment of your audience
To add a tagged link to a campaign:
Enter the URL with UTMs
Add the URL with your UTMs. You can type it in or use Google's Campaign URL Builder. For example:
utm_source
attentive
utm_medium
sms
Report on Attentive campaigns in GA4
Once your links have UTMs, Attentive flows and campaigns show up in GA4. You can look at Attentive on its own or compare it with your other channels.
Here's a real example where Attentive ranks first for revenue per session and session conversion rate:

To see revenue and orders by Attentive campaign:
Will GA4 match Attentive?
No. GA4 tracks sessions and attributes sales differently from Attentive. The main differences are:
Quick visits may not count in GA4. If Attentive logs a visit and GA4 doesn't, the browser probably didn't stay on the page long enough for GA4 to record a session.
Cross-device journeys. GA4 only links visits on different devices when it can identify the same user, for example a logged-in customer. If someone clicks an SMS on their phone and buys later on their laptop, GA4 may credit a different source.
Different attribution rules. GA4's traffic acquisition report credits each session to its own source. Attentive uses its own attribution window, which can credit a purchase to an SMS click (or view) from days earlier.
If you want Attentive's attributed revenue to match GA4 more closely, ask Attentive to change your attribution window to a zero-day click window and to exclude view-through purchases.
Related articles
Last updated
Was this helpful?

