Merge pull request #27 from insertjokehere/linked_domains_invalid_json
Fix a bug introduced in #25
This commit is contained in:
commit
f57820fcb2
|
@ -72,7 +72,7 @@ class GoogleAnalyticsPlugin(p.SingletonPlugin):
|
|||
'googleanalytics.linked_domains', ''
|
||||
).split(',')]
|
||||
if self.googleanalytics_linked_domains:
|
||||
self.googleanalytics_fields['allowLinker'] = True
|
||||
self.googleanalytics_fields['allowLinker'] = 'true'
|
||||
|
||||
self.googleanalytics_javascript_url = h.url_for_static(
|
||||
'/scripts/ckanext-googleanalytics.js')
|
||||
|
|
Loading…
Reference in New Issue