diff --git a/src/Controllers/Common/AnalyticsController.cs b/src/Controllers/Common/AnalyticsController.cs new file mode 100644 index 0000000..740da72 --- /dev/null +++ b/src/Controllers/Common/AnalyticsController.cs @@ -0,0 +1,22 @@ +using Microsoft.AspNetCore.Mvc; + +namespace sodoff.Controllers.Common +{ + public class AnalyticsController : Controller + { + [HttpPost] + [Produces("application/xml")] + [Route("AnalyticsWebService.asmx/LogEvent")] + public IActionResult LogEvent() + { + // placeholder to prevent a ton of 404's + return Ok(true); + } + + [Route("ping")] + public IActionResult Ping() + { + return Ok(); + } + } +}