I have a .NET web application using DXA 2.2 framework. I tried to use Smart Target capability, and I have installed all the desired components (Elastic search, XO management, XO query, services extension for Deployer, Session Content Service, XO module etc.). I created a Promotion and it appears fine on the Page when I set the Triggers to be "Always trigger" in Targeting section in CMS.
However if I try to use "browser based" Trigger for this Promotion then the Promotion is not returned from the smart-target query. While trying to find the root cause, I found that AmbientDataHelper.GetTriggers(claimStore)
returns empty string for triggers. When I inspected the passed Claim Store then I saw it has some values for claims in it, still AmbientDataHelper.GetTriggers(claimStore)
is returning empty string.
During further investigation I found that all keys from the passed Claim Store looks like:
Can you please help me understand what could be the potential root cause for this and how to fix that?
case “taf:x:y:z”:
?!taf:claim:ambientdata:definedtriggertypes
claim.