namespace Nop.Plugin.Widgets.GoogleAnalytics; /// /// Represents plugin constants /// public static class GoogleAnalyticsDefaults { /// /// Gets a plugin system name /// public static string SystemName => "Widgets.GoogleAnalytics"; /// /// Gets the configuration route name /// public static string ConfigurationRouteName => "Plugin.Widgets.GoogleAnalytics.Configure"; /// /// Gets a URL to send data using the Measurement Protocol on Google account /// public static string EndPointUrl => "https://www.google-analytics.com/mp/collect"; /// /// Gets a URL to send data using the Measurement Protocol Validation Server /// public static string EndPointDebugUrl => "https://www.google-analytics.com/debug/mp/collect"; /// /// Gets a name of the order paid event /// public static string OrderPaidEventName => "purchase"; /// /// Gets a name of the order refunded event /// public static string OrderRefundedEventName => "refund"; /// /// Gets a name of the cookies "client_id" /// public static string ClientIdCookiesName => "_ga"; /// /// Gets a name of the cookies "session_id" /// public static string SessionIdCookiesName => "_ga_"; /// /// Gets a key of the attribute to store client_id /// public static string ClientIdAttribute => "GoogleAnalytics.ClientId"; /// /// Gets a key of the attribute to store session_id /// public static string SessionIdAttribute => "GoogleAnalytics.SessionId"; }