Type Definitions

offline

This represents the offline mode on your site.

Type:
  • Object
Properties:
Name Type Description
startTime Number

the time your site went offline.

page

This represents a pageview on your site.

Type:
  • Object
Properties:
Name Type Description
templateName String

the template name that was used to render the page, eg. product-details-page

location String

the value of window.location, if available.

path String

the path segment of the current URL, if available.

title String

the title of the rendered page.

performance

This represents the performance metrics on your site.

Type:
  • Object
Properties:
Name Type Description
bundle String

the bundle type eg. production, development.

page_start Number

the value of window.location, if available.

timing_start Number

time of hard navigation. https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming/navigationStart

mobify_start Number

the time when the mobify tag loaded.

app_start Number

the time to load the sandy tracking pixel.

page_paint Number

the time to start loading the page.

full_page_load Number

the time to finish loading the page.

first_paint Number

first paint. https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming

first_contentful_paint Number

first contentful paint. https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming

time_to_interactive Number

time to interactive. https://github.com/GoogleChromeLabs/tti-polyfill#usage

uiInteraction

This represents a UI interaction on your site.

Type:
  • Object
Properties:
Name Type Description
subject String

the subject responsible for triggering the UI Interaction eg. user

action String

the UI action eg. focus, change, open.

object String

the DOM element name.

name String

the name given by the attribute data-analytics-name.

content String

the DOM element value, or the content given by the attribute data-analytics-content