We have two websites on separate physical installations with each there webservers, databases and mongodb.
Is it possible to have the two websites use the same mongodb and thereby leverage the same contact/user data?
Regards
We have two websites on separate physical installations with each there webservers, databases and mongodb.
Is it possible to have the two websites use the same mongodb and thereby leverage the same contact/user data?
Regards
We asked this question to Sitecore support a while ago as we had 2 instances with websites of the same company (one with sxa and one without).
We wanted to be able to use xDB without limitations, and asked if we could share Mongo to match contacts.
The answer:
In order to have different goals, outcomes and so on you will have to use different content databases on different environments. If the analytics bases are the same, aggregation might work, but you will definitely see incorrect data in reports, as the analytics definition items are not shared.
Best practice is either use same databases in all environments, or use all different databases in different environments (which is better).
So if you have different databases, you should not use the same Mongo's. Which makes sense in a way, but can be a pity in some setups.