Document
{
  "characterSet": "Required, string type, represents the character encoding of the document",
  "location": {
    "hash": "Optional, string type, represents the fragment identifier in the URL (content after #)",
    "host": "Required, string type, represents the hostname and port number of the URL",
    "hostname": "Required, string type, represents the hostname of the URL",
    "href": "Required, string type, represents the full URL address",
    "origin": "Required, string type, represents the origin of the URL (protocol + host + port)",
    "pathname": "Required, string type, represents the path part of the URL",
    "port": "Optional, string type, represents the port number of the URL",
    "protocol": "Required, string type, represents the protocol part of the URL",
    "search": "Optional, string type, represents the query parameter part of the URL"
  },
  "referrer": "Required, string type, represents the referrer URL of the current page",
  "title": "Required, string type, represents the title of the document"
}{
  "characterSet": "UTF-8",
  "location": {
    "hash": "",
    "host": "test-xq.myshopify.com",
    "hostname": "test-xq.myshopify.com",
    "href": "https://test-xq.myshopify.com/products/tomato-passata-braised-lamb-shanks-with-mash-and-salsa-verde",
    "origin": "https://test-xq.myshopify.com",
    "pathname": "/products/tomato-passata-braised-lamb-shanks-with-mash-and-salsa-verde",
    "port": "",
    "protocol": "https:",
    "search": ""
  },
  "referrer": "https://test-xq.myshopify.com/collections/other",
  "title": "TOMATO PASSATA BRAISED LAMB SHANKS - WITH MASH AND SALSA VERDE – Test-Dmap"
}Last updated
Was this helpful?