Skip to main content

Microsoft

Sitecore FXM Unable to locate JavaScript beacon on external site

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.
fxmunabletolocatejavascriptbeacon
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!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

William Cacy

More from this Author

Categories
Follow Us
TwitterLinkedinFacebookYoutubeInstagram