diff --git a/ckanext/googleanalytics/plugin/__init__.py b/ckanext/googleanalytics/plugin/__init__.py index ebc9f5e..5dd66f4 100644 --- a/ckanext/googleanalytics/plugin/__init__.py +++ b/ckanext/googleanalytics/plugin/__init__.py @@ -90,10 +90,6 @@ class GoogleAnalyticsPlugin(GAMixinPlugin, p.SingletonPlugin): if self.googleanalytics_linked_domains: self.googleanalytics_fields["allowLinker"] = "true" - self.googleanalytics_javascript_url = h.url_for_static( - "/scripts/ckanext-googleanalytics.js" - ) - # If resource_prefix is not in config file then write the default value # to the config dict, otherwise templates seem to get 'true' when they # try to read resource_prefix from config.