Skip to main content
Share Your Experience: Take the 2024 Developer Survey
14 votes

Can I register an event or goal through an API from Javascript?

Yes you can. In this post http://ggullentops.blogspot.be/2016/02/integrating-addthis-with-sitecore-goals.html I described how you can trigger a goal from AddThis (so actually using javascript to call ...
Gatogordo's user avatar
  • 20.1k
14 votes
Accepted

How is the FXM bundle beacon constructed?

The beacon is created by taking a series of scripts and 'bundeling' them together (minifying and caching them). Have a look in App_Config\Include\FXM\Sitecore.FXM.Bundle.config .. this shows all the ...
Stephen Pope's user avatar
10 votes
Accepted

Can I register an event or goal through an API from Javascript?

There are two ways to register goals from JavaScript that I am aware of: Federated Experience Manager Sitecore FXM allows you to make visits and trigger events from external websites. There's an ...
Dmytro Shevchenko's user avatar
6 votes
Accepted

WFFM form through FXM

Be sure to use the MVC Form rendering rather than the Web Forms version, which is just named Form. The Web Forms version of the rendering is not supported for use with FXM. See the documentation: ...
Ben Golden's user avatar
  • 3,313
5 votes
Accepted

FXM External Site Not Showing Added Component

This is a general issue if you don't publish or you not configure Language rules. Please look on a attached picture how to configure Language rules.
Vlad Iobagiu's user avatar
  • 18.6k
4 votes
Accepted

Sitecore FXM with Coveo, dynamic html does not seem to render

Simon, I found an answer. There is an FXM variant of $(document).ready (more details here) So solution is to customize SearchBoxView and substitute existed inline js code with FXM-aware js code: &...
Yury Fedarovich's user avatar
4 votes

Federated Experience Manager (FXM) won't start

It turns out that there is a bug in Sitecore related to EXM and FXM files on the same instance. Sitecore Support pointed me to the following hotfix package that fixed the problem I was having: https:/...
Corey Burnett's user avatar
4 votes

How to check whether goal has been triggered in mongoDB collection

