71

I noticed that the URL from the "share" links on questions and answers have my user ID appended to it, even when I didn't post it.

Since removing this user ID does not break the link, I'm wondering why the site is tracking this. Is there any reputation changes or badges related to sharing links?

9
  • 35
    Badges, badges, it's all about the badges
    – Taryn Mod
    Commented Nov 24, 2014 at 16:57
  • 16
  • 21
    @bluefeet badges, badges, badges, badges, badges, badges, badges, badges, badges, badges, mushroom, mushroom?
    – canon
    Commented Nov 24, 2014 at 21:25
  • 10
    @canon snake snake, oh it's a snake. Commented Nov 24, 2014 at 21:42
  • @TimSeguine Lemonade? Commented Nov 24, 2014 at 22:10
  • 1
    @canon: And I always thought the song was about badgers. Silly me...
    – honk
    Commented Nov 25, 2014 at 18:46
  • I'm curious-you seem to have a suspicion it might have something to do with badges. Why didn't you just check? There's not that many and it would be pretty obvious from a quick scan of the badges.
    – mason
    Commented Nov 26, 2014 at 21:24
  • @mason it only occurred to me that it could be related to reputation or badges when I was typing the question and I didn't remember that I could easily check that Commented Nov 27, 2014 at 1:04
  • 3
    This feature's pernicious effect on privacy is discussed on Meta.SO, Meta.SE, and (most insightfully, IMHO) Math Meta.
    – duozmo
    Commented Jan 9, 2016 at 23:06

2 Answers 2

66

You can earn badges for sharing links on external sites (sites not in the SE network).

announcer "Shared a link to a question that was visited by 25 unique IP addresses. This badge can be awarded multiple times."

booster "Shared a link to a question that was visited by 300 unique IP addresses. This badge can be awarded multiple times."

publicist "Shared a link to a question that was visited by 1000 unique IP addresses. This badge can be awarded multiple times."

The user ID is how the system knows that you're the sharer.

15
  • 4
    Hm, I wonder... (Edit: Nope, still works)
    – Izkata
    Commented Nov 25, 2014 at 22:39
  • 1
    @Izkata: Yes, you can give credit to another user, or remove the user ID altogether and give no-one the credit. Commented Nov 25, 2014 at 22:58
  • @JonathanLeffler -1 shouldn't exist ;)
    – Izkata
    Commented Nov 25, 2014 at 23:44
  • 1
    User -1 (or any negative number) doesn't exist, but that is an optional modifier (like the question title is optional) and doesn't affect the working of the basic http://stackoverflow.com/q/stuvwxyz URL. If you get the question number wrong, people go to the wrong place. The title is functionally ignored; the user ID (referrer) is optional and if wrong is ignored. Commented Nov 26, 2014 at 0:04
  • 8
    @JonathanLeffler Actually, there is a user with userId of negative 1. meta.stackoverflow.com/users/-1. But yea, there is no 0 user, or any other negative that I'm aware of.
    – CRABOLO
    Commented Nov 26, 2014 at 1:04
  • Curious! Thanks. And my previous comment should really have been prefixed @Izkata as it was primarily a response to their second comment. Commented Nov 26, 2014 at 1:14
  • @cVplZ Pff, I assumed Community would be 0 or 1. Meant to choose a nonexistent one.
    – Izkata
    Commented Nov 26, 2014 at 3:43
  • 1
    Tor relays don't count, right? That could be used to abuse the system (repeatedly create a new identity and then browse the question many different times).
    – gparyani
    Commented Nov 26, 2014 at 21:16
  • @damryfbfnetsi I don't think it's worth it to secure the link-popularity mechanism from Tor relays to protect a badge.
    – nanofarad
    Commented Nov 26, 2014 at 21:47
  • @hexafraction Wikipedia blocks all editing from Tor relays and other open proxies (even by registered users) unless they have an IP block exemption (IPBE). An IPBE is very hard to get (you must be an established user with little history of abuse, and you must have a valid reason to use an open proxy to edit (such as censorship)).
    – gparyani
    Commented Nov 26, 2014 at 21:49
  • @damryfbfnetsi There is no merit to having one (or more badges) that is worth circumventing an IP-based counter with a large number of proxies/Tor endpoints. A badge on its own isn't something like a malicious Wikipedia edit or a user registration--it doesn't actually damage site content or give any privs (that may be improperly earned).
    – nanofarad
    Commented Nov 26, 2014 at 21:52
  • 1
    @hexafraction Badges used to be totally separate from privileges, until the dupehammer was introduced. But open proxy blocking has little to do with that.
    – gparyani
    Commented Nov 26, 2014 at 21:53
  • @damryfbfnetsi The badges in question do not allow a user to instantly close questions as duplicates within a given tag. The dupehammer requires a gold badge in the tag, which is given by human-cast votes (for which it is reasonable to reverse fraud and block open proxies)
    – nanofarad
    Commented Nov 26, 2014 at 21:54
  • 4
    How to disable sharing userid?
    – Alex78191
    Commented Oct 27, 2017 at 17:02
  • I can surely say whoever comes to this question are curious about the answer
    – I'm_Pratik
    Commented Nov 7, 2019 at 9:52
-5

enter image description here

By using the ID in the shared link (Question or Answer), these badges will be awarded.

3
  • 2
    Six years ago, another user answered this question with precisely the same information. What does this answer add? Commented Apr 30, 2020 at 13:08
  • @HereticMonkey That answer is saying "Shared a link to a question that was visited by 25 unique IP addresses" .what about the link to an answer :) That's my point
    – mujuonly
    Commented Apr 30, 2020 at 13:31
  • 3
    I would say, editing the existing answer, changing "question" to "post" would be a better route than posting a new answer with a picture. Commented Apr 30, 2020 at 13:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .