How do I block this?
||*.logrocket.network^
||*.logrocket.io^
||*.lr-ingest.io^
||*.logicanalytics.io^
in uBlock/ABP filtering rules would be a good start. Not sure what logicanalytics is exactly, but it's used on logrocket's main page.
Using NoScript like the other commenter said is safer though (this won't catch on-premises deployments of logrocket and it will stop blocking it when they change the domain).