I am trying to add an external website to my Sitecore FXM, however our staging(CM) server is inside an internal firewall and we have no intention to expose it to the public. And the auto generated beacon script uses our staging domain, thus it can't work out in the public.
My questions are:
- Can I just change the domain in the script to use my public domain?
- What is the recommended way to set this up in a staging(CM/CD) environment?
Reference: Sitecore Doc: Add External Website in FXM
Yes, you can use your public domain. The beacon script should be on the delivery server. There is a setting named
FXM.Hostname
that you can change to make it generate the correct tag. Instructions on configuring for a scaled environment are available here: Configuring FXM