Capture Cross-Domain--------------------If you're hosting your djanalytics instance in a different domain than the site you're capturing,you will need to use a slightly different mechanism. Set up djanalytics on your server, and ensureit's got a url for the djanalytics_js view (included in the urls.py file). Then put the followingHTML in your templates:

If you want to maintain tracking ids across domains, you'll need to add them to links between sites.If the site you're linking to is a django site with djanalytics installed, you can use thecross-domain middleware by adding 'djanalytics.middleware.CrossDomainMiddleware' to yourMIDDLEWARE_CLASSES setting and then pass the client ID, user ID and tracking ID (dja_id, dja_uuid,and dja_tracking_id respectively) in your link as parameters. This will then handle setting theappropriate cookies.

Filtering IP addresses----------------------

If you're using the django admin app, djanalytics will automatically register its models. To filterby IP address, add a new IPFilter for your client. The IPFilter uses netmasks to filter addresses. Youcan also specify whether to include or exclude the given netmask. If you choose include, only IPaddresses that match the netmask will be allowed in.

Filtering Paths---------------

The PathFilter model allows you to include or exclude path patterns. PathFilters use regex to determinea match on the path.

Reporting---------

### Generating report data

A management command, _collect_reporting_stats_, will generate report data. This command shouldmost likely be run on a schedule (cron). It takes a few arguments:

* -s, --start - Date of earliest RequestEvent to process. This is optional. If omitted, the command willnot set a beginning time when searching for RequestEvents.* -e, --end - Date of latest RequestEvent to process. This is optional. If omitted, the command willnot set an end time when searching for RequestEvents.* -a, --max-age - This is used when calculation visit durations as well as visit durations,conversions and exit pages. This argument defaults to 30 days.

### Conversion Tracking

In order to track conversions, you'll need to define page patterns for the FUNNEL and CONVERSIONpage types. Conversions are defined by a page visit to at least one FUNNEL page followed bya page visit to a CONVERSION page.

License-------[Read it here](https://raw.githubusercontent.com/analytehealth/django-analytics/master/LICENSE)