Files
fsai-api/docs/analytics.md
Fergal Moran 6b3adfe74f Initial commit
2019-10-09 19:53:50 +01:00

919 B

Adding Analytics

Google Analytics

Including Google analytics to your flask-base app is incredibly easy. Simply add an environment variable named GOOGLE_ANALYTICS_ID to a local file called config.env.

A Google analytics ID can be obtained by signing up here. The ID should be of the form UA-XXXXXX-X.

For more information about using Google analytics, check out their help center.

Segment

Including Segment to your flask-base app requires you to add an environment variable named SEGMENT_API_KEY to a local file called config.env.

To obtain a Segment API key, you will first need to sign up. Then, add a Javascript source and navigate to "Settings" to get a write key.

For more information about using Segment, check out their help center.