Something really weird. I have a custom Submit action for my forms that works great. But when I try and access the
Sitecore.Analytics.Tracker, it is null. But only when in Ajax mode. When Ajax is turned off and normal POST actions are performed it works fine.
No errors in the log and all Sitecore related properties seem fine; Like site, context, DB, page, etc... Its like it is just turned off in Ajax mode.
public class SendMailAction : SubmitActionBase<SendMailActionData>
Anyone experienced this?
I tried to use
Sitecore.ExperienceForms.SubmitActions, but it only exposes adding Goals, Campaigns and Outcomes. Not the tracker itself.