This is currently in beta. If you are interested in joining, let us know!

Getting Started

Browser Tracking

If you’re using our client-side javascript library (Analytics.js), we will begin loading Frontleaf on your page through your Segment snippet within minutes after you enable it on your project destinations page.

Frontleaf uses our page, identify, track, and group methods.

Page

For Frontleaf to work effectively with Segment page calls, you will need to specify the type of interaction that each call represents.

Frontleaf supports three options for categorizing page calls by interaction type:

  • The optional category property. For more information on this property, see our category docs. In the following example, “Product” is the category and “Shoe” is the page name. Segment will transform this category to “Viewed Product Page” before sending it to Frontleaf.
analytics.page('Product', 'Shoe');
  • The optional name property. To get the maximium value out of using the name property, Frontleaf recommends that the name value maps to a type of interaction rather than a specific page, e.g. “Lesson” rather than “Lesson on Operating the Acme XT-1000”. Segment will transform the name you pass in the same way it does for category above - “Lesson” will become “Viewed Lesson Page” before it gets sent on to Frontleaf. For more information on this property, see our name docs.
analytics.page('Lesson');
  • A custom URL filter (configured for you by Frontleaf) that interprets part of the page path (and/or query parameters) as the interaction type. This option can work well for “object-verb” types of URL schemes, e.g. /lesson/123/view and /lesson/456/view both get labeled as a /lesson/view action (which you can then relabel in the UI). Contact Frontleaf support for assistance with this option.

If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!