Skip to content

Commit 8feb35c

Browse files
committed
Send logged in user token for click and conversion
1 parent 18a8021 commit 8feb35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Observer/Insights/CustomerLogin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function execute(Observer $observer)
3131
/** @var Customer $customer */
3232
$customer = $observer->getEvent()->getCustomer();
3333

34-
if ($this->insightsHelper->getPersonalizationHelper()->isPersoEnabled($customer->getStoreId())) {
34+
if ($this->insightsHelper->getConfigHelper()->isClickConversionAnalyticsEnabled($customer->getStoreId()) || $this->insightsHelper->getPersonalizationHelper()->isPersoEnabled($customer->getStoreId())) {
3535
$this->insightsHelper->setUserToken($customer);
3636
}
3737
}

0 commit comments

Comments
 (0)