Questions tagged [contact]

Any question related to Sitecore user contact either identified or unidentified should fall into this tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Calling Sitecore.Analytics.Tracker.Current.Session.Identify gets stuck in an infinite loop for one costumer

We are on Sitecore 8.2. When calling Sitecore.Analytics.Tracker.Current.Session.Identify(), the mongo db call gets stuck in an infinite loop for only one costumer. It looks like the ...
Barry Hill's user avatar
0 votes
1 answer
114 views

contact added manually not appeared in contact list in list manager sitecore 10.2

when adding contact manually in list manager in sitecore 10.2 not show the contacts , i tried rebuild all indexes and the same result
Sara Elgendy's user avatar
1 vote
1 answer
63 views

Make Sitecore contact as inactive when exm bounce contact email

I have one EXM which I am sending to multiple contacts available in xDB. When email bounce for contact (reach to Undelivered Max count) I want to mark that contact as inactive using custom facets but ...
Swati Gupta's user avatar
  • 2,810
0 votes
1 answer
125 views

How to implementing keyword search with xconnect contact facet search?

I am using Sitecore 10 and trying to implement keyword search with xConnect contact. I want to search for contacts that have email or phone number that contains the inputted keyword. Below is my ...
truongdsbui's user avatar
2 votes
1 answer
88 views

How to mock XConnect contact

I'm writing unit tests and using Moq as a mocking tool. In a previous question I was advised to use IXdbContext to mock the XConnect client, which works just fine. However, I run into problems if I ...
TheHvidsten's user avatar
1 vote
2 answers
165 views

Impacts of enabling the indexing of anonymous contacts in the xDB index?

We're looking on enabling the indexing of the anonymous contacts in the xdb index, but the https://doc.sitecore.com/en/developers/91/sitecore-experience-platform/enable-indexing-of-anonymous-contacts-...
Bruno Marques's user avatar
2 votes
2 answers
611 views

Can we get all contacts data from xdb through code?

We would like to fetch all contacts data from xdb through code in SXA Sitecore 9.1.1. Could someone assist for this ?
Ashu's user avatar
  • 402
1 vote
1 answer
155 views

Sitecore.XConnect.Contact vs Sitecore.Analytics.Tracking.Contact

I am upgrading code from Sitecore 8.2 to Sitecore 9.3. In Sitecore 8.2 we have a code snippet:- public Contact GetCurrentContact() { if (Tracker.IsActive && Tracker.Current != null ...
Jagrati Katariya's user avatar
2 votes
1 answer
155 views

Send email to contact before deleting the contact

We are adding Contact and sending email in Sitecore 9.1.1. We dont want to show that contact in Experience profile so we are deleting that contact on same method after sending email. However, log file ...
Ashu's user avatar
  • 402
0 votes
1 answer
176 views

Error occured while synchronizing xconnect contacts to salesforce

I am using Sitecore XP 9.3 to synchronize contacts data from Sitecore to salesforce and vice versa. For this, I installed the Sitecore Data Exchange framework 4.0 package and Sitecore connect for ...
Gokilavani R's user avatar
0 votes
0 answers
54 views

How to get all Segmented lists for a contact

Anyone have a smart way to get all the Segmented lists for a given contact? I have 40 Segmented lists and I need to display a list of all to whom a contact is assigned at a given moment in the user ...
Jan Nowak's user avatar
  • 311
3 votes
1 answer
117 views

LeaseOwner and LockAttempt does it work in Sitecore 9.3 Analytics

I am working on Sitecore Analytics Contact code Upgrade from Sitecore 8.2 to 9.3 After upgrading latest dlls and adding XConnect assemblies, I am getting issue in some scenario LockAttemptResult is ...
Jagrati Katariya's user avatar
1 vote
2 answers
85 views

What's the best way to get the current Contact's location?

I'm trying to get the current Contact's location info for personalization purposes. I've seen that GEO IP is not a good way, and the only other place I see is in ExperienceForms database where we ...
Bill Thomas's user avatar
0 votes
0 answers
80 views

New Interaction doesn't show after 2nd: using IdentifyAs

I am developing a function to support tracking user behavior through a mobile app. Below is the current scenario: Case 1: Anonymous User 1 - Working fine: Anonymous user visits the page, then these ...
Cuong Nguyen's user avatar
0 votes
0 answers
84 views

How to delete an email address from all contact lists programmatically?

I am trying to delete a user's email address from all Lists in List Manager, which the user might be subscribed to in Sitecore 8.1. Is there a particular API available to do this?
Durga Bose's user avatar
0 votes
1 answer
306 views

Retrieve Sitecore Contacts based on current contact ID

We are having a requirement to capture details and update it to custom facet. Whenever there's an identifier (in my case it is,email address from session) it works as expected. I'm able to see the ...
karthik's user avatar
  • 71
1 vote
2 answers
273 views

Postcondition 'this.Interaction should not be null' exception while identifying a Contact

Sitecore 9.3 I have an API endpoint and is being used to identify the contact. When it is being called through Sitecore application, it is working absolutely fine but it's failing with below ...
Arvind Gehlot's user avatar
1 vote
1 answer
201 views

How to programmatically trigger a goal to contact and then retrieve it in the same visit and in later visits

I want to trigger a goal programmatically to the website visitor/contact and retrieve this triggered goal during the contact's current visit and in his future visits. I could trigger the goal of using ...
Ashish Khare's user avatar
0 votes
1 answer
84 views

Reloading contact into session fails

The solution is based on Sitecore 9.0.2 and two machines: CM and CD. I'm doing some changes to the contact profile and I want to reload it to the session as described here: https://doc.sitecore.com/...
Piotr Zaborowski's user avatar