Documentation
Feedback
Guides

Pixel Apps
LogRocket

How to install

Open a terminal and type:

vtex install vtex.logrocket@1.x

Open your admin in the Apps section:

https://YOURSTORENAME.myvtex.com/admin/apps/vtex.logrocket@1.0.0/setup

Fill in your LogRocket's Account ID and click save.

Setup in Cart and Checkout page

This step will not be needed in a couple of months!

Open your admin in the Checkout section in the checkout6-custom.js:

https://ACCOUNT.myvtexdev.com/admin/portal/#/sites/default/code/files/checkout6-custom.js

Add the following snippet in the file:

// LogRocket (function() { var accountId = 'YOURACCOUNTID'; var b=document.createElement("script");b.onload=function(){window.LogRocket && window.LogRocket.init(accountId);};b.type="text/javascript";b.crossOrigin="anonymous";b.src="https://cdn.lr-ingest.io/LogRocket.min.js";a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a); })();

Click Save.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page