---
agentTools:
  projectIndex: https://docs.aventusplatform.com/llms.txt
---

# Web App Events

Aventus' Customer (Symphony) and B2B (Opus) Portal's are currently delivered as [Single-Page Applications (SPAs)](https://en.wikipedia.org/wiki/Single-page_application) which makes tracking some actions/events difficult. To support better tracking, both portal's have native integration with [Google Tag Manager](https://marketingplatform.google.com/intl/en_uk/about/tag-manager/). This page documents additional events supported to allow for tagging and tracking capabilities to be enhanced.

# Event Wrapper

All events are wrapped with the following payload

```json
{
	"app": "symphony", // or "opus"
	"appVersion": "1.0.0", // string representation of build verison
	"event": "aventus.eventname", // string event name (all prefixed with aventus.)
	// ... Event payload
}
```

# Policy Events

## `aventus.policy.bind`

When the quote has been bound as a policy (purchased)

```json
{
  "app": "symphony",
  "appVersion": "1.0.0", 
  "event": "aventus.policy.bind",
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerReference": "example-reference-1", // optional
  "policyId": "00000000-0000-0000-0000-000000000000",
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productCoverReference": "comprehensive"
  "policyGross": 120.34 // Value of policy
  //...
}
```

***

## `aventus.policy.view`

When the summary screen of a policy has been viewed

*NB: This currently only triggers immediately after the purchase of a policy*

```json
{
  "app": "symphony",
  "appVersion": "1.0.0", 
  "event": "aventus.policy.bind",
  "policyId": "00000000-0000-0000-0000-000000000000",
  "productCoverReference": "comprehensive"
  //...
}
```

***

# Quote Events

## `aventus.quickquote.start`

Start quickquote journey

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quickquote.start",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.additionalQuestionsStarted`

Additional question set started

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.aditionalQuestionsStarted",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.additionalQuestionsAnswered`

Additional question set completed (answered)

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.additionalQuestionsAnswered",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.confirm`

Quote is confirmed

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.confirm",
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.converted`

User tries to load a converted quote

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.converted",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.customise`

Land on customisation screen of quote flow

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.customise",
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.decline`

A quote is declined after completing the quote questions (on the customisation screen)

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.decline",
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.expired`

User tries to load an expired quote

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.expired",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.questionSetPage`

A new question set page is loaded

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.questionSetPage",
  "pageTitle": "About you", // Full string of page title,
  "pageNumber": 2, // Page number in sequence
  "pageHash": "about-you", // 'slugified' pageTitle used in url eg #about-you
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.riskUpdated`

When a risk value is updated

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.riskUpdated",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "riskPath": "proposer.name", // full risk path (json notation)
  "oldValue": null, // Could be any type - or null when no value previously
	"newValue": true // Could be any type
  //...
}
```

***

## `aventus.quote.saved`

Quote save button is pressed

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.start",
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.start`

Starting quote journey

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.start",
  "quoteId": "00000000-0000-0000-0000-000000000000", // optional
  "partnerId": "00000000-0000-0000-0000-000000000000", // optional
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

## `aventus.quote.view`

User views a confirmed quote

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.quote.start",
  "quoteId": "00000000-0000-0000-0000-000000000000",
  "productReference": "avt_pr_product_reference",
  "productCoverReference": "comprehensive"
  //...
}
```

***

# Misc Events

## `aventus.screenview`

*Fires each time a unique screen view is loaded, sequential screen loads of the same screen do not fire additional screenviews.*

This event has a single additional property, `view`, which is the label of the screen shown. The screens used are detailed below.

**Example Payload**

```json
{
  "app": "symphony",
  "appVersion": "1.0.0",
  "event": "aventus.screenview",
  "view": "Checkout", // String name of the view being viewed/loaded
  //...
}
```

**Screens**

[block:parameters]
{
  "data": {
    "h-0": "Screen Name",
    "h-1": "Description",
    "0-0": "Checkout",
    "0-1": "Main checkout screens",
    "1-0": "IntelligentQuickQuote",
    "2-0": "IntelligentQuoteAsk",
    "3-0": "IntelligentQuoteDecline",
    "4-0": "IntelligentQuoteExpiredOrConverted",
    "5-0": "IntelligentQuoteSummary",
    "6-0": "ProductOverview",
    "7-0": "PolicyCancelAgentRequired",
    "8-0": "VriMissingData",
    "9-0": "VriSummary",
    "10-0": "sign-in",
    "11-0": "sign-up",
    "1-1": "QuickQuote summary screen",
    "2-1": "Quote question screen",
    "3-1": "Quote declined screen",
    "4-1": "Quote expired or converted screen",
    "5-1": "Quote Summary screen",
    "6-1": "Overview of product, before quote screens",
    "7-1": "Policy cancel screen when agent cancellation is required",
    "8-1": "VRI Flow missing data screen",
    "9-1": "VRI Flow summary/overview screen",
    "10-1": "Sign in screen",
    "11-1": "Sign up screen"
  },
  "cols": 2,
  "rows": 12
}
[/block]