Why YSK: Trackers don’t do good for anyone except the platform, and they’re not necessary to view the content in the URL.
It’s courteous to not subject the recipient (most likely your friends and family) to this tracking. You’re already sending them to the platform, which is tracking them in other ways. But you can help reduce that tracking by removing everything after the ampersand in the URL. Here are some examples.
Twitter example
URL: https://x.com/CookieSlayers/status/1623712884902567937?s=20
The s=20
is a Twitter-specific parameter to show that the tweet was copied from the web app. s=46
is iOS, and I can’t remember what Android’s code is. This is a relatively clean link, but there are some links that’ll concatenate unique identifiers, like: https://x.com/CookieSlayers/status/1623712884902567937?s=20&t=Fn47fnSDJUD74bd9.
In this case, you’ll notice there’s also a parameter, which is a unique identifier to the person who shared it.
The only part of the URL you need is https://x.com/CookieSlayers/status/1623712884902567937
.
Instagram example:
URL: https://www.instagram.com/reel/CzP877du2EB/?igshid=MzRlODCFWFlZA==
The only part of the URL you need is https://www.instagram.com/reel/CzP877du2EB
.
TikTok example
You’ll notice TikTok’s is a lot more readable in terms of what the URL contains.
The is_from_webapp
parameter is self-explanatory, as is the sender_device
, and then there’s the identifier that’s unique to you. In this case, 7302915057791436331
.
The only part of the URL you need is https://www.tiktok.com/@inthepaintcrew/video/7301348328602717482
.
The best route1 would be to use privacy-respecting frontends, but if you don’t, simply deleting everything after the ampersand goes a long way.
1The best route would actually be to not use/reward platforms that are literally destroying humanity, but we’re not there yet, so… in the meantime, let’s just try to decrease the tracking and stop subjecting our friends and family to it as much as possible.
Tldr, anything after a ‘?’ In a url is unnecessary.
Not always, but it’s a good rule of thumb.
It’s getting worse too. Recently I’ve noticed Reddit links from friends looking like:
reddit.com/r/example/s/1234567
Which then redirects to the actual
reddit.com/r/example/post/comments/1938473
I believe Spotify and Tiktok do short tracker-filled links like that too. If you’re on android, URLCheck can wrangle those links to find the actual content without the trackers. I’ve set it to intercept all clicked links so I can modify as needed.
On web / iOS, I’m not sure
No, this applies to these specific parameters. Removing question marks and ampersands from urls will often break the pages if you don’t know what you’re doing or don’t know what the parameters are for.
On YouTube, adding “&t=37s” starts the video at 37 seconds. It is pretty useful.
That is the full extent of my coding knowledge.
I don’t know why “amp;” appeared. I didn’t write it and it is not necessary. It’s just the and symbol. Followed by t=__s
is just the HTML entity for &.
Not true on every site. Try it in your browser without the query string first before assuming that’s the case. The app I work on, for instance, uses the query string to set date/time ranges and filter data.
Though I’ve always wondered if that’s always consistently the case, and when that’s not the case is there any mostly consistent way to identify the separator symbol in the URL text strings :/
I use this installable web app for cleaning extra parameters from links - https://linkcleaner.app/
Adds a share target to Android once you install it as well, makes it easy to send links to. Open source too!
That sounds useful. Although I always fix them, I do get tired of squinting at urls looking for the &.
Anyone have an Android version of this?
I found URLCheck recently. It’s great!
It’s an installable PWA, click the … Menu in Chrome browser and choose “install”. Hope this helps!
I will add to this that UTM tracking is a little less invasive. I have gotten my boss to use UTM codes instead of full-blown tracking so we can at least capture which ads people clicked on and on which platform without capturing any personal data. As long as you pay attention to the other tags, UTM are reasonable from what I have seen in my research. Gives enough info to let the business know what is going on without letting them know who is doing it.
That said, I use ScriptSafe on Chrome and a similar one on Firefox to ban the tracking code on websites entirely (along with anything that is not 100% necessary to view the page), so even if there are codes in the URLs I open, they are never logged by the analytics services that capture it.
I suggest it to everyone. Block the scripts. It is a pain in the ass whenever you go to a new page, but you have the opportunity to see what off-domain script sources are attempting to execute and you can research the sources, then decide if you want to allow them to execute or not, and decide if you want to associate with a page before you give them much of anything. Overall, distrust google tag manager, Google Analytics, and literally anything that has “ad” in it and you get about 60% of the nasty out of the way.
Fuck cutting the snake off at the head, I for his damn balls. Seems to work too as what advertising I do see, usually while casting streams, is all over the map. I get ads for video games next to ads for hip replacements, and I smile knowing that I have ghosted them as effectively as I can without going off grid.
Not familiar with ScriptSafe—wonder if anyone here can confirm it’s necessary if you’re already using uBlock Origin. I would err on the side of “no,” but you never know.
They do different things. Ad blockers help to manage things that are being displayed, but there are still off-domain scripts that are run that you don’t know what is buried in them. Plugins on website builder services, 3rd party data harvesters, god only knows what else. I use uBlock Origin in conjunction. Google Tag Manager is not blocked by uBlock. There are sites I’ve been to that had like 30 off-domain scripts trying to load shit even with uBlock active.
Indeed, not all UTM tracking parameters are harmful. For example, you could have parameters like
?src=email&campaign=summer2023
that would denote how users engaged with the URL, without necessarily identifying them.Many platforms, however, will try to identify you and collect as much as possible.
That is how we use them.
I searched up this and am pasting it in again to get rid of the tracking:
If you want to remove parameters from urls you can use the
removeparam
filter in uBlock Origin. Documentation: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#removeparamFor example:
/?igshid=$removeparam=igshid,domain=instagram.com
For the best performance it’s recommended to make sure the parameter is included in the filter as seen above with
/?igshid
, and with the domain it originated from.Filters for the examples in OPs post:
/?igshid=$removeparam=igshid,domain=instagram.com ?is_from_webapp$removeparam=is_from_webapp,domain=tiktok.com &t=$removeparam=/^amp;/,domain=x.com
There’s also a filter that removes a lot of known params: https://github.com/DandelionSprout/adfilt/blob/master/LegitimateURLShortener.txt
Just to add, the part of the URL that goes like “/foo/bar/123/article/whatever_blah_blah” is called the “path” and the part that looks like “?foo=bar&t=12345&flavor=chocolate&priceInCents=350&etc=etc” is called the “query string”.
Lemmy does not. So, just dump these other social media scams.
Google search does it too. Hangouts used to. Not sure about Messages and other Google services.
Fuck Google AMP as well.
Even Wikipedia does it. I think it’s to see what platforms people are using it on
Keep in mind, there are many valid reasons for tracking or things that can be utilized to track or fingerprint you. I however feel there’s no transparency, there is often no basis for trust for these websites and I feel they share/sell data with reckless abandon so it is from that angle I approach issues like these from.
Oh for sure, I don’t mind it at all that Wikipedia puts a referrer in the end to indicate what platform the link is shared from. Of course that’s far cry from proper tracking and whatnot.
Apps should just strip these for us?
Firefox does exactly that, in beta at least. When you copy a URL one of the options is to copy without trackers.
does anybody bother with blocking javascript anymore, like with noscript.net on firefox?
simply use this on android: https://f-droid.org/de/packages/com.svenjacobs.app.leon/
I search up this link that helps spread to word about getting rid of trackers:
deleted by creator