Below are Stora’s official set of GTM data layer events, which will automatically trigger for those using Google Tag Manager alongside Stora.
Storefront Forms
Each storefront form has its own submission success event, with relevant variables dynamically filled. Below is a list of these events, including when they're triggered and the data they're associated with.
Booking Complete
After successfully submitting the booking form and completing the Stripe checkout, the customer will be directed to the following page.
The StoraBookingComplete event will then be fired.
{
event: 'StoraBookingComplete',
customer_id: 1,
email: "jo@email.com",
phone: "+447590445956",
booking_id: 200,
billing_period: 'monthly',
unit_type_id: 1,
unit_type_name: "20 sqft",
unit_type_price: "50.00",
protection_coverage_id: 1,
protection_coverage: "4000.00",
protection_coverage_price: "8.00"
}
Register Interest Complete
If “register interest” is turned on for any unit, the customer will be presented with a different form from the usual booking form (shown below).
When this form is successfully submitted the customer will land on following page.
The StoraRegisteredInterestComplete event will then be fired.
{
event: 'StoraRegisteredInterestComplete',
register_interest_id: 1,
customer_id: 1,
email: "jo@email.com",
phone: "+447590445956",
unit_type_id: 1,
unit_type_name: "20 sqft",
}
Price Interest Form
If “Hide Prices” is turned on for a particular site, their will be a dedicated form to capture customer details before revealing the prices.
On successful submission of this form, the customer will be redirected to the main site page, with all pages revealed.
The StoraPriceInterestComplete event will then be fired.
{
event: 'StoraPriceInterestComplete',
price_interest_id: 1,
customer_id: 1,
email: "jo@email.com",
phone: "+447590445956",
unit_type_id: 1,
unit_type_name: "20 sqft",
}
Popup Form Submissions
If the popup feature is enabled on Storefront the customer will see a form similar to below.
On successful submission, the StoraPopupSubmissionComplete event will be fired.
{
event: 'StoraPopupSubmissionComplete',
pop_up_submission_id: 1,
pop_up_id: 10,
customer_id: 1,
email: "jo@email.com",
phone: "+447590445956" // if applicable
}
Pre-open Mode Form Submission
If pre-open mode is enabled for storefront, the customer will see the following form on the homepage.
When it has been successfully submitted the StoraPreOpenSubmissionComplete event will fire
{
event: 'StoraPreOpenSubmissionComplete',
customer_id: 1,
email: "jo@email.com",
}
Request a Quotation form submission
If “Request a Quote” is turned on for a particular site, there will be a dedicated form to capture customer details.
{
event: 'StoraQuotationRequestComplete',
quotation_request_id: 1,
customer_id: 1,
email: "jo@email.com",
phone: "+447590445956",
unit_type_id: 1,
unit_type_name: "20 sqft",
}