Magento 2.3 : EE - Segments for visitor only return empty The Next CEO of Stack OverflowMagento 2.3 - “The value of Admin scope can't be empty” error when adding new product attributeRedis vs Memcached for Magento 2.3?Magento 2.3 add Product scriptconfigure Magento 2.3 with Will-Call only shipping methodMagento 2.3 Readiness Check FailingMagento 2.2 x or 2.3 - to bundle or not to bundleHow to disable frontend for CMS/API-only, headless Magento 2.3Magento 2.3: Write unit test for ObserverMagento 2.3 Data Transfer ImportMagento 2.3 : Category attribute disabled when changing the store?

Anatomically Correct Strange Women In Ponds Distributing Swords

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

Science fiction (dystopian) short story set after WWIII

Why is there a PLL in CPU?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

How to start emacs in "nothing" mode (`fundamental-mode`)

Is it safe to use c_str() on a temporary string?

Is it okay to store user locations?

Are there languages with no euphemisms?

Why do professional authors make "consistency" mistakes? And how to avoid them?

How to Reset Passwords on Multiple Websites Easily?

Opposite of a diet

Return the Closest Prime Number

Implement the Thanos sorting algorithm

Increase performance creating Mandelbrot set in python

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

How do scammers retract money, while you can’t?

Term for the "extreme-extension" version of a straw man fallacy?

Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?

Unreliable Magic - Is it worth it?

How long to clear the 'suck zone' of a turbofan after start is initiated?

What does "Its cash flow is deeply negative" mean?



Magento 2.3 : EE - Segments for visitor only return empty



The Next CEO of Stack OverflowMagento 2.3 - “The value of Admin scope can't be empty” error when adding new product attributeRedis vs Memcached for Magento 2.3?Magento 2.3 add Product scriptconfigure Magento 2.3 with Will-Call only shipping methodMagento 2.3 Readiness Check FailingMagento 2.2 x or 2.3 - to bundle or not to bundleHow to disable frontend for CMS/API-only, headless Magento 2.3Magento 2.3: Write unit test for ObserverMagento 2.3 Data Transfer ImportMagento 2.3 : Category attribute disabled when changing the store?










0















In Magento 2.3 EE, we have few segments which is applicable for both visitors and registered customers also but it is not returning segment id for guest user i.e., visitors




NOTE : It was working well and fine in M2.1x




See the below code to get more info about it



MagentoCustomerSegmentModelCustomer $customerSegment,


in execute()



$this->customerSegment->getCurrentCustomerSegmentIds();


Any help would be appreciated.



Thanks










share|improve this question






















  • I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

    – Philipp Sander
    yesterday











  • What else you need apart from this, it was returning the segment id for guest user in M2.1 X

    – Prathap Gunasekaran
    yesterday












  • I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

    – Philipp Sander
    yesterday











  • @PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

    – Prathap Gunasekaran
    yesterday















0















In Magento 2.3 EE, we have few segments which is applicable for both visitors and registered customers also but it is not returning segment id for guest user i.e., visitors




NOTE : It was working well and fine in M2.1x




See the below code to get more info about it



MagentoCustomerSegmentModelCustomer $customerSegment,


in execute()



$this->customerSegment->getCurrentCustomerSegmentIds();


Any help would be appreciated.



Thanks










share|improve this question






















  • I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

    – Philipp Sander
    yesterday











  • What else you need apart from this, it was returning the segment id for guest user in M2.1 X

    – Prathap Gunasekaran
    yesterday












  • I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

    – Philipp Sander
    yesterday











  • @PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

    – Prathap Gunasekaran
    yesterday













0












0








0








In Magento 2.3 EE, we have few segments which is applicable for both visitors and registered customers also but it is not returning segment id for guest user i.e., visitors




NOTE : It was working well and fine in M2.1x




See the below code to get more info about it



MagentoCustomerSegmentModelCustomer $customerSegment,


in execute()



$this->customerSegment->getCurrentCustomerSegmentIds();


Any help would be appreciated.



Thanks










share|improve this question














In Magento 2.3 EE, we have few segments which is applicable for both visitors and registered customers also but it is not returning segment id for guest user i.e., visitors




NOTE : It was working well and fine in M2.1x




See the below code to get more info about it



MagentoCustomerSegmentModelCustomer $customerSegment,


in execute()



$this->customerSegment->getCurrentCustomerSegmentIds();


Any help would be appreciated.



Thanks







magento2.3 magento2-enterprise magento-2-commerce






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Prathap GunasekaranPrathap Gunasekaran

1,5111617




1,5111617












  • I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

    – Philipp Sander
    yesterday











  • What else you need apart from this, it was returning the segment id for guest user in M2.1 X

    – Prathap Gunasekaran
    yesterday












  • I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

    – Philipp Sander
    yesterday











  • @PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

    – Prathap Gunasekaran
    yesterday

















  • I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

    – Philipp Sander
    yesterday











  • What else you need apart from this, it was returning the segment id for guest user in M2.1 X

    – Prathap Gunasekaran
    yesterday












  • I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

    – Philipp Sander
    yesterday











  • @PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

    – Prathap Gunasekaran
    yesterday
















I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

– Philipp Sander
yesterday





I'd take a look at the SQL that's used. It's hard to help you with the information oyu provided

– Philipp Sander
yesterday













What else you need apart from this, it was returning the segment id for guest user in M2.1 X

– Prathap Gunasekaran
yesterday






What else you need apart from this, it was returning the segment id for guest user in M2.1 X

– Prathap Gunasekaran
yesterday














I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

– Philipp Sander
yesterday





I'm sorry I can't provide you a magic fix for this. you will hvae to debugg it and see what's causing the issue

– Philipp Sander
yesterday













@PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

– Prathap Gunasekaran
yesterday





@PhilippSander Magento 2.3 have changed to init to set segments for customer session. so if you know that the thing is been changed in M2.3 let me know the information about it. so I could work on it

– Prathap Gunasekaran
yesterday










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267601%2fmagento-2-3-ee-segments-for-visitor-only-return-empty%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267601%2fmagento-2-3-ee-segments-for-visitor-only-return-empty%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Sum ergo cogito? 1 nng

419 nièngy_Soadمي 19bal1.5o_g

Queiggey Chernihivv 9NnOo i Zw X QqKk LpB