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