LogRocket¶
Summary¶
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster.
Tracking script that allows you to track 1,000 sessions per month. Session tracking includes key information for identifying and resolving bugs:
- Session replay
- Network activity
- Console and errors
Motivation for adding:¶
- Quickly understand and fix JavaScript errors
- Support users without back-and-forth
- Free for up to 1,000
- Can be disabled by default and enabled for client testing or tricky customer bugs
- Learn where users are getting stuck (ex. Identifies "Rage Clicks" from users)
Installation¶
- Create a
logrocket-library
JavaScript Resource- Type:
External File
- File Path:
https://cdn.lr-ingest.io/LogRocket.min.js
- Add Attribute:
crossorigin="anonymous"
- Type:
- Create a
logrocket-init
JavaScript Resource- Type:
Inline Script
- Source:
optional-extensions/logrocket/logrocket-init.mvt
- Type:
- Optionally, change the
init()
parameter frommiva/genesis
to the customer's LogRocket account. - Optionally, change the
identify()
parameter to work better for the customer - Optionally, add
data-private
to additional non-default DOM elements that should not be recorded.- Note: This has already been done for OPAY, CPCA, & CPCE
- Assign both JS Resources to the
head_tag
Resource Group