If you just want to validate if the page event was saved, you can run a MongoDB query against Interactions collection: db.Interactions.find({"$and": [ {"Pages":{"$elemMatch": {"PageEvents"...
grg's user avatar
  • 1,811
4 votes

Whats is the correct way to implement FXM generated script

In a distributed environment, you must enable the following two configuration files on all the servers: Sitecore.FXM.Bundle.config Sitecore.FXM.config Also, make sure that the following ...
Vlad Iobagiu's user avatar
  • 18.6k
3 votes

All Goals trigger through programmatically are visible in Experience Profile but not in Experience Analytics report

If your interaction doesn`t have WebVisit it is invisible in Experience Analytics by default. You can change you goal to a web interaction as @Chris Auer mentioned or remove(patch) <...
x3mxray's user avatar
  • 3,150
3 votes
Accepted

Customising FXM beacon tracking

Looking at the Sitecore.FXM.Bundle.config shows that the beacon is constructed via a processor in the preprocessRequest pipeline: <preprocessRequest> <!-- **** Bundles registered when ...
Richard Seal's user avatar
  • 20.5k
3 votes
Accepted

FXM web index is missing with Sitecore Azure PaaS

I have finally got a response from Sitecore: There is an inconsistency in Sitecore documentation regarding sitecore_fxm_web_index. Our documentation team is working to fix this inconsistency. ...
Richard Seal's user avatar
  • 20.5k
2 votes

Goal combinations not working in Sitecore

The combination you described should be entirely possible. I encountered the same problem when implementing an FXM solution that triggered goals in Sitecore 8.2. Essentially there is a bug with ...
TomT's user avatar
  • 1,079
2 votes

Whats is the correct way to implement FXM generated script

You need to set the FXM.Hostname setting to a hostname that is handled by your CD server. Use a config patch like this: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <...
Ben Golden's user avatar
  • 3,313
2 votes

FXM is not creating "sc_ext_contact" cookie on external site

We are able to fix this issue, though it was unique to our case, i thought it might be helpful to others who might have this problem. In FXM js code, the following code tries to set the ...
Ahmed Okour's user avatar
  • 2,124
2 votes
Accepted

FXM showing 0 visits

Turns out whilst Sitecore 9.1 supports WAF configuration, it has a limitation where FXM tracking requests are blocked. Appears to be due to the page URL not being encrypted and it triggering Owasp ...
Jen's user avatar
  • 1,393
2 votes

Embed a Sitecore JSS app/component within an existing non-Sitecore website

Client-side embedding (docs) is a technique that basically embeds a JSS app for client-side rendering within a Sitecore MVC rendering. This same technique (the resulting HTML for the Sitecore MVC ...
Kam Figy's user avatar
  • 4,143
2 votes
Accepted

Disable Sitecore FXM

Disabling config files is better option than deleting whole FXM folder. Just add ".disabled" extension to all config files under App_Config\Include\FXM folder Also don't forget to hide Federated ...
Peter Procházka's user avatar
2 votes

How to check whether goal has been triggered in mongoDB collection

You can use Robo 3T tool. Next example shows how to find goal by name in Interactions collection. db.getCollection('Interactions').find({Pages : {$elemMatch: {PageEvents:{$elemMatch:{Name:'...
Vlad Shpak's user avatar
  • 1,792
2 votes
Accepted

Errors in FXM Log

I noticed in your solution RegisterConnectModelEvent is missing. RegisterConnectModelEvent is a Sitecore Commerce model for xConnect . Copy the file c:\inetpub\wwwroot\\XConnectModels\Sitecore....
Vlad Iobagiu's user avatar
  • 18.6k
2 votes

Not validate beacon script - error

I can see that your websites are using different protocols, one is http and the other one is https. If you look at the sitecore limitations on https://doc.sitecore.com/developers/93/sitecore-...
Cristi Vulturar's user avatar
1 vote
Accepted

How to show custom data of custom page event in the experience profile instead of current page url while tracking external links using FXM?

If you take a look in /App_Config/Sitecore/FederatedExperienceManager/Sitecore.FXM.config you can see all of the processors that are called for <tracking.triggerpageevent> <tracking....
Cristi Vulturar's user avatar
1 vote
Accepted

FXM CORS Sends OPTIONS request and 405s

So I did not find an outright "fix", however, I do have a workaround that enables this to work. In addition to the above httpProtocol section I posted in the description in the specific web.config ...
JamesEggers's user avatar
1 vote

All Goals trigger through programmatically are visible in Experience Profile but not in Experience Analytics report

Update your code as below, it works for me and I am able to see Goal in Experience Profile and in Experience Analytics Report as well. if (!Tracker.IsActive) { Tracker....
Himmat Singh Dulawat's user avatar
1 vote

External website & goal setup in FXM doesn't show in Experience Analytics

You need to set up rules for tracking. I faced the same issue then I write match rule to allow the external website request. Set up rules for tracking: In the Marketing Control Panel, you can set ...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

FXM in Azure PaaS crashes when the JS files is accessed

Ensure that the location of the Temp folder is in your \Website folder. use a relative path. For Sitecore 9 you can specify that in the FXM.BundledJSFilesPath setting in the Sitecore.FXM.config file. ...
Jan Bluemink's user avatar
  • 1,185
1 vote
Accepted

Embed a Sitecore JSS app/component within an existing non-Sitecore website

For sites that are not managed or running on a Sitecore instance, you could use JSS in either: Headless SSR mode http://jss.sitecore.net/docs/fundamentals/application-modes#headless-server-side-...
Adam Weber's user avatar
  • 2,285
1 vote
Accepted

Sitecore FXM is generating incorrect beacon URL: sitecore/api/ssc/Beacon/Service

Sitecore has acknowledged this as bug and provided a patch for SC8.2 update 1. Ask support for support ticket 507773 patch. Basically fix is use the FXM.Hostname if specified otherwise Current....
Nil Pun's user avatar
  • 2,293
1 vote
Accepted

'Access-Control-Allow-Origin' header in the response must not be the wildcard '*'

Manged to fix this issue by steps below: Make sure you get 200 response from this call. If you get 301, review your redirect rule which could be removing trailing slash. https://...
Nil Pun's user avatar
  • 2,293
1 vote

Personalisation between multiple sitecore instance with same or different subdomains

In general, historical personalization of users requires the data in xDB. You have a one-to-one relationship between xDB and Master database, so if you migrate your multiple sites into one multi-site ...
Jason St-Cyr's user avatar
  • 6,791

Only top scored, non community-wiki answers of a minimum length are eligible