When you share a YouTube video using the share button it adds “si=some_unique_code” to the URL. If you don’t remove that it shows your personal account to anyone who receives it so that they can chat directly with you. For a lot of people this is their real name.

I’ve seen it all over Lemmy so I figured I’d mention it here! You only need the stuff before the question mark in the URL to let others see the video.

This can also be turned off in your YouTube settings under the privacy section. The setting is “channel visibility for shared links”. It will still add the si code for tracking though.

  • username@piefed.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    I share everything through URLCheck on Android. You can also set it as your default browser to clean every link you click as well.

  • partofthevoice@lemmy.zip
    link
    fedilink
    English
    arrow-up
    16
    ·
    6 days ago

    It should be common practice if you commonly share links. Try removing the query string (everything after and including the question mark). See if you get to the same page. If you do, don’t use the query string.

    Query string parameters are rather often used for tracking. Look for gclid parameters after you click a google ad, for example.

    • Dymonika@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      The harder ones to bypass are Facebook and Reddit share URLs, which give zero indicator of their destination; it seems impossible as the recipient of such a URL.

      At least with bit.ly, one can add a + to the end of the URL and see data on it, including the original link (to then safely access without adding to its click counter).

      • partofthevoice@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        Yeah, there are always ways… any service could easily generate unique paths that require a server-supplied redirection to the main target. Then the server just needs to stitch up (1) where was that link generated and (2) who arrived at the redirection page. Users would have no way to determine the target link without exposing themselves to being tracked.

        A platform like Reddit can do this too, by replacing the links you put in your comments/post, so they redirect to the original link. They can even make it continue displaying the original link, while actually linking to the redirect page.

        • Dymonika@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          Right, I’ve seen Slickdeals and I think Bing eventually take that on over the years: on-mouse-hover shows the original link, temporarily, until you actually right-click and copy, at which point the evil reveals itself lol.

          Hmm… now I wonder if a browser add-on could circumvent the right-click interaction and stealth-copy the originally displayed link… lol, it’s nuts how far into the weeds of privacy our guerrilla warfare has been getting.

  • ∃∀λ@programming.dev
    link
    fedilink
    English
    arrow-up
    32
    ·
    6 days ago

    The frequency with which I’ve seen the si attribute included in youtube links has made me painfully aware of just how many people are not using the internet the same way I do; they’re experiencing the internet through a handful of mobile apps, not through a web browser on the desktop.

  • chunes@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    6 days ago

    til people don’t reflexively strip out everything after the ? unless you know exactly what it’s doing

  • The Velour Fog @lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    7 days ago

    I remember telling this to people on reddit and getting downvoted to oblivion while redditors squawked “who tf cares bro”

    • asmr@feddit.nl
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 days ago

      We set up a bot on r/asmr to reply to anyone posting a YouTube link containing the “si=” parameter, warning that it was likely a tracking ID that Google could potentially use to tie their YouTube account to their Reddit account with some degree of probability and suggesting that they delete their post and re-post without the si= parameter. Many were grateful for the warning and info but some didn’t care. We decided to disable the warning after a few weeks.

  • Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    7 days ago

    Always remove those search parameters before pasting links, even to my friends. F—k these big tech platforms, I’m not giving you any sharing data!

    • Crescent@fedinsfw.app
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      7 days ago

      Same here, the awful thing is if they click on it, they cannot see the comments under the video and can only “reply” to you. Not sure what that should do, since the link has already been shared.

  • cereals@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    31
    ·
    7 days ago

    On android, urlcheck is a great app to modify URLs before sharing or opening. For this problem, you can use the json editor, and add the following two entries with small a regex I wrote:

      "shorten Youtube": {
        "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube\\.com\/(.*)&.*",
        "replacement": [
          "https:\/\/youtube.com\/$1"
        ],
        "enabled": true
      },
      "shorten Youtu.be": {
        "regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtu\\.be\/([^?]*)?.*",
        "replacement": [
          "https:\/\/youtube.com\/watch?v=$1"
        ],
        "enabled": true
      },
    

    A button to shorten the link appears in urkcheck when the pattern matches. You can all auto shorten them by replacing “enabled”: true
    With
    “automatic”: true

    • codapine@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 days ago

      Wow. This is awesome. Thank you! I will have to see if the dev has a donate button.

      FWIW I had to noodle with the spacing of your json after copying from Lemmy (Voyager android app) but I got it to work. Thanks for sharing!

  • AlteredEgo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    21
    ·
    7 days ago

    It would be great if link cleaning and auto-mirroring was part of the lemmy UI itself.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      18
      ·
      7 days ago

      The problem is that there is an almost infinite way to design these kinds of URLs, so maintaining a database of what should be stripped out isn’t trivial.

    • locuester@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      Yeah, would be best within particular client implementations. Not core Lemmy tho. Too many ways to do this and high maintenance.

    • ExperimentalGuy@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      I think that would probably be a client implemented feature, not a Lemmy one. I also don’t design social medias, so I don’t really know.

      • AlteredEgo@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        Yeah “lemmy-ui” is the official web app for lemmy. There might be other web frontends or clients that already do this.

  • JordanZ@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    7 days ago

    Along similar lines be careful of the images you post if you location tag your photos. A lot of the larger websites will strip the location data by default but some do not. I’ve saved a handful of photos from reviews off the internet and now have people’s home addresses where the photo is of the product in their living room or whatever.

    If you go to the ‘map’ section of your photos app it arranges them by location.

    You can turn location tagging off globally when photos are taken or usually when you go to share a photo there is an option buried in a menu to strip location data(on mobile).

    • Null User Object@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 days ago

      That’s a great extra layer of protection, but people shouldn’t rely on it and get/stay in the habit of always removing the tracking code themselves.

      • Buddahriffic@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        Yeah, it’s easily possible to set it up to save the original link somewhere hidden. Same reason why you shouldn’t reuse passwords because it’s trivial to set up a site to look like it’s doing it right from the outside but actually saves all passwords in plaintext for owners, admins, or disgruntled staff to look at later and see if it logs in to your email.

  • CerebralHawks@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    7 days ago

    I just share the URL from the browser.

    Even on mobile: I don’t use the YouTube app. On Android, this is a no-brainer, since you can run Firefox and uBlock Origin and bypass all the ads. On iOS it is a bit more dicey, but still advantageous to forego the app. Currently DuckDuckGo can bypass the ads for free. If you don’t mind paying, Wipr2 can also do it, in Safari. Then you just put a web shortcut to YouTube and bam, ad-free YouTube. Shitty icon though (it’s the regular icon in a white squircle). Either way, share from the browser, not YouTube.

    Also, of course you can remove all the extra shit from the URL if you know how. That wisdom is lost on younger generations, but innate to older ones (who grew up around tech, like Millennials; or younger Gen X who adopted it at a young age — not like these iPad babies you have now).

    • XeroxCool@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 days ago

      I don’t see how it’s a generational thing. I remember when every link included the page type at the end, meaning there was nothing that could be truncated. If you don’t know what si stands for or don’t know that anything after a ? Is tracking bullshit, then you simply don’t know. It’s a “knowledgeable person” thing that can be learned at any time. I’ve pointed it out and many people I know still don’t care

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        7 days ago

        I don’t see how it’s a generational thing.

        People who grew up when smartphones were already a thing might never have needed to learn how the Internet and URLs actually work. To a lot of everyday users nowadays, the Internet is just a series of smartphone or tablet apps you switch between. I used to think that the spread of the Internet into more segments of society would create a society of computer nerds, ha ha ha ha ha nope.

        • XeroxCool@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Sample the people around you in real life. They don’t know any better, regardless of age. The group that experienced it has already largely forgotten it because the link purpose got obfuscated and the need became obsolete in everyday use

      • chuckleslord@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 days ago

        As a web developer, everything after the ? is actually parameters for the request. Anything could be in there, even important stuff (though hopefully nothing identifying, since that is extremely unsecure). You will likely break functionality if you delete everything without knowing what it is.

        • black0ut@pawb.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 days ago

          Usually parameters are easy to understand. Like the time parameter in yt URLs, which is t=180 (meaning 180 seconds from the beginning of the video). Usually, parameters that are a string of seemingly random letters are UIDs or tracking parameters. Whenever I see a URL with one or multiple of those, I start deleting them and seeing if the URL still works. In 90% of the cases, it still does. Amazon is one of the worst offenders, with usually 4 or 5 random looking parameters that can be deleted without affecting the functionality of the URL.

          • asmr@feddit.nl
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 days ago

            t= is the only useful parameter in YouTube URLs (that I know of). If not for that we could just strip all of the parameters out.

      • binux@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        7 days ago

        People can’t even unanimously agree on when each generation starts and ends (see terms like “zillenial” or “xillenial”) so I’d even go so far as to say it’s a completely redundant concept in the colloquial sense. Obviously most people care more about continuing to use the “kids these days” rhetoric so it hardly matters regardless, but it doesn’t make it any less ridiculous.

        • XeroxCool@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Blurry deliberations are typical. As time goes on, “millennial” will become more accurate as the differences between xennial and zillennial become smaller and smaller in comparison to differences between _ennial and alpha or beta or delta. I just take issue with acting like direct url interface was the experience of a generation, and not a short-lived blip for the gen pop that has already been forgotten, especially as full url purpose has shifted to something arguably evil.

          • binux@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            6 days ago

            Blurry deliberations are typical.

            Yes, though my point that I wanted to add is that people seem to treat generational terms as if they’re a fact of reality instead of a very shaky conceptualization of cultural differences between birth groups that are already influenced by a lot more factors than just when people are born. It’s much more of a spectrum than a strict range of demographics inherent to humanity.

  • asmr@feddit.nl
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 days ago

    Since 4 March 2026 I am seeing “is=” in some YouTube links instead of “si=”, also with the 16 character ID.

  • Chaunticleer@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    15
    ·
    7 days ago

    Here’s another. If the video you want to share is on youtube, it’s also on invidious. Without ads, downloadable and just generally none of youtube’s bullshit. It even uses the same video vURL address.

    • vogi@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 days ago

      tbh I would still prefer receiving the raw youtube link so everybody can redirect it to their preferred way of watching e.g. Morphee. Invidious instances can go down or stop working.

      • lyrial@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        I haven’t had a positive experience with an invidious instance in years. They are usually either down or horribly slow for me.

        • vogi@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          Me neither. Even tried to host it locally at home it the hopes that a private IP would go under googles radar, but after a month or so they blocked me as well. Same goes for LibreTube NewPipe and what not. All just fail on me after a while. The only way is to make it usable with uBlock + Unhook and Morphee Patches on Android. Its honestly not a bad experience except for the added setTimeout when Youtube notices. :)

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    You should also known that TikTok does this by default and the generated code is impossible to remove afaik, it’s part of the video identifier.

    So when sharing a tiktok video always download it and share the file.

    • irelephant [he/him]@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      I recommend downloading it anyway, since that doesn’t require people to use tiktoks site, but if you paste the vm link yourself into a browser, it’ll redirect to the canonical link, without the tracker.

  • Scrollone@feddit.it
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    7 days ago

    Additional PSA: TikTok does the same. Also Instagram, but in my experience it doesn’t reveal the sharing user (yet).