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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

excel vba - VBA Proxy auto-configuration for http requests -

sql server 2008 - split ssrs expression between 2 words -