Query Parameters
Query Parameters
The Web Integrations HTML element uses a data attribute mariana-integrations
for optional configuration settings. The integration will work without a value in the mariana-integrations
data attribute, but you can also set an initial route by setting the value to a desired path. Read more about Page Routing
There are also query parameters that can also be used to augment the user experience:
Actions
- login: when set to
true
, attempt to automatically log this user in via Single Sign-on
- logout: when set to
true
, automatically logs the user out
Configuration
- hasBreadcrumbs: when set to
false
, hide the "Back to" navigation links for the section defined in the initial route
NOTE: the following Buy Page query parameters should NOT be used without a location specified
- sections: when given Buy Page Section ID values, only display those sections
- activeProduct: when given Product ID value, open the product detail modal for that product
- activeSection: when given Section ID value, show that section, with navigation to access other sections
NOTE: the following Schedule query parameters should NOT be used without a region specified
- classroom: when given Classroom ID values, only display classes in those classrooms
- classType: when given Class Type ID values, only display classes of that class type
- instructors: when given Instructor ID values, only display classes by those instructors
- locations: when given Location ID values, only display classes in those locations (requires Region ID)
Links
As an alternative, these query params can also be used in direct links, even when the html integration for that page does not have a mariana-integrations
data attribute defined.
Embed this basic snippet:
Then, create a link where the value in the _mt
query param is the urlEncoded path. Example: