diff --git a/client/src/App/App.jsx b/client/src/App/App.jsx index 2d183c595..618366db4 100644 --- a/client/src/App/App.jsx +++ b/client/src/App/App.jsx @@ -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"); }