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
-
Forbes Contributor - Bio Link (Yes or No?)
I'm a geologist and Forbes contributor (https://www.forbes.com/sites/trevornace/). I also am the founder of Science Trends (http://sciencetrends.com). I recently started Science Trends about a month ago and am wondering if there is benefit or harm in putting a link in my Forbes bio for Science Trends? The link would be on every article I write on Forbes (150+ as of now). I'd like to publicize Science Trends to my Forbes readers but I don't want to jeopardize a bad link profile on Science Trends. Any suggestions/tips?
Technical SEO | | tnace0 -
#Page Jump link sharing
Hi I'm managing an in-house link building campaign in order to help in our key search term 'Location Holidays'. We were historically number 1 for this term until a recent re-design in May where our web design agency butchered our SEO. All of the main issued fixed, we're now fluctuating between 3rd & 4th on a daily basis. I'm putting together a social share comp to promote through the press in order to boost our backlink profile. We're nesting the competition within the body of the page we want to improve the rankings for. I will be including a #page jump link to quickly access it as it will be further down the page. My question is that if we get press to link to http://holidaycompany.com/destination/#comp will http://holidaycompany.com/destination/ receive the link juice or will http://holidaycompany.com/destination/#comp be looked upon as a whole new page? Thanks in advance!
Technical SEO | | MattHolidays0 -
Dofollow and Nofollow links
What is the difference between dofollow and nofollow links? I know that some sites/blogs only let you post nofollow links. In such a case how do I know if a comment I posted on a certain site will be a nofollow or dofollow? How about big traffic sites such as Huff Post. Do they only allow nofollow links?
Technical SEO | | greenfoxone0 -
Does Domain Mapping Leak Link Juice?
Hi everyone As per previous posts, we are in the process of setting up a new sideline to the business and after taking great advice from you guys, we have bought a new domain - which is fuelsos.co.uk - To save on hosting fees, I have created a subdirectory on our main site at http://lockcity.co.uk/fuelsos/ which is in the process of being mapped to fuelsos.co.uk (will take affect in next 24hrs) My question is, am I leaking link juice from my main site doing this? or should I look at buying seperate hosting? Many thanks, Abi
Technical SEO | | LockCity0 -
Too Many On-Page Links
Hello. My Seomoz report this week tells me that I have about 500 pages with Too Many On-Page Links One of the examples is this one: https://www.theprinterdepo.com/hp-9000mfp-refurbished-printer (104 links) If you check, all our products have a RELATED products section and in some of them the related products can be UP to 40 Products. I wonder how can I solve this. I thought that putting nofollow on the links of the related products might fix all of these warnings? Putting NOFOLLOW does not affect SEO?
Technical SEO | | levalencia10 -
IFRAME WIDGET - FOLLOWED LINKS
<iframe style="border: 2px #CCCCCC solid;" src="http://www.cpsc.gov/cgi-bin/javascripts/cpscrss.aspx" title="CPSC RSS Feed" frameborder="0" scrolling="auto" width="224" height="258"></iframe> That is the code my client wants to add to an internal page where we can keep updated news on a specific subject. Only problem is this widget has links within it, these links are "followed". Should i worry about these links being followed? There are quite a few, does anyone know if they will be counted if within an iframe or is there a way to add "no-follow" attribute to them. Can i somehow tell the HTACCESS to add no follows to all links on specific pages? Any thoughts, solutions are greatly appreciated.
Technical SEO | | waqid0 -
How do I know which page a link is from
I've got an interesting situation. I hope you can help. I have a list of links but I'm not sure which pages of my site they are from. How do I know which page a specific link is from? Thanks in advance.
Technical SEO | | VinceWicks0 -
What Are The Page Linking Options?
Okay, so I'm working with a site that has pretty good domain authority, but the interior pages are not well linked or optimized. So, it ranks for some terms, but everything goes to the home page. So, I'd like to increase the authority of the interior pages. The client is not wild about spreading targeted juice via something like a footer. They also don't like a "Popular Searches" style link list. The objection is that it's not attractive. They currently use cute euphemisms as the linking text, so like "cool stuff" instead of "sheepskin seat covers." In that made up example, they'd like to rank for the latter, but insist on using the former. What about a slide show with alt text/links? Would that increase the authority of those pages in a term-targeted kinda way? Are there other options? Does it matter how prominent those links are, like footers not as good as something higher up the page? They currently use a pull-down kind of thing that still results in some pages having no authority. Do bots use that equally well? Thanks!
Technical SEO | | 945010