sitecore7 - Trigger a profile in Sitecore DMS 7.5 -
i using following code in sitecore 6.5 trigger profile :
var profile = sitecore.analytics.tracker.currentvisit.getorcreateprofile("<profile name>"); profile.beginedit(); profile.score("<profile key>",<profile key value want set>); profile.score("<profile key>",<profile key value want set>); profile.updatepattern(); //sets appropriate pattern based on current profile keys values have set. profile.endedit();
now not working new dms api, have idea should use instead ?
use
sitecore.analytics.tracker.current.interaction.profiles
for purpose
Comments
Post a Comment