Dev Request: Dev Request - Quote Submitted

Status: Complete
Last updated: November 08, 2022 4:07 PM MST
Originally delivered at: October 28, 2021 6:00 PM MDT

Instructions

Intro

When the Google Tag Manager library loads it declares a global JS object, dataLayer. It overloads the array prototype .push method so that it can grab on to objects/"events" pushed to that array.

Notes/Questions

  • What values are possible there for customer.status?
  • Populate customer.hubspot_canonical_vid, customer.auth0_id, chargebee_id if available. If not available, keep the key and use value javascript null.

Data Layer Event: quote_submitted

Triggering Conditions

A pageview of sales.pdq.com/quote-download/ following clicking the "Generate my quote" button on sales.pdq.com/quote:

PDQ Quote Submitted 1

Followed by viewing:

PDQ Quote Submitted 2

Event should fire after sequentially after route load of /quote-download* if possible.

Event to Log

<script>
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    'event': 'quote_submitted',
    'data': {}
  });
</script>

Description of Data Fields

quote_submitted

Validation Schema does not have properties

JSON Validation Schema

For Super Techies:

The event payload, everything under the data property, will be validated against this schema. For more see JSONSchema standard.

{
  "TBD": "TBD"
}