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
-
Using logical operators (AND / OR) in Google Analytics Goal Funnels
When setting up a Funnel within Google Analytics, is it possible to use logical operators (e.g. OR, AND) in the first (required) step of the funnel? For example, suppose I want to track users who visit page1.html AND page2.html before proceeding to the destination goal. I've entered two pages separated by the OR operator, and neither the "Verify this Goal" nor "Save" produces an error message - is it safe to assume that this is working as I intend? Thanks in advance!
Reporting & Analytics | | ahirai0 -
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 - 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 -
Will 301 redirects (Same Domain) show as referral traffic in Analytics?
For an eCommerce site we have 301'd legacy product pages to new product pages. Is all that traffic going to show up as referral traffic from our own domain in Google Analytics? If so, is there any way to preserve original source/medium info or will all the source/medium info be our own domain since there is a 301 redirect?
Reporting & Analytics | | bozzie3111 -
Google Analytics VS target="_blank" internal links: How much wrong is it?
I am working on an e-commerce website, and our CEO is sure that having target="_blank" in internal search result is boosting the conversion (not sure, but it's not an issue at the moment). The problem is that Google Analytics sees all URLs visited from search results as entrances/direct visits, hence the Booking Funnel Tracking does not work as it was supposed to. Is there any way to recover the tracking? Or we shall get the rid of target="_blank" attribute?
Reporting & Analytics | | apartmentGin0 -
Why is Google Analytics showing index.php after every page URL?
Hi, My client's site has GA tracking code gathering correct data on the site, but the pages are listed in GA as having /index.php at the end of every URL, although this does not appear when you visit the site pages. Even if there is a redirect happening for site visitors, shouldn't GA be showing the pages as their redirect destination, i.e. the URL that visitors actually see? Could this discrepancy be adversely affecting my search performance? Example page: http://freshstarttax.com/innocent-spouse/ shows up in GA as http://freshstarttax.com/innocent-spouse/index.php thanks
Reporting & Analytics | | JMagary0 -
Setting up Google Analytics for Subsites
I currently have one main .com site and am planning on launching geo-location subsites .co.uk, .com.au, .ru, etc... Traffic will flow between both sites and some of the content on the subsites will be duplicate and therefore include a canonical tag to the main site. I want to set up GA to capture who is going to the subsites and vice versa and correctly capture crossover traffic. Any advice on implementing advanced analytics directly (or links to sources that will direct me the right direction for this project)
Reporting & Analytics | | theLotter0 -
Custom Variables to track Vimeo plays on website with Google Analytics?
Hello Everyone, I'm trying to track how many times a Vimeo video is played on my site via GA. Does any of you have any knowledge of how can this be achieved? I've read the documentation and came up with this: After the iframe embed i insert this: Of course the GA is loaded in the header. Does not work, at least i cant see anything in analytics. I have set up the segment as per the attached image. Thanks in advance! Alex E6XnO.png
Reporting & Analytics | | pwpaneuro0