Analytics
Available Integrations
With our analytics integrations, Maxwell clients can track activity in the Borrower Hub. Our platform raises activity events which can be captured via through one of the following services:
Google Analytics (GA)
Google Tag Manager (GTM)
Adobe Experience Platform Launch (Launch)
In this document we describe the events that we track and provide basic instructions how to configure the analytics platforms that we integrate with.
Maxwell Events
Following is a list of the analytics events that Maxwell tracks. Each event describes the data associated with it.
Application Start
Application Start
Fires whenever an anonymous application is created.
Account Signup
Account Signup
Fires whenever a borrower attempts to signup in Auth0.
Account Login
Account Login
Fires whenever a borrower attempts to login in Auth0.
Task Start
Task Start
Fires whenever you click on a task for the first time. This event is always followed by a Task View
event.
Task View
Task View
Fires whenever the borrower views a task. This event will also fire whenever the borrower starts an application.
Task Complete
Task Complete
Fires whenever a task is completed.
Field Change
Field Change
Fires whenever an enumerable field changes. Works for fields that involve a discrete choice as opposed to a free-text entry. Specifically, it works for the MortgageHippo field types of BOOLEAN
, CHECKBOX
, CHOICE
, CONSTANT
, COUNTRY
, DURATION
, SELECT
, and USSTATE
.
Pricing Option Selected
Pricing Option Selected
Fires when the user selects a pricing option in the Pricing Task.
Credit Scores Displayed
Credit Scores Displayed
Fires when the borrower’s credit report is complete and the scores are displayed to the borrower.
Answer Push
Answer Push
Fires whenever a borrower adds an item to a field of type array
- this is a field that contains a list of items of the same kind, e.g. employers, dependents, assets, real estate owned, etc.
Currently this event is supported only for the Employers Task when the borrower manually adds an employer.
Google Analytics (GA) and Tag Manager (GTM)
About Google Analytics (GA)
GA allows you to track a more limited set of the event data that we provide (even if funneled via GTM). To track all event data that we provide, you can use Google Tag Manager.
GA can track only the following subset event data from the event mortgageHippoEvent
field:
This is the same as calling the sendEvent
method of the GA API:
analytics.sendEvent('category', 'action', { label: 'event label', value: 1 })
Create a new account in Google Tag Manager. When you create it, a value will appear at the top left that starts with GTM-. This is the value you need to provide us after configuring everything in Google Tag Manager.
Create a new Google Analytics account. And configure a data stream. At the end of the data stream setup, a new modal will appear with "Web stream details". There, on the right side you will see the "MEASUREMENT ID". Copy that value as we will need it later.
You can also verify this value by going to the bottom of Google Analytics, to Admin. There a new screen will appear with a section called "Data collection and modification". By clicking on "Data streams" you will be able to see that same ID.
Now, it's time to configure the variables, triggers and tags in Google Tag Manager.
Please note that this setting is for new customers only, as Google Tag Manager has changed. Old clients will maintain the same configuration, as Google took care of updating them automatically.
Create an initial tag:
Tag
Tag Type
Google Tag
Tag ID
MEASUREMENT ID (G-XXXXXXXXXX)
Triggering
Initialization - All Pages
* Please note that the Tag ID requested here is the same Measurement ID
Create the following variables:
Variable
Name
Google Analytics Measurement ID
Variable Type
Constant
Value
MEASUREMENT ID (G-XXXXXXXXXX)
Variable
Name
MortgageHippo Event Action
Type
Data Layer Variable
Data Layer Variable Name
mortgagehippoEvent.action
Variable
Name
MortgageHippo Event Category
Type
Data Layer Variable
Data Layer Variable Name
mortgagehippoEvent.category
Variable
Name
MortgageHippo Event Label
Type
Data Layer Variable
Data Layer Variable Name
mortgagehippoEvent.label
Variable
Name
MortgageHippo Event Value
Type
Data Layer Variable
Data Layer Variable Name
mortgagehippoEvent.value
Create the following Triggers:
Trigger
Name
MortgageHippo Event
Type
Custom Event
Event Name
mortgagehippo\-.+
Use regex matching
checked
This triggers fires on
All Custom Events
Trigger
Name
History Change
Type
History Change
This triggers fires on
All History Changes
Create the following Tags:
Tag
Name
MortgageHippo Page View - GA1
Type
Google Analytics: Universal Analytics (Legacy)
Track Type
PageView
Google Analytics Settings
{{Google Analytics Measurement ID}}
Triggering
All Pages, History Change
Tag
Name
MortgageHippo Page View - GA Event
Type
Google Analytics: Universal Analytics (Legacy)
Track Type
Event
Category
{{MortgageHippo Event Category}}
Action
{{MortgageHippo Event Action}}
Label
{{MortgageHippo Event Label}}
Value
{{MortgageHippo Event Value}}
Non-Interaction Hit
False
Google Analytics Settings
{{Google Analytics Measurement ID}}
Triggering
MortgageHippo Event
Adobe Experience Platform Launch (Launch)
Once you complete your Launch setup, you will need to send us your Launch Embed Code, which will look similar to this:
Last updated