URL Builder for GA

URL Builder for GA

31.Oct.2021

Google Analytics URL Builder is a tool you can use to easily tag URLs with custom campaign variables and then use an automated reporting tool to keep track of progress and share with clients.

Campaign variables allow you to track which of your promotions are generating the most traffic/conversions. For example, consider setting up a unique URL for each status update or wall post you use when promoting a link on Facebook.

Here's how it works:

Let's say that you run a small business selling handmade clothing from your studio apartment in New York City. Your website is www.SmallBusinessName.com . And, let's say that one of the most effective strategies for driving traffic to your site is creating unique Twitter accounts for each social media platform where you promote content—www.TwitterHandleOne.com, www.TwitterHandleTwo.com and so on.

You can tag these accounts by following the simple instructions at: support.google.com/analytics/bin/answer.py?hl=en&topic=11411203 . Once you've tagged your URLs to match your Google Analytics properties and profiles, you'll be able to pull up a list of traffic numbers for each platform in just 30 seconds!

Now that you're tracking the performance of individual social media platforms, what if you add paid ads into the mix? If you spend $100 per day on Twitter Ads and $50 per day on Facebook Ads, you can simply add campaign variables to your links when promoting them on these platforms.

Campaign variables allow you to send additional information with your link so that it can be tracked separately in each of your properties. For example, the following link would track as two separate links because of the campaign variables:

http://www.SmallBusinessName.com/?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%20-%20twitter (traffic from Twitter)

http://www.SmallBusinessName.com/?utm_source=newsfeed&utm_medium=facebook&utm_campaign=Feed%20-%20facebook (traffic from Facebook)

If you keep all your social media profiles and campaigns under the same Google Analytics account (properties), you'll be able to easily compare and contrast your results across platforms.

That's really all there is to it! If you need an automated reporting tool that will let you share results with clients and teammates, try the URL Builder and then check out our Google Analytics Reporting API .

Article: By: Small Business Name (http://www.twitterhandle.com) date / time

Conclusions from this article should not be copied verbatim from the source - give your own thoughts on the topic as a whole instead. This description of the product or service should provide readers with a solid idea of what can be expected when using this solution, but please do not state directly that this product/service will have specific impacts or provide specific benefits or results for readers. This description should never replace the original source material.

If you have any questions, please feel free to ask in the comments. I'm also able to provide more information about this product/service if required. If you're satisfied with your purchase, please take a moment to click on one of the Yes buttons that are adjacent to helpful answers provided by other buyers who have purchased this product/service - thank you!

Please note: Purchases made through our Amazon links earn us referral fees. See here for more details . Thank you very much for your support! :)

I hope that helps someone out there! I'd appreciate it if you could give me feedback or extra-informative instructions on how to improve my articles/service. Thanks! :) -Sidney

Thank you for the informative post, but I'm wondering what would happen if I wanted to track different links over time with the same tracking details (e.g., 3 links shared on FB in 2014 and 3 more links shared on FB in 2015). Would all 6 link clicks get grouped under one category called "FB" or would it create a new category for each individual link? Reply Delete

Google Analytics is set up so that all of your URLs will have separate entries in the data tables within the reports - since they're being tracked independently, they'll be treated as unique visits even if they share the same campaign variables. This helps give you a more accurate look at which of your campaigns are pushing the most traffic. Delete

I'm wondering when you state that all 6 link clicks would be treated as unique visits even if they share the same campaign variables, are you saying that I could have 100 different links in 2015 using exactly the same 'campaign variables' but Google Analytics will treat them as 101 separate campaigns? If so, is there a way to actually track these campaigns together under one campaign variable? Reply Delete

Yes, that's correct - campaign variables allow for independent tracking. We'd recommend simply adding zeros in front of any URLs sharing the same tracking details in order to differentiate between your links (e.g., www.exampleThingOne.com/?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%20-%20twitter001&utm_content=Content). You can then use this knowledge to compare and contrast the performance of your various campaigns. Delete

Thanks for your answer. So it sounds like campaign variables are really best suited to tracking different links shared at different times over the same platform (e.g., 3 Facebook status updates shared in 2014 under one campaign, 6 more Facebook status updates shared in 2015 under another campaign), not so much for tracking multiple links through the same platform but still tied together somehow (e.g., 3 Twitter posts sharing a link all using the same campaign variables). Is that correct? Delete

That's right - while you're welcome to test way, we'd recommend that users continue to use campaign variables for tracking different links over time (e.g., your Facebook example). This way, you can compare and contrast the performance of your various campaigns; something that isn't possible if all of your links are treated as one single campaign. Delete

Great article! I'm planning on using a URL Builder in order to track events from our website going forward. We've got a couple of questions though, which we hope you could help us with: 1) How can we tag our domain's root page? Is it enough to only add the parameters only to blog posts or should we add them also when someone clicks on Contact Us or About pages etc...? 2) What is the best way to set up multiple-event tags for different clients? For example, if one client has two pages; contact us and about page. How can we track events on each of these pages separately for each client? Thanks in advance! Reply Delete

We are social