Federated Experience Manager (FXM) is a very useful part of Sitecore, in that it allows end users to add content to and track events on external applications. This is good because it means that clients do not have to convert all of their existing applications into the Sitecore instance to use it’s functionality.
In a previous YouTube video I walked through the process of getting started with FXM. That video can be found here https://www.youtube.com/watch?v=zNnA08qgpc8 .
Sometimes after following the information outlined in the video developers can be presented with the ‘Unable to locate JavaScript beacon on external website’ error within the FXM dashboard application. Screenshot of the message is below.
From a setup standpoint, everything seemed correct. After some testing we determined that the issue was within the external application. The beacon script pasted into the <head> section of the pages was hard-coded with https://www . . . instead of the provided //www . . . Removing the https:// from the script declaration in the external application’s <head> allowed the application and FXM to talk to each other and that pesky error went away.
If you have any questions or comments, please feel free to comment below or reach out to me on Twitter @bill_cacy .
Thanks!