<commit_before>[![Build Status](https://travis-ci.org/dasf/insightful.svg?branch=master)](https://travis-ci.org/dasf/insightful)

Insightful
==========

Insightful is an open source web analytics platform, built with Django and adapted to Heroku platform.
After the installation, you'll be given a small bit of javascript code which should be included on websites
 you wish to to track.

Installation
============
#### Heroku

1. Install [heroku toolbelt](https://devcenter.heroku.com/articles/quickstart)
2. Clone this repository `git clone repo url`
3. Create heroku app `heroku create`
4. Add heroku remote url to repository `heroku git:remote -a "your application name"`
5. Push to heroku `git push heroku master`
6. Run syncdb `heroku run python manage.py syncdb --noinput`

#### Optional
* Install memcachier addon for better performance `heroku addons:add memcachier`

#### Notes
* When running on other platforms modify settings.py accordingly
* Using with database backends other than PostgreSQL doesn't provide full timezone support

Tracking content
================
If you wish to track specific content add `data-track-name="Some name"` to elements you wish to track.
Works best on bigger block elements such as paragraphs or container div's.

License
=======
Released under MIT license.


Roadmap
=======
* More coverage
* Actual jasmine tests
* Remove tracking code's jQuery dependency

Demo
====
Demo is available at [http://insightful-demo.herokuapp.com/](http://insightful-demo.herokuapp.com/)<commit_msg>add repository url to readme<commit_after>[![Build Status](https://travis-ci.org/dasf/insightful.svg?branch=master)](https://travis-ci.org/dasf/insightful)

Insightful
==========

Insightful is an open source web analytics platform, built with Django and adapted to Heroku platform.
After the installation, you'll be given a small bit of javascript code which should be included on websites
 you wish to to track.

Installation
============
#### Heroku

1. Install [heroku toolbelt](https://devcenter.heroku.com/articles/quickstart)
2. Clone this repository `git clone <EMAIL>:dasf/insightful.git`
3. Create heroku app `heroku create`
4. Add heroku remote url to repository `heroku git:remote -a "your application name"`
5. Push to heroku `git push heroku master`
6. Run syncdb `heroku run python manage.py syncdb --noinput`

#### Optional
* Install memcachier addon for better performance `heroku addons:add memcachier`

#### Notes
* When running on other platforms modify settings.py accordingly
* Using with database backends other than PostgreSQL doesn't provide full timezone support

Tracking content
================
If you wish to track specific content add `data-track-name="Some name"` to elements you wish to track.
Works best on bigger block elements such as paragraphs or container div's.

License
=======
Released under MIT license.


Roadmap
=======
* More coverage
* Actual jasmine tests
* Remove tracking code's jQuery dependency

Demo
====
Demo is available at [http://insightful-demo.herokuapp.com/](http://insightful-demo.herokuapp.com/)
{'fraction_non_alphanumeric': 0.11655844155844156, 'fraction_numerical': 0.003896103896103896, 'mean_word_length': 5.08893280632411, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2509296', 'n_tokens_mistral': 888, 'n_tokens_neox': 849, 'n_words': 352}