/// <summary> /// Returns the Page Header Script. /// </summary> /// <param name="model">The model to inspect.</param> /// <returns>The scripts in the PageHeaderScript property.</returns> protected override string GetScriptToRender(PageAnalyticsScriptsModel model) { return(model.PageHeaderScript); }
/// <summary> /// Returns the Body Bottom Script. /// </summary> /// <param name="model">The model to inspect.</param> /// <returns>The scripts in the BodyBottomScript property.</returns> protected override string GetScriptToRender(PageAnalyticsScriptsModel model) { return(model.BodyBottomScript); }
/// <summary> /// Use this method to specify which field on the Model to render. /// </summary> /// <param name="model">The model containing relevant scripts from the Datasource</param> /// <returns>The string to render. It could be empty.</returns> protected abstract string GetScriptToRender(PageAnalyticsScriptsModel model);