public IViewComponentResult Invoke(string widgetZone, object additionalData)
        {
            var script = string.Empty;

            try
            {
                script = _segmentService.GetProductViewedScript(additionalData as ProductDetailsModel);
            }
            catch (Exception ex)
            {
                _logger.InsertLog(Core.Domain.Logging.LogLevel.Error, "Error creating scripts for Segment eCommerce tracking", ex.ToString());
            }
            return(View("~/Plugins/Widgets.SegmentAnalytics/Views/PublicInfo.cshtml", script));
        }