Overrides the page URL, which by default is the browser’s current URL. The URL is used to determine page settings. You should only use this in rare cases, since Elevio automatically detects browser URL changes.

Example

window._elev.setPage('https://example.com');

Signature

window._elev.setPage(url);

url (required)

The URL string. Note that this doesn’t have to be a valid URL; the string is simply pattern matched against the URL strings in page settings.


Notes

Note this is just a helper for:

window._elev.setSettings({ page_url: 'https://example.com' });

See also

  • setSettings
  • setKeywords