         case campaign   = "utm_campaign"
     }
     
-    public func encode(to encoder: Encoder) throws {
-        var container = encoder.container(keyedBy: CodingKeys.self)
-        try container.encode(self.enable, forKey: .enable)
-        let properties: [CodingKeys : KeyPath<GoogleAnalytics, String?>] = [
-            .source: \.source,
-            .medium: \.medium,
-            .term: \.term,
-            .content: \.content,
-            .campaign: \.campaign
-        ]
-        for (key, path) in properties {
-            try container.encodeIfPresent(self[keyPath: path], forKey: key)
-        }
-    }
-    
 }


/// The `GoogleAnalytics` class is used to toggle the Google Analytics setting,
/// which adds GA parameters to links in the email.
public struct GoogleAnalytics {
    
    // MARK: - Properties
    //=========================================================================

    public let campaign: String?
    
    /// A `Bool` indicating if the setting is enabled or not.
    public let enable: Bool
    
    
    // MARK: - Initializers
