this post was submitted on 04 Feb 2025
19 points (88.0% liked)

Programming

18042 readers
108 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

Please accept this in the ethos of no stupid questions.

The only programming I do is to defy tracking by deleting hash lines after ? In the url.

Some popular sites I am embarrassed to admit to even viewing have found a way around this by offering me share links without the ?.

It’s Instagram I am ashamed to mention.

What do I do to get rid of the tracking now?

top 6 comments
sorted by: hot top controversial new old
[–] Kissaki 3 points 24 minutes ago

Don't use the share with shortened url. Copy the page url instead.

Otherwise (you'll have to) accept that you don't know what's included in the shortened link.

[–] [email protected] 2 points 1 hour ago

Chances are they are doing something similar to URL shortening where a reference to the destination and the tracking info is either hashed into the URL directly or stored elsewhere behind whatever ID is in the URL.

Unshortening tools can fetch the actual URL (with any tracking params) in a private context.

I have no idea if anything exists on iOS, but on Android there are tools like URL Check which replace your default browser and let you un-short or otherwise manipulate URLs before opening in a browser or sharing.

[–] [email protected] 18 points 3 hours ago* (last edited 3 hours ago)

What do I do to get rid of the tracking now?

You stop using these services.

I'm a programmer, and if they generate page URLs that are unique to you with your tracking baked in, do not allow you to view the page non-logged in, then there's no way to get rid of it, short of hacking their servers/databases.

If you can view it without an account, then you just browse without an account, without using a browser that has a unique fingerprint. So basically use something like the Tor one. Unfortunately for Instagram, I think both is not possible.

Of course it might be like the other comment says, it's only the special share URL that is like this, and the one you browse around normally isn't. Then you just use that one.

[–] xtools 19 points 5 hours ago

it's similar with amazon/booking - if you use their share button, you get a neater shortened url but tracking is baked in. but you can still just copy the url from the browser search bar instead (which, acknowledged, might particularly not work well for IG)

[–] dallen 0 points 1 hour ago

Removing referral info from URL parameters does very little to defeat tracking. Facebook, and others, can track most of your browsing history with cookies alone.

If you’re literally signed into a Facebook account and using their services then you can’t realistically avoid tracking….

[–] [email protected] 4 points 5 hours ago

You should be able to visit the post via a web browser that’s not signed in and get a direct URL. Also just don’t link to IG when possible (I know you probably have your reasons but throwing that out there).