How do I use URL Tracking?
URL Tracking helps you determine the impact of your digital campaigns so you can see the ROI of your social content and optimize accordingly.
With URL Tracking, you create tracking rules to automatically append parameters to your links in the posts you share in Sprout. These parameters then add the tracking results in your analytics tools, such as Google Analytics.
However, it's important to note, that GA4 is the only supported version for UTM links posted after July 1, 2023. If you want to keep your link tracking up-to-date and accurate, you must migrate from UA to GA4.
Note: The automatic population of URL tracking rules is available on Sprout’s Advanced Plan. However, in the Professional and Advanced plans you can add tracking parameters to links you share through Sprout manually to appear in your analytics tools.
This article contains the following sections:
- What are some URL Tracking scenarios?
- How do I create URL Tracking Rules?
- How do I edit my Tracking Rules?
- What are some URL Tracking Tips?
- How do I view my URL tracking data in Google Analytics?
What are some URL Tracking scenarios?
Sprout Coffee wants to measure traffic from the brand’s social channels to the site www.sproutcoffee.com/careers for the announcement of a new set of open roles. Thus the social media manager needs to create URL Tracking rules to ensure the traffic gets captured.
UTM parameters are used to track the effectiveness of a social campaign in analytics tools like Google Analytics. Sprout enables social media managers to specify specific UTM parameters to capture this data.
The social media manager sets the utm_campaign parameter to a Custom Value and enters Recruitment.
For utm_source, they’ll leave the value as the default Social Network. The source shows as the name of the network the post is published to. For example, the source appears as “Twitter” when publishing to Twitter. If they were publishing to multiple networks, the networks appear in alphabetical order in a list separated by commas.
For utm_medium, they’ll leave the value as the default Social Account because any incoming traffic is resulting from posts to one of the social channels.
Finally, they’ll define utm_content as a Unique ID for the value. This means Sprout generates a unique ID every time the link is used, so any incoming traffic is attributed to specific outgoing messages.
Now, they’ll review a live preview of the link to verify the correct tracking information appears. They’ll click Save to save the tracking rules. Now whenever the link www.sproutcoffee.com/careers is added to Compose, the URL Tracking rules are automatically applied and traffic is captured in Google Analytics.
Additional scenarios include:
- A company wants to easily roll up all social traffic to their domain from posts published in Sprout within Google Analytics so that they can see it as a single channel.
- A marketing manager asks a community manager to promote the launch of a new product and wants to easily track conversions on the new website without the community manager having to think about it at all.
- A community manager wants to compare the conversions occurring as a result of posting to individual networks at one time vs. multiple times.
How do I create URL Tracking rules?
With these rules, you can specify the social network, account and other values to ensure you’re properly tracking links.
Note: Only Account Owners and users with Manage URL Tracking permission can configure URL Tracking.
Automatic URL tracking is set up at the group level, so you need to add rules for each group in your Publishing Settings.
Note: Setting up URL tracking via the Publishing Settings is only available to users on the Advanced Plan level.
If you want your URL tracking to apply to each network, add the dynamic parameter value Social Network in your link. An exception to this is if you shorten your link in a multi-network post before you publish. When you shorten links, it combines the tracking to include all networks selected in your post. Either leave your links un-shortened or use the Schedule + Duplicate workflow to schedule and shorten each link individually.
To create new URL tracking rules:
- Navigate to Settings > Publishing Settings.
- Click Add URL under URL Tracking. The Add URL Tracking popup appears.
- Enter the URL you want to track. When you add this URL to your posts in compose, the UTM parameters you define get automatically appended to the URL in Compose.
- Note: The URL you enter in Compose must be an exact match to the URL you specify in the URL tracking rules.
- Define your default parameters. Default parameters include the campaign name, source and medium. To do this:
- Select the value you want to use from the dropdown. Choose from:
- Social Network
- Social Account
- Message Tags
- Unique ID
- First 25 Characters of Post
- Custom Value
- Enter any additional information for the value you select.
- Select whether to enable or disable the parameter.
- Select the value you want to use from the dropdown. Choose from:
- (Optional) To define any custom parameters:
- Specify a parameter name of at most 100 characters.
- Select the value you want to use from the dropdown.
- Enter any additional information for the value you select.
- Select if you want to Apply the tracking parameters to all links for the post.
- Click Save.
Note: If the domain you enter is www.sproutsocial.com, UTM parameters appear only when the exact link www.sproutsocial.com is entered into the Compose window. sproutsocial.com without the subdomain www is considered a separate link, so the UTM parameters wouldn’t appear.
After you save your URL tracking rules, the UTM parameters you define are automatically added in the Attached Link area and the message text area in Compose.
After you enter the link in Compose, the rules you define automatically populate:
Whereas in the Attached Link section, you see more details and the ability to edit the tracking link:
Note: If you shorten links, it’s important to note that the tracking parameters don’t update by network when using the Schedule + Duplicate feature.
How do I edit my tracking rules?
You can edit your URL Tracking Rules within Compose when you create a new message.
To edit your URL Tracking Rules:
- Navigate to Compose.
- Select the profiles you want to publish to.
- Enter your message and the link you want to add.
- Click URL in the Compose window, and then click Edit.
- Make any changes and verify your changes in the Link Preview area.
- Click Save.
You can also edit your parameters directly in the link from Compose.
Note: If you edit your URL Tracking Rules or change profiles after shortening a link, you must re-shorten the link before you post.
What are some URL Tracking tips?
Sprout's URL Tracking Tips for Facebook & LinkedIn
- If you don’t want your UTM changes to apply to all links, deselect Apply to All Links.
- When you make UTM changes in Compose, updates appear in the Attached Link area for Facebook and LinkedIn, but not in the Message Text area. The updates also don’t appear for Twitter, even if a Twitter profile is selected in the Profile Picker.
- When you edit UTM parameters from Compose, make sure to remove the link from the Message Text area, so your audience has only one link to click.
Sprout's URL Tracking Tips for Twitter
- When you edit links from Compose, UTM changes only work with the current Setting Rules.
- When you need to edit campaign names frequently, set the Campaign Name to Message Tags for Twitter in your URL Tracking Rules. This way, you can use a message tag to change that field on-the-fly from Compose.
- When you need to shorten links for Twitter, only shorten the links once all changes are made.
- When you’re only posting to Twitter, the Attached Link section doesn’t appear in Compose because links and message text are considered one entity on Twitter.
- When using the Schedule + Duplicate workflow, the UTM doesn’t update if the link is shortened.
How do I view my URL Tracking data in Google Analytics?
To view your URL Tracking data in Google Analytics, navigate to Reporting > Acquisition > Campaigns. Here, you can sort and analyze campaign data by:
- Campaign
- Source
- Medium
- Content (Ad Content)
to evaluate the performance and ROI of your social campaigns sent from Sprout.