Track outbound links
-
I would like to track outbound links at http://bit.ly/yYHmbf
1. Shall i add the following code before at the above page
What does 100 means in above code ?
2. Then use this for each outgoing link
``` [onClick="recordOutboundLink(this, 'Outbound Links', 'example.com');return false;">](http://www.example.com) ``` [](http://www.example.com) ```[``` http://www.example.com is the outbound link
Am i right on both counts ?
where should i look for report in GA ? ```](http://www.example.com)
-
If you worry about the 100 milliseconds it's OK. A second is 1000 miliseconds, so 1/10 of a second is between the click and the trackEvent.
-
why i am not able to select "Good answer "
-
You have again got it man : ). Good Answer
should i change to something elese ? Still not sure about this thing. A little explanation, if you don't mind...
-
Hi Atul,
This is going to be an intimate morning ;-), you should add this code indeed in the of your page.
- The 100 is the number of of milliseconds before the first parameter, the trackEvent in this case is set.
- You're right on both counts.
- The reports in Google Analytics could be found (in the new version of Google Analytics) under Content > Events > Overview.
Hope this helps (again)!
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
-
Link Anchor Text
When we have run a Open Site Explorer analysis on our own site, it says that for all our internal links the Link Anchor Text is 'Help with logging in' I am a bit confused as to why it shows that. That text does appear in the header of the page, but is not the first piece of text. Why is it happening on our site?
Technical SEO | | MattAshby
Why do I not see this on other sites?
What affect does this have on our ranking?
What's the best fix? Example page that we ran on Open Site Explorer: www.rightboat.com/search?manufacturer=Beneteau&model=Antares+9.800 -
Broken link
I know SEO Moz has a lot of info about 404 301 302 etc but I am trying to figure out easy way to fix two of the broken links from flash. I am redirecting following links with wordpress redirect plug in http://soobumimphotography.com/gallery.php?GalleryID=126&GalleryName=Wedding&OrderNum=1 http://soobumimphotography.com/gallery.php?GalleryID=126&GalleryName=Wedding&OrderNum=1 What would be the best way to solve this? Is there anyway I can remove those?
Technical SEO | | BistosAmerica0 -
Added data to links
Hello I am in the process of cleaning a site and getting less pages cached. it is a magento site and I was wondering what is your advice fo pages that get this padded to the link ?material=139&price=10%2C12 accept the obvious canonical? thanks
Technical SEO | | ciznerguy0 -
Canonical Link Quesiton
I wrote an article that is a page article, but would also be a very good blog post - So my question is two things: 1. If i post it as a static page and syndicate it as a blog post and have it as a canonical link to the page, google will read see the blog and read the page _url as the one with credit correct? In turn not dinging me for duplicate content. 2. Given if the above statement is correct, should I write the blog and put it on my static page referencing the blog or the way i have it as a static page with the blog using a canonical reference back to the page. Any input would be greatly appreciated.
Technical SEO | | tgr0ss0 -
Affiliate links
I have a wordpress blog and was wondering the best seo practice for doing affiliate link redirects? Peter
Technical SEO | | PeterM220 -
Paid outbound links - do they have juice?
Hi, A client is asking about a website that has a business model I don't normally work with - it's a site full of very informative articles - no harm there - and they are sponsored by companies who provide the service being discussed. Not really any harm there. But attached to the link is an outbound tracking device. The business model is pay per click. Has anyone had experience with this, specifically if larger search engines have picked up on this and filtered out those types of links to not count very much if at all? Thanks!
Technical SEO | | lilactree0 -
Absolute of Relative Internal Website Links
Hi, I am not sure what is considered best practice when linking between pages on the same site - absolute or relative: Link Or Link I notice a lot of CMS systems (WordPress) use the absolute method - is there a reason? Any help much appreciated. Barney.
Technical SEO | | barnst0 -
What should I do about links coming in that are from link farm type sites?
I just noticed two back links to a couple of sites around pharmaceuticals/attorneys. The one link is to a chinese site with url: http://e.lifestyle.com.cn/fashionweekly/nzj/353093_2.shtml, and the other is to a site called Adroo: http://adroo.com/us/?view=list&list_id=104154&lang=en. Both appear to be some type of link farm sites, one has come in as a nofollow (surprise, you can buy "ads" on their site, both have decent DA. There is no reason for them to link to theses sites, should I find a way to stop the link? Also, on one of the sites we had a dmoz link and it is not showing in OSE? Link is still open in dmoz though. Thanks for any input.
Technical SEO | | RobertFisher0