using Nop.Core; namespace Nop.Plugin.Widgets.FacebookPixel.Domain; /// /// Represents a Facebook Pixel configuration /// public class FacebookPixelConfiguration : BaseEntity { /// /// Gets or sets a Pixel identifier /// public string PixelId { get; set; } /// /// Gets or sets an access token /// public string AccessToken { get; set; } /// /// Gets or sets a value indicating whether the Pixel is enabled /// public bool PixelScriptEnabled { get; set; } /// /// Gets or sets a value indicating whether the Conversions API is enabled /// public bool ConversionsApiEnabled { get; set; } /// /// Gets or sets a value indicating whether to disable Pixel for users not accepting Cookie Consent (due to GDPR) /// public bool DisableForUsersNotAcceptingCookieConsent { get; set; } /// /// Gets or sets a store identifier in which Pixel is used /// public int StoreId { get; set; } /// /// Gets or sets a value indicating whether to pass customer data /// public bool PassUserProperties { get; set; } /// /// Gets or sets a value indicating whether to use advanced matching /// public bool UseAdvancedMatching { get; set; } /// /// Gets or sets a value indicating whether to track PageView event /// public bool TrackPageView { get; set; } /// /// Gets or sets a value indicating whether to track AddToCart event /// public bool TrackAddToCart { get; set; } /// /// Gets or sets a value indicating whether to track Purchase event /// public bool TrackPurchase { get; set; } /// /// Gets or sets a value indicating whether to track ViewContent event /// public bool TrackViewContent { get; set; } /// /// Gets or sets a value indicating whether to track AddToWishlist event /// public bool TrackAddToWishlist { get; set; } /// /// Gets or sets a value indicating whether to track InitiateCheckout event /// public bool TrackInitiateCheckout { get; set; } /// /// Gets or sets a value indicating whether to track Search event /// public bool TrackSearch { get; set; } /// /// Gets or sets a value indicating whether to track Contact event /// public bool TrackContact { get; set; } /// /// Gets or sets a value indicating whether to track CompleteRegistration event /// public bool TrackCompleteRegistration { get; set; } /// /// Gets or sets a serialized custom events configuration /// public string CustomEvents { get; set; } }