Am integrating Wagtail and Google Analytics with the app wagalytics gives me /admin/analytics/token/ 500 () and the settings i used as indicated on the ReadMe
GA_KEY_FILEPATH = 'project-6408cf73f290.json'
GA_KEY_CONTENT = 'key content'
GA_VIEW_ID = 'ga:173531812'
Kindly where am i going wrong ?
This is the only error shown when i put the JSON key contents with GA_KEY_CONTENT = '{"type": "service_account",...'
AttributeError at /admin/analytics/token/
'dict' object has no attribute 'replace'
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/analytics/token/
Django Version: 1.11.11
Exception Type: AttributeError
Exception Value:
'dict' object has no attribute 'replace'