Vertical Insure
Examples

Event Liability Example

Basic Example

<html>
  <head>
    <script src="https://cdn.jsdelivr.net/npm/@vertical-insure/embedded-offer"></script>
  </head>
  <body>
    <div id="offer"></div>

    <script>
      new VerticalInsure("#offer", {
        client_id: "test_********************************",
        product_config: {
          "event-host-liability": [{
            "customer": {
                "email_address": "user@example.com",
                "first_name": "John",
                "last_name": "Doe",
                "state": "MN",
                "street": "123 street",
                "postal_code": "55432",
                "phone_number": "1111111111",
                "city": "Minneapolis"
            },
              "policy_attributes": {
                "number_of_events": 1,
                "event_type": "ART_FESTIVAL",
                "total_event_expense_budget": 10000,
                "general_liability_loss_exceeded_max_loss": false,
                "excluded_event_features": false,
                "venue_is_residential_home_rental": false,
                "overnight_stay": false,
                "renting_entire_venue_location": false,
                "late_night_event": false,
                "events": [{
                    "max_daily_attendees": 100,
                    "event_type": "ART_FESTIVAL",
                    "event_name": "Local Artist Show",
                    "event_end_date": "YYYY-MM-DD",
                    "event_start_date": "YYYY-MM-DD",
                    "event_location": {
                        "venue_name": "Stone Arch Bridge",
                        "venue_street_address": "100 Portland Ave",
                        "venue_state": "MN",
                        "venue_city": "Minneapolis",
                        "venue_zip_code": "55401",
                        "venue_country": "US"
                    }
                }]
            }
          }]
        }
      }, function(offerState) {
         console.log(offerState)
      });
    </script>
  </body>
</html>

Underwriting Questions

Given there are certain underwriting questions that your platform may not have direct answers to, such as "Has the event host had a general liability loss greater than $5,000?", you can simply not supply these questions to your product config and a form will be rendered to ask the end-user for any missing information.