MailChimp.NET
MailChimp.NET copied to clipboard
How to add Google Analytics in API
This is my attempt, but I get an error from Mailchimp that I can't source why.
CampaignCreateOptions options = new CampaignCreateOptions(); GoogleURL = "utm_source=" + GA_Source; GoogleURL += "&utm_medium=" + GA_Medium; GoogleURL += "&utm_campaign=" + GA_Name; CampaignAnalyticsOptions GoogleAnalytics = new CampaignAnalyticsOptions(); GoogleAnalytics.Google = GoogleURL; options.Analytics = GoogleAnalytics;
What error do you get then?