Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: mademetop

Message Too Old, No Replies

Can Link Juice be Passed thru JavaScript or PHP Links?

     
2:20 pm on Dec 12, 2012 (gmt 0)

New User

joined:Dec 12, 2012
posts: 3
votes: 0


I have a group of outbound links that I need to track clicks. At the moment, the href points to a snippet of JavaScript that calls a php script that logs the click and redirects the user to the destination URL. I wrote this code many years ago and I'm wondering if there is a better way to do this and if possible, be able to pass link juice to some of these outbound links while still tracking clicks?. I've always assumed no link juice can pass through this type of link please correct me if I'm wrong.
4:02 pm on Dec 12, 2012 (gmt 0)

Moderator from US 

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 13, 2002
posts:13973
votes: 123


Is your script recording just the clicks or other data, like the IP address? A well rounded website tracker will report outbound traffic.
8:45 pm on Dec 17, 2012 (gmt 0)

New User

joined:Dec 12, 2012
posts: 3
votes: 0


Thanks for your reply about "A well rounded website tracker", but my question pertains to Link Juice in this scenario.
9:50 pm on Dec 17, 2012 (gmt 0)

Moderator from US 

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 13, 2002
posts:13973
votes: 123


You're welcome. :) I should have quoted what part of your post I was answering.

I'm wondering if there is a better way to do this


As for your other question, as I understand it, Google is supposed to pass PageRank via JS. It reconstructs the link from the script. Personally I'm a bit on the fence, even though Matt Cutts says you can put a nofollow on a JS link in order to keep it from counting.

[youtube.com...]
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members