Skip to Content
Platform.Ontology

Page URL (location)

Reads the current page's full address.

Gets silentlyThings a page can doPage contextWeb browsersWhen the page loadsWhile you use it

In one line

Can see the full address of the page you are on

Reads the current page's full address.

The URL (up to 1500 chars) shows what profile or page the person is looking at, which is sensitive on a social network.

What it can and can't do

What the user does: Nothing. It happens as soon as the page loads.

It can

  • See the whole address, including any search words or codes in it
  • Use bits of the address to show the right content
  • Send the address to its own server or to other companies it works with

It cannot

  • See the address of other tabs
  • Send the part after # to its server by itself; the browser keeps that part local
  • See your history of earlier pages
  • Change the address to a different site

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11None
EdgeSupported122015-07-29None
FirefoxSupported12004-11-09None
SafariSupported12003-06-23None
Safari on iPhoneSupported12007-06-29None
Chrome on AndroidSupported182012-06-27None
Samsung InternetSupported1.02013-04-27None

How a site asks for it

APIwindow.location.href
Browser compat keysapi.Location.href
How access is grantednone
What the user seesNone (no browser prompt)
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Script reads the value
  2. Value joins the fingerprint payload

Data you get

What comes back: Page URL (location)
Shape: string
How often: per page

FieldTypeUnitRangePrecision
locationstringNoneup to 1500 charsexact

Technical limits

  • Cannot read other tabs

The story

What it is

A page can read its own full web address, including tracking parts.

For you

You never see it. The address of the page you are on, including bits after the question mark, may be read and sent to others.

For makers

Analytics and ad tools read it to know which page, campaign and referrer brought you. Sometimes the address holds private info like an email or a search term.

Where you see it

TypeExampleApps
analyticsA script reads campaign tags in the address to credit the right ad.Google Analytics
adsAn ad pixel sends the page address to the ad network to match a purchase to an ad.Meta Pixel
shoppingA store reads the discount code in a link and applies it to your cart.None named
securityA phishing scanner compares the page address with known bad ones.None named
socialA share button builds a link to the current page for you to post.X, Facebook
developerA single page app reads the address to know which view to show.None named

Risks

  • Private info in links
  • Leaks to third parties

Good uses and abuse

Legitimate uses

  • Analytics

Known abuse

  • Reading viewed profiles

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits4Rough identifying entropy, when known

A real example: LinkedIn

Collector key(s): location. dataLimit 1500.

Sources

How well checked: Based on official documentation.

On this page