Tom already knows I absolutely love his post here and on SEOMoz on this topic. That’s why I also created this WordPress plugin: http://www.springest.co.uk/social-analytics/. Hopefully it will help the less code savvy people to also analyze this kind of data.
Lars
Doesn’t work. I don’t have an account with neither Facebook nor Twitter but the page shows that I am supposedly logged into both services
Question: isn’t being logged into google and google plus really the same thing at this point?
Also: I just did a little more indepth-search and couldn’t find a way to do this for tumblr or linkedin either. I think this is worth a little more effort.
We use a similar tech on our series template on our wiki to determine a user’s eligibility for upvotes and downvotes for the topics on reddit/digg… It could be used to decide whether or not to display the share buttons, I suppose.
One request – I find your site really hard to read, having light gray text on a white background. Not everyone has 20/20 vision – don’t be afraid to use a little contrast sometimes! If not for the magic of firebug I’d have given up way before the end, which would have been a shame.
Fredrik
The Adblock filter “*$third-party” helps a lot; the demo page couldn’t even try to figure out i I was logged in anywhere, and the third-party sites received no notification that I accessed the demo page.
Jay
is this still working? it worked when I tested the demo a few days ago but now it doesn’t. I’m using the latest version of Chrome.
Works for me on latest Chrome. What doesn’t work for you?
rex
Great post. Linking from the headline I was thinking you might be initiating an oauth request. This is even better.
Your demo seems to think I’m not logged into g+ but I totally am. I +1’d your post and clicked through without having to log in. I’m on the new chrome for android.
Another way to defeat this in Chrome – open an incognito window for gmail, facebook, twitter etc. This script will work in an incognito window, but not in a normal window. It probably isn’t a bad policy to use incognito for “important” sites, while using chrome in “normal” mode for general web browsing.
David
Great article Tom. It’s not detecting any of my logins when I am logged into G+, FB, and Twitter. ScriptNo, or possibly one of the other security extensions, seems to be doing it’s job.
kuhkatz
doesnt work for me.
in ff10: FB doesnt get even shown, all others: “not logged in”. im in twitter and google right now.
in chrome: logged into FB (which i am not in chrome); not logged into twitter (which i am).
95 responses to “Detect if visitors are logged into Twitter, Facebook or Google+”
I was thinking about similar idea. Would it be possible to track facebook users to see who they visit?
Tom already knows I absolutely love his post here and on SEOMoz on this topic. That’s why I also created this WordPress plugin: http://www.springest.co.uk/social-analytics/. Hopefully it will help the less code savvy people to also analyze this kind of data.
Doesn’t work. I don’t have an account with neither Facebook nor Twitter but the page shows that I am supposedly logged into both services
Here is another WordsPress plugin: http://www.seomoz.org/blog/visitor-social-network-login-status-google-analytics
It comes with pre-defined Custom Reports for Google Analytics
Can I have more than a FB.init by page? becouse I have Like button at page.
Question: isn’t being logged into google and google plus really the same thing at this point?
Also: I just did a little more indepth-search and couldn’t find a way to do this for tumblr or linkedin either. I think this is worth a little more effort.
We use a similar tech on our series template on our wiki to determine a user’s eligibility for upvotes and downvotes for the topics on reddit/digg… It could be used to decide whether or not to display the share buttons, I suppose.
[…] background-position: 50% 0px; background-color:#222222; background-repeat : no-repeat; } http://www.tomanthony.co.uk – Today, 1:24 […]
Nice trick – worked for me in FF.
One request – I find your site really hard to read, having light gray text on a white background. Not everyone has 20/20 vision – don’t be afraid to use a little contrast sometimes! If not for the magic of firebug I’d have given up way before the end, which would have been a shame.
The Adblock filter “*$third-party” helps a lot; the demo page couldn’t even try to figure out i I was logged in anywhere, and the third-party sites received no notification that I accessed the demo page.
is this still working? it worked when I tested the demo a few days ago but now it doesn’t. I’m using the latest version of Chrome.
Works for me on latest Chrome. What doesn’t work for you?
Great post. Linking from the headline I was thinking you might be initiating an oauth request. This is even better.
Your demo seems to think I’m not logged into g+ but I totally am. I +1’d your post and clicked through without having to log in. I’m on the new chrome for android.
Interesting. I never tested it on mobile browsers. Did it work before from Android?
It showed me as not logged into anything, although I’m logged into Google and Facebook. Then I realized that it’s because I’m using Ghostery!
[…] Clever hack. […]
Another way to defeat this in Chrome – open an incognito window for gmail, facebook, twitter etc. This script will work in an incognito window, but not in a normal window. It probably isn’t a bad policy to use incognito for “important” sites, while using chrome in “normal” mode for general web browsing.
Great article Tom. It’s not detecting any of my logins when I am logged into G+, FB, and Twitter. ScriptNo, or possibly one of the other security extensions, seems to be doing it’s job.
doesnt work for me.
in ff10: FB doesnt get even shown, all others: “not logged in”. im in twitter and google right now.
in chrome: logged into FB (which i am not in chrome); not logged into twitter (which i am).
but… kinda sweet idea, this.
[…] you follow through on this website – http://www.tomanthony.co.uk/blog/detect-visitor-social-networks/ – you will find an article that explains the mechanics and from there I imagine a technically […]
[…] by Tom Anthony’s initial post outlining both Twitter and Google’s login mechanism (Facebook below), and authored by Marty […]
I made javascript library based on your technique https://github.com/stereobooster/social_detector