how to track sms marketing campaigns

How to Track Your SMS Campaigns in Google Analytics

Are you looking for a way to track your SMS marketing campaigns and see how they’re performing?

Tracking its performance gives you insights into how well those views converted into clicks and conversions.

But how do you differentiate clicks the come from SMS compared to other links in the campaign?

In this article, we’ll show you how to track your SMS campaigns in Google Analytics. Let’s start with…

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

Why Track SMS Campaigns in Google Analytics?

Including a link in your SMS messages is a great way to direct visitors to your website. But if you don’t track SMS clicks, there’s no way to know whether or not your mobile marketing is really working.

That’s why it’s important to track your SMS campaigns.

And with Google Analytics, you can see how people click on the links in your SMS campaigns and end up buying your products or signing up for the email list

But hold on for a second!

How do you differentiate the visits from your SMS campaigns from other marketing campaigns? Let’s find out…

What’s the Best Way to Set Up SMS Campaign Tracking?

Subscribe to our YouTube Channel

The easy way to track SMS campaigns is by adding UTM (Urchin Tracking Module) parameters or tags to your URL.

They are a bit of special code that you add to the end of your link and help you track different marketing campaigns.

When you do that, Google Analytics knows to separately track website visitors who used those links. This way you can easily get analytics reports and see how each link is performing.

And with MonsterInsights, it’s easier than ever to create URLs with UTM tracking codes right in your WordPress dashboard. The URL builder in MonsterInsights also comes with a URL shortener that comes in handy to be used in your SMS campaigns.

Now let’s take a look at how to create a custom URL for your SMS campaign with the URL builder.

How to Create a Custom URL for SMS Campaigns

You can build a custom campaign URL for your SMS campaigns with the URL builder in MonsterInsights.

To start, just follow these steps:

Step 1: Install and Activate MonsterInsights

First, you will need to install and activate the MonsterInsights plugin on your WordPress website. It’s the best Google Analytics WordPress plugin and helps you set up tracking without the need to edit code or hire a developer.

monsterinsights wordpress plugin

You get advanced tracking right out of the box such as file downloads, affiliate link tracking, outbound link clicks, and more. And the best part, you get to see data from Google Analytics inside your WordPress dashboard.

Step 2: Add Google Analytics to Your WordPress Site

Once you’ve activated the MonsterInsights plugin, the next step is to add Google Analytics to your website.

Usually, this requires adding the tracking code to your website. Now, this can be a challenge for beginners who aren’t familiar with coding.

But MonsterInsights solves this issue by adding the tracking code for you. All you have to do is follow its setup wizard and it will connect Google Analytics to your site.

For more details, check out our guide on how to add Google Analytics to the WordPress website.

Step 3: Create a Custom URL

The next step is to create a custom link with UTM parameters. To see the URL builder, go to Insights » Tools in your WordPress dashboard.

You can enter the website URL and all the information about your SMS campaigns, so you can better track them in Google Analytics. You can find six fields in the URL builder but all fields are optional except Website URL and Campaign Source.

custom url builder sms campaign tracking

  • Website URL: In this field, you can enter the website URL you want to direct your visitors to.
  • Campaign Source (utm_source): Enter the source of your traffic such as sms_campaign_1, search engine, etc.
  • Campaign Medium (utm_medium): You can enter the medium where the campaign URL will be used such as SMS, email, CPC, etc.
  • Campaign Name (utm_campaign): You can enter a specific name to identify the marketing campaign. Example: spring_sale
  • Campaign Term (utm_term): This optional field is specifically meant for running a paid search campaign. It identifies the keywords of your ads. Example: running+shoes
  • Campaign Content (utm_content): You can use this field if you’re A/B testing the performance of multiple SMS campaign variations. Example: logolink or textlink
  • Use Fragment: When you check this box, your UTM codes will be built using fragments instead of queries (for example, instead of This method isn’t recommended but is available for those who prefer it.

After you enter all the campaign information, you can now copy the custom link and place it in your SMS campaigns. This way, you can track the performance of your campaigns in Google Analytics.

copy the custom url

MonsterInsights also easily integrates with Pretty Links. It turns your long and ugly URLs into short, clean, and shareable links.

Simply install the Pretty Links WordPress plugin and create shorten URL for your SMS campaigns.

Step 4: View SMS Campaigns Report in Google Analytics

Now that you’ve created a custom URL, the next thing to do is see how your SMS campaigns are performing.

To find your SMS marketing campaigns analytics, you can go to all campaigns report in Google Analytics. You can find the report by going to Acquisition » Campaigns » All Campaigns.

all campaigns report

Next, click on any of the campaigns to see if the clicks you got were from your SMS campaigns.

source and medium of sms campaign

Or you can add a Secondary dimension from the drop-down menu and select Source / Medium.

secondary dimension source medium

That’s it!

We hope this article helped you learn how to track your SMS campaigns in Google Analytics. If you enjoyed this article, you may also want to read how to track link clicks in Google Analytics.

And don’t forget to follow us on Twitter and Facebook for more Google Analytics tutorials.

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.