Skip to content

Commit

Permalink
config.env
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisuri97 authored Jun 6, 2018
1 parent 931c8a9 commit 2278d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

## 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 `.env`.
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](https://analytics.google.com/analytics/web). The ID should be of the form `UA-XXXXXX-X`.

For more information about using Google analytics, check out their [help center](https://support.google.com/analytics#topic=3544906).

## Segment
Including Segment to your flask-base app requires you to add an environment variable named `SEGMENT_API_KEY` to a local file called `.env`.
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](https://app.segment.com). Then, add a Javascript source and navigate to "Settings" to get a write key.

Expand Down

0 comments on commit 2278d3f

Please sign in to comment.