Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How do shortened links show up in Google Analytics?
-
Hey, How do shortened links show up in GA? So if I tweet about something and use bitly, does twitter get the referral? I am thinking not. I have never seen bitly show up as a referrer, but we gets lots of clicks from those links. Hmmmm. Anyone?
E
-
Campaign tagging is always the failsafe method to essentially 'hardcode' the campaign attribution into your links. If the link is shared using some widget you have on your site and you have control over the code, just have these share links use campaign tagged URLs.
If somebody visits one of your page and just decides to copy and paste the URL from their browser address bar, then you'll get some directs or misc. web-based referrers. Not too many ways to combat that. You can create some JavaScript that 'could' catch some of the web-based referrers and force some campaign attribution, but it won't catch the non-browser based clicks so it's not a perfect solution anyway.
-
Next question.
-- Person shares a link from our site. Someone else sees it in their feed in tweedeck and clicks. That click through is recorded as a direct.
Anyway to combat that issue?
-
Well, we have not done a comprehensive job of using tracking parameters, so I am assuming that's part of the slippage. Also, we have share links on millions of pages that our visitors use. So folks clicking through from tweetdeck and the like from those links would show up as directs.
-
-
Thanks. We do use parameters, so we're covered there, but we are seeing an increasing number of directs in sources, which I assume is from tweedeck, et al. Thanks for the clarification!
-
bit.ly and many other link shortener services will perform a 301 redirect to the destination page and will pass the referrer (if available). If somebody clicks your bit.ly link from their twitter feed on the twitter.com web site, then twitter.com/referrer will be the source/medium. But if somebody clicks a bit.ly link from a non-browser interface (i.e. desktop Tweetdeck or Outlook Express email) then no referrer info is passed in the headers, resulting in a 'direct/(none)' for the source/medium since GA couldn't identify a specific source.
As lhutt mentioned, you can use GA campaign tagging to specify campaign information. You can use Google's URL Builder to create campaign tagged URLs for GA:
http://www.google.com/support/analytics/bin/answer.py?answer=55578
-
I believe the source not bit.ly will show up as the referrer. IMHO, the best way to track shortened links back to your site is to use the Google Parameters. Not sure if bit.ly offers a way to do this easily (Hootsuite's shortner Owl.y does)
Even so, you can add the params yourself.
So if I tweet out about a blog post on my site, I'll put this kind of link into the shortner:
Then I am sure to be able to see my "campaign" info in a variety of ways inside of GA.
Hope that helps.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Why is Indeed.com traffic appearing as organic in Google Analytics?
A large number of sessions in my client's Google Analytics account appear to come from medium: organic and source:Indeed. Since I'm focused on SEO for this project, I'd prefer that Indeed be treated as referral traffic. Any ideas for fixing this issue? Also, and I'm sure the answer is no, is there a way to fix the past data in Google Analytics that has already reported Indeed as an organic medium?
Reporting & Analytics | | Kevin_P0 -
Google Analytics Goals - Button Tracking
Does anyone know if there is a really easy way to track a button in Google Analytics yourself? It seems that most button click goal setups involve some use of tricky code and I'm wondering if there is a much easier way to do this that will allow us to simply setup and track certain button clicks as goal conversions in Analytics. Your help here is much appreciated!
Reporting & Analytics | | Gavo0 -
Google Analytics SEO Queries Not Showing
Hi All, This might be a silly question, but for all the properties I monitor in Google Analytics, I'm now showing no data for SEO Queries under Acquisition for the past 6 days. Normally I would expect a few day delay in queries, but nothing for 6 days is somewhat peculiar especially as it was functioning fine prior to November 12th. Does anyone have insight into what might be going on? Thanks! URaNMa3
Reporting & Analytics | | amichaels0 -
Google Analytics - Average Position
Hi Just trying to get some clarity on Google Analytics Average Positions in "Aquistions/Search Engine Optimisation". For a very competitive keyword Google Analytics is saying i am on average position of 6. Is this Page 6? I am assuming position six would be 1.6?
Reporting & Analytics | | Cocoonfxmedia0 -
Tracking time spent on a section of a website in Google Analytics
Hi, I've been asked by a client to track time spent or number of pages visited on a specific section of their website using Google Analytics but can't see how to do this. For example, they have a "golf" section within their site and want to measure how many people either visit 5 page or more within the golf section or spend at least 6 minutes browsing the various golf section pages. Can anyone advise how if this can be done, and if so, how I go about it. Thanks
Reporting & Analytics | | geckonm0 -
How to remove unwanted dynamic parameters from a URL in Google Analytics
Hi, Would really appreciate some help with this. I have been experimenting with RegEx to achieve this but as I’ve never used it before am currently failing miserably. We have conversion pages i need to set goals for that are formatted as below: https://www.domain.co.uk//Application_Form/(S(ewhbqp5cki0mppuzukunkqno))/enterCardDetails.aspx I need to remove the (s(xxx)) section from the URL as rather than one pages i currently have thousands of unique URL's. What’s catching me out is that as it’s not a URL parameter I can’t discount and as half way through can’t just do head matches etc to /entercarddetails Help would be much appreciated. Thanks.
Reporting & Analytics | | Sarbs0 -
How to track what people type on my text boxes on Google Analytics?
Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?
Reporting & Analytics | | ivan.precisodisso0