为营销人员禁用 Web 表单分析

Disabling Analytics for Web Forms for marketers

我有一个禁用分析的解决方案(Sitecore.Analytics.config 已重命名为 .disabled),但如果我尝试使用 Web Forms for Marketers 附带的演示表单,则会抛出以下错误。

8204 11:28:03 ERROR Application error.
Exception: System.Web.HttpUnhandledException
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source: System.Web
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.layouts_custom_baselayout_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ab561fabefac5d0\App_Web_nzwz3knl.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Nested Exception

Exception: System.MissingMethodException
Message: Method not found: 'Sitecore.Analytics.ITracker Sitecore.Analytics.Tracker.get_Current()'.
Source: Sitecore.Forms.Core
   at Sitecore.Form.Core.Ascx.Controls.SimpleForm.OnAddInitOnClient()
   at Sitecore.Form.Core.Ascx.Controls.SimpleForm.OnLoad(EventArgs e)
   at Sitecore.Form.Web.UI.Controls.SitecoreSimpleForm.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

有什么建议吗?谢谢!

在 Form Designer 中,将 Analytics 部分中的 Properties 推到那里,您可以禁用特定表单的 "Enable Marketing Analytics"。

我找到了禁用 WFFM 分析的解决方案 在配置文件 Sitecore.Forms.cong 到设置部分添加

希望对你有帮助