Multiple contacts being created for a single visitor

Brenden Kehren asked on April 10, 2026 16:07

We're running a v13.0.198 .NET core 8.0 site hosted in Azure App Service. We have been attempting to optimize the site for performance as we found activity tracking was very taxing with the number of visitors we were getting. One thing we noticed is when a user visits the site, they get assigned a new Contact GUID, however, whenever they visit a new page, another Contact GUID is created and assigned to the user.

This is creating 10k+ new contacts per day. So we turned activity tracking off for the time being until we can resolve the issue. At one point the site was crashing every few days because of the number of activities being written at the same time as new contacts being created.

What would cause a single user who visits the site for the first time or has visited the site several times in the last month to have a new contact created for them on every single page load?

Recent Answers


Juraj Ondrus answered on April 11, 2026 05:17

Are you able to reproduce the issue? Contacts are tracked based on the cookie - isn't it possible that there is some cookie customization? What is the default cookie level? Do the visitors have to agree with the tracking, is there any consent agreement? Then I would also check the environment - load balancers and other tools used which could modify the requests.
What changes were done? Not only in Kentico but also in the environment.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 13, 2026 21:52

The issue happens consistently, every day, all day. As I dig through the .NET core code I'm not seeing any customizations to the "CurrentContact" cookie or changing the site cookie settings. The System > Cookie setting is currently set to All. We add and modify a few other custom cookies, but no system cookies.

We do have a cookie consent setup exactly how it's described in the docs. As far as I'm aware, the Azure Web app settings are as any other site we've set up. It does have Azure Front Door in front of it as we're blocking specific countries' access. There is only one web server (no web farm setup).

The site does have a lot of Google Tag Manager tags and triggers that load with it. We've went through some extensive investigation and found them to be less of an issue than initially determined.

When we hook Application Insights up to the web app, we're seeing a POST to /Kentico.Activities/KenticoActivityLogger/Log generates over 8000+ different operations. Many appear to be recursive in nature.

Just at a loss of where to dig into further and find possible solutions.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on April 14, 2026 09:56

If this is happening for this one project only, there must be some difference. If possible, I would test it locally - to see whether it creates contacts. If yes, then the issue will be in the project - in admin or in the front end code. If not, there will be something in the environment. I have checked the history. Really loooong time back and in the past there was one similar issue where they were using some load balancer setup which somehow modified the requests which interfered with the contact cookie creation - so each request looked like new visitor to Kentico.
Is the contact cookie created in your browser when testing?

0 votesVote for this answer Mark as a Correct answer

Faisal Ahmed Rony answered on April 15, 2026 09:03 (last edited on April 15, 2026 09:03)

Hi Brenden! This sounds like a real headache. Since you're using Azure Front Door, check if the client IP is forwarded correctly. If Kentico can't map sessions via headers, it'll just keep spawning new GUIDs. Also, look at the 'SameSite' cookie policy—it often clashes with Front Door. Hope you get it sorted!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.