4
votes
How can I get Search Contacts via XConnect API?
In general, you can look at the examples in the documentation for searching contacts by an interaction facet:
https://doc.sitecore.net/developers/xp/xconnect//xconnect-client-api/search/contacts/...
4
votes
Accepted
How to get PageViewEvents from Interaction
You should get a contact with expanded interactions which will contain page events.
private async Task<IReadOnlyCollection<PageViewEvent>> GetAllPageEvents(Guid contactId)
{
...
3
votes
Accepted
URL for page view interaction is giving me {{SiteName}} instead of website in Sitecore 9.0.1
I have found answer.
You need to add Webvisit into your interaction and specify SiteName there :)
// Create a new web visit facet model
var webVisitFacet = new WebVisit();
// Populate data about ...
3
votes
Accepted
Assign Goals & Events to XDB contact on Submit of Contact-US Form in SItecore 9.1
from your code getContact != null, if this condition is false, then you are creating new contact which is incorrect.
Contact contact = new Sitecore.XConnect.Contact(new ContactIdentifier(...
2
votes
Why I can't create historical Interactions (with a date in the past) And I can't add new facets to already existing interactions
Updating interaction facets is definitely something that has been discussed but at the current time it is a product decision to keep these consistent. If you wish to 'change' the value of an ...
2
votes
How to reset personalization for a component after certain number of session or visits?
You can try using the rule where the visit no. compares to number.
Here you can set the number of visits for which the component will be visible for the user.
1
vote
Tracker.Current.Session.Interaction.IP is returning the IP of my site (localhost) rather than the client IP
So you're accessing your own local instance of Sitecore from the same machine where the instance is deployed. That's why you're getting 127.0.0.1 as the IP, cause it's your local IP.
If you want to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
interaction × 9xconnect × 6
xdb × 3
contact-facets × 2
goals × 2
personalization × 1
experience-profile × 1
mongodb × 1
events × 1
tracking × 1
segmented-list × 1
outcomes × 1