File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
src/Plugins/SmartStore.GoogleAnalytics Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -91,16 +91,6 @@ public CookieInfo GetCookieInfo()
9191 return cookieInfo ;
9292 }
9393
94- public override void Install ( )
95- {
96- var settings = new GoogleAnalyticsSettings
97- {
98- GoogleId = "UA-0000000-0" ,
99- TrackingScript = TRACKING_SCRIPT ,
100- EcommerceScript = ECOMMERCE_SCRIPT ,
101- EcommerceDetailScript = ECOMMERCE_DETAIL_SCRIPT
102- } ;
103-
10494 public override void Install ( )
10595 {
10696 var settings = new GoogleAnalyticsSettings
@@ -111,6 +101,9 @@ public override void Install()
111101 EcommerceDetailScript = GoogleAnalyticsScriptHelper . GetEcommerceDetailScript ( )
112102 } ;
113103
104+ _settingService . SaveSetting ( settings ) ;
105+ _localizationService . ImportPluginResourcesFromXml ( this . PluginDescriptor ) ;
106+
114107 base . Install ( ) ;
115108 }
116109
You can’t perform that action at this time.
0 commit comments