Merge pull request #27 from insertjokehere/linked_domains_invalid_json

Fix a bug introduced in #25
This commit is contained in:
Sergey 2017-02-14 11:37:02 +02:00 committed by GitHub
commit f57820fcb2
1 changed files with 1 additions and 1 deletions

View File

@ -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')