Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Pixel Apps
LogRocket
Official extension
Version: 1.0.1
Latest version: 1.0.1

VTEX LogRocket first-party app

How to install

Open a terminal and type:


_10
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:


_10
// LogRocket
_10
(function() {
_10
var accountId = 'YOURACCOUNTID';
_10
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);
_10
})();

Click Save.

See also
VTEX App Store
VTEX IO Apps