If you are using one of our popular legal quote calculators such as the conveyancing quote calculator on your website, you may wish to use Google Analytics for event tracking.
To set this up, firstly ensure your website is using jQuery (but most sites do) – then you can ‘hook’ into a number of our events which include:
- hoowla-iframes-init – when the quote calc has loaded in the background
- hoowla-calculate-click – when the calculate button is clicked inside the popup (successfully+not)
- hoowla-calculate-success – when the calculate button is clicked and validation passed
- hoowla-calculate-fail – when the calculate button is clicked and validation fails
So in this scenario, using the success event we can track quotes generated through Google Analytics.
jQuery(document).on('hoowla-calculate-success', function() { // do something });
inside this code, you can add the analytics tracking, which *might* be like:
__gaTracker('send', 'event', 'Quotes', 'Text') or depending on the version of Analytics you are running ga('send', 'event', 'Quotes', 'Text')
If you have any questions then feel free to contact a member of the support team and we will do our best to help.