# Track Postscript SMS campaigns in Google Analytics

Littledata offers a seamless integration for [Shopify + Postscript](https://www.littledata.io/shopify/postscript). Postscript integration benefits:

* **Single source of truth in Google Analytics.** See which SMS campaigns are driving sales and exactly when and where customers are converting.
* **Better marketing attribution.** Littledata’s app magically stitches sessions together so you can understand performance across paid and organic channels. and build better audiences in Facebook Ads, Google Ads and more.
* **Audience building.** Littledata captures complete data about browsing behavior, checkout steps and purchasing behavior (orders, refunds, repeat purchases) for more accurate retargeting campaigns and audience building.
* **Complete subscription tracking.** Many subscription ecommerce merchants use Postscript to power their SMS/text marketing, and Littledata integrates with apps like Recharge and Smartrr to track recurring orders directly in Google Analytics and tie them back to customer touch points like email, SMS and Facebook Ads.

## How it works

Littledata's Postscript integration works alongside our [Shopify to Google Analytics](https://www.littledata.io/shopify/google-analytics) connection to provide granular marketing attribution for conversions that come from Postscript SMS campaigns. The integration sends complete data to Google Analytics without the need for Google Tag Manager (GTM).

{% hint style="success" %}
Littledata’s integration relies on the UTM parameters you set up in Postscript, so it's important to follow this guide to setup those parameters correctly!
{% endhint %}

Littledata’s integration relies on the UTM parameters you set up in Postscript for *source*, *medium* and *campaign*. Our server-side tracking picks up the UTM parameters and attributes them back to the order. This includes one-off purchases, first-time subscription purchases, and recurring orders (ongoing subscriptions).

For the integration to work correctly, just follow the guide below for configuring Postscript to work with Littledata. Once the UTM parameters have been set up correctly, you can check the performance of your SMS campaigns in Google Analytics 4 in:

* **Standard reports**

Under Acquisition > Traffic Acquisition, search for SMS and add a secondary dimension for source/medium.

![Postscript SMS tracking Google Analytics](/files/r4WLSnj3qGSil22JNsUt)

You can also customize the Traffic Acquisition report and create a custom report for your SMS campaigns.

* **Explorations**

Go to the Explore menu and create a blank exploration.

![](/files/G97AFv28SjoXRHb0Qzaq)

Add the dimensions and metrics you want and apply a filter for Postscript traffic:

![](/files/NN1foHRMeFLDFSqYu7Vc)

## Configure Postscript to work with Littledata

Here’s how to set up consistent UTM parameters to work with Littledata.

1. Go to your Postscript dashboard.
2. Click your store name on the sidebar, then select Tracking
3. For Campaign:

* Set Source to Static Value with the value “postscript”. You can change it to something different if you prefer having a different identifier for this source - Littledata will attribute it nonetheless.
* Set Campaign to Campaign name - this will set the campaign name dynamically.

4. For Custom UTM parameters:

* Click on Add custom parameter
* Set Key to “utm\_medium”
* Set Value to “sms” - You can change it to something different if you prefer having a different identifier for medium - Littledata will attribute it nonetheless. 5. Click “Update Global UTM Tracking” to save your settings

![](/files/45OSJJGpqfcZtXy1OyOd)

## Learn more

Ready to get accurate data automatically?

* See [what reports you can view](/google-analytics/conversions/shopify-to-google-analytics-4-beta.md) in GA4
* Install Littledata's [advanced Google Analytics app](https://apps.shopify.com/littledata) in the Shopify app store
* Learn [how Littledata sends ecommerce events](/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4.md) from Shopify to Google Analytics


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.littledata.io/partner-recipes/postscript/track-postscript-sms-clicks-ga.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
