Frontleaf uses our
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
categoryproperty. For more information on this property, see the Ecommerce spec 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.
- The optional
nameproperty. 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
categoryabove - “Lesson” will become “Viewed Lesson Page” before it gets sent on to Frontleaf. For more information on this property, see our name docs.
- 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/456/viewboth get labeled as a
/lesson/viewaction (which you can then relabel in the UI). Contact Frontleaf support for assistance with this option.
This page was last modified: 14 Jul 2020
Questions? Problems? Need more info? Contact Segment Support for assistance!