0

I want to track event from non Sitecore site. When I execute SCBeacon.trackEvent from script I am getting below error.

Exception: System.InvalidOperationException
Message: No item has been found corresponding to the page event.
Source: Sitecore.FXM
   at Sitecore.FXM.Pipelines.Tracking.RegisterPageEvent.RegisterPageEventProcessor.Process(RegisterPageEventArgs args)

Below is my code:

SCBeacon.trackEvent("Page visited", { data: "MyData", dataKey: "MyDataKey", xFirstName: "Event1", xGender: "Value2" })

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.