jExperience and remote publication
December 14, 2022
jExperience is fully compatible with a remote publishing architecture. Though a precise method must be applied. Here are the steps:
- Start ElasticSearch.
- Start jCustomer.
- Start Jahia (ensure that contribution server operating mode is defined as "production" and remote server operating mode is defined as "distantPublicationServer", using jahia.properties).
- On the contribution server:
Note: The remote site must have the same name/sitekey as original site, as all goals/conditions are based on node paths. Different site names are not supported for now.
- Create the desired site (for example, ACME SPORT).
- Install and enable the jExperience-modules.
- Configure jExperience in Site Settings.
- On the remote server:
- Create a new site with the same template set and same name/sitekey.
- Install jExperience-modules.
Note: Do not activate jExperience-modules for this site.
- Then set up the remote publication on the contribution node and execute the remote publication (check logs and UI, details about remote publication setup can be found here).
- Open the remote site in a new private window and browse the page.
- On the contribution server, check that the corresponding visitor profile was added in jExperience > Global > Audience > Profiles