Adding "Internal Keywords" to Experiance Profile Sitecore 8 Analytics
2 answers
I also ran into this problem. I can read the "Internal Keywords" in the Experiance Sitecore 8 profile by adding "Search Page Event" (the standard element is "/ sitecore / system / Settings / Analytics / Page Events / Search") to my view page.
The code is "Tracker.Current.Session.Interaction.Keywords = query;"
not used in my case.
Example
string query = "Example keywords in field <Keywords>";
Guid searchPageEventGuid = Sitecore.Context.Database.GetItem("{0C179613-2073-41AB-992E-027D03D523BF}").ID.Guid;
Guid view4Guid = Sitecore.Context.Database.GetItem("{D0D0E48C-7DE0-4C95-A994-F5ED00DC9820}").ID.Guid;
var page = Tracker.Current.Interaction.CurrentPage;
page.Register(new PageEventData("My search page event data", searchPageEventGuid)
{
ItemId = view4Guid,
Data = query,
DataKey = query,
Text = query,
});
"view4Guid" is my custom view page
Result:
-
The search page event is called after visiting the view page - "view4"
-
Internal keywords are associated with the keywords tab
+4
source to share