[LEBV-39] Add Google Analytics support
🎯 Summary
Add Google Analytics support. Check in the original ticket the supported events and virtual page views.
🧪 How to test
- Install this plugin in your browser: https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna and enable it. This extension prints in the DevTools console the data sent to Google Analytics.
Whit the extension configured, you can trigger all the described situations in the ticket, and you should see in the Console the corresponding event/virtual pageview.
🧠 Considerations
IMPORTANT: This feature will not work if you have any extension which blocks Google Analytics.
🧐 Checklist
- Changes work in Google Chrome
- Changes work in Safari
- UI is responsive