Improved LR activiation.
This commit is contained in:
@@ -75,9 +75,9 @@ export function App({
|
||||
});
|
||||
useEffect(() => {
|
||||
if (currentUser.authorized && bodyshop) {
|
||||
console.log("Setting Attribute");
|
||||
client.setAttribute("imexshopid", bodyshop.imexshopid);
|
||||
if (client.getTreatmentWithConfig("LogRocket_Tracking")) {
|
||||
|
||||
if (client.getTreatment("LogRocket_Tracking") === "on") {
|
||||
console.log("LR Start");
|
||||
LogRocket.init("gvfvfw/bodyshopapp");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user