Skip to content

Commit

Permalink
Integration typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pyepye committed Jul 10, 2020
1 parent 6b6a675 commit d2b83d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Django Amplitude

Intergration between Django and [Amplitude.com](https://amplitude.com/) to help send events via the [Amplitude HTTP API (v2)](https://developers.amplitude.com/docs/http-api-v2)
Integration between Django and [Amplitude.com](https://amplitude.com/) to help send events via the [Amplitude HTTP API (v2)](https://developers.amplitude.com/docs/http-api-v2)


## Quick start
Expand Down Expand Up @@ -35,7 +35,8 @@ INSTALLED_APPS =(

## Usage

If you want to send an event to Amplitude on every page view you can use the django-amplitude `SendPageViewEvent` middleware. This will automatically create an event base on the url name that was hit and the Django request object.
If you want to send an event to Amplitude on every page view you can use the django-amplitude `SendPageViewEvent` middleware to your `MIDDLEWARE` in your Django settings.
This will automatically create an event base on the url name that was hit and the Django request object.

```python
MIDDLEWARE = [
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "django-amplitude"
packages = [
{include = "amplitude"}
]
version = "0.1.0"
description = "Intergration between Django and Amplitude"
version = "0.2.0"
description = "Integration between Django and Amplitude"
authors = ["Matt Pye <pyematt@gmail.com>"]
readme = "README.md"
license = "MIT"
Expand Down

0 comments on commit d2b83d5

Please sign in to comment.