Download the PHP package positron48/google-analytics-widget without Composer
On this page you can find all versions of the php package positron48/google-analytics-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download positron48/google-analytics-widget
More information about positron48/google-analytics-widget
Files in positron48/google-analytics-widget
Package google-analytics-widget
Short Description 📊 This Bolt extension shows a Google Analytics visitor stats on the Dashboard
License MIT
Informations about the package google-analytics-widget
Google Analytics Widget
Setting up
-
Setting and create key to access google api via google devguide.
-
Put downloaded json-key to
/config/extensions/service-account-credentials.json.Warning! This file contents private key - don't add it to git repo even it is private. Add
config/extensions/service-account-credentials.jsonto.gitignorefile. -
Enable google analytics api access via your key https://console.cloud.google.com/apis/library/analytics.googleapis.com
- Now you have service account with email like ***@***.iam.gserviceaccount.com. Go to google analytics > admin > manage access and add this email to list.
You also can add extension to show analytics in admin panel: https://extensions.boltcms.io/package/bobdenotter-google-analytics-widget.
On index admin page (/bolt) you can see panel with some diagrams (may be you need to wait some hours while analytics will be refreshed).