Smartlook
Web
Getting startedIdentify visitorGDPRSensitive data protectionCustom eventsCustom event propertiesCustom click propertiesCustom navigation eventRecording APIError logging
SDK Installation
SDK Conceptual
SDK API reference
SDK Cookbooks
SDK Integrations
REST API (beta)

Custom navigation event

Log your own specific navigation event.

Custom navigation event allows for easy tracking of navigation event that happens without actual URL in address bar changing.

Using this API when the url in address bar is changing can result in unwanted URLs duplication in recordings

Code you need to insert in your site has a following format in JavaScript.

<script>
smartlook('navigation', url);
</script>

The url parameter can be either:

  • full location (URL) of the page
  • path portion of a URL that should start with a slash (/) character