Commit graph

119 commits

Author SHA1 Message Date
Daniel Vitiello
67ee8bdb50 Updated regex for Intercom APP_ID and tests for Intercom 2017-02-15 16:32:29 -06:00
Garrett Robinson
6f1db73026 Address review comments from @bittner
- Remove comments from Piwik tracking JS
- Remove unnecessary wrapping from lines in tests
2017-01-13 18:09:01 -08:00
Garrett Robinson
7ef1c9fd31 Update Piwik tracking code
Updates Piwik TRACKING_CODE to be based on the latest tracking code from
https://developer.piwik.org/guides/tracking-javascript-guide.
2017-01-13 12:48:09 -08:00
Garrett Robinson
6eeb809ea2 Fix unit tests 2017-01-11 20:22:34 -05:00
Ian Ramsay
4221a1a3ed Added optional port to Piwik domain path 2016-09-30 10:02:57 -04:00
Steve Schwarz
d579ec2be0 Corrected key name 2016-05-26 21:42:56 -05:00
Nikolay Korotkiy
8b232d06cb Add support for the Raiting@Mail.ru service 2016-05-25 11:05:01 +03:00
Nikolay Korotkiy
fa034b0b10 Add support for the Yandex.Metrica service 2016-05-20 09:16:27 +03:00
Joost Cassee
b9953ba629 Merge pull request #89 from saschwarz/gaflags
Google Analytics _set*SampleRate and _set*CookieTimeout
2016-05-19 10:11:15 +02:00
Steve Schwarz
7a6f24173b Added GA SAMPLE_RATEs and COOKIE_TIMEOUTs 2016-05-18 23:30:56 -05:00
Peter Bittner
83312e01f9 Remove Reinvigorate template tag, tests and docs
Closes #82
2016-05-18 23:41:58 +02:00
Peter Bittner
7847d22f95 [GoSquared] Remove settings override with no effect 2016-05-18 15:34:18 +02:00
Peter Bittner
709b8edcf4 [GoSquared] Test user is None in _identify 2016-05-18 14:58:41 +02:00
Peter Bittner
f832ec6179 Remove dead code (unsupported Python/Django versions) 2016-05-18 14:51:52 +02:00
Joost Cassee
de1d29f3c9 Fix missing max_length in test user identity field 2016-01-06 15:22:38 +01:00
Joost Cassee
f84872a0ab Merge branch 'django19' of https://github.com/hobarrera/django-analytical
Conflicts:
	tox.ini
2016-01-06 14:58:43 +01:00
Hugo Osvaldo Barrera
9144118f80 Add missing apps to chartbeat tests settings 2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
f8b820c1db Only import django.contrib.site if it's in use
Since django1.7, importing models for uninitialized apps is not
supported, so Site if the app has been configured/initialized.
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
d7fcdb0346 Make mixpanel dj19-compatible
Looks like django>=1.9 uses `token` somewhere for simpletags, so use
`_token` for our own to avoid it getting overwritten.
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
d42e6d348b Escape performable tags
See this entry[1] in the django 1.9 release notes for details.

[1]: https://docs.djangoproject.com/en/1.9/releases/1.9/#simple-tag-now-wraps-tag-output-in-conditional-escape
2015-12-21 14:26:39 -03:00
Hugo Osvaldo Barrera
b833f37f95 Tests migrate instead of syncdb
The latter is obsolete and have been replaced by the former.
2015-12-21 14:26:39 -03:00
Brad Pitcher
5af731ab9d support custom username fields 2015-12-20 09:40:08 -08:00
Brad Pitcher
4273525668 override internal ips with empty list 2015-12-17 13:48:24 -08:00
Hugo Osvaldo Barrera
7f039cce3f Remove bogus import 2015-12-06 11:37:11 -03:00
Hugo Osvaldo Barrera
5a336088f6 List missing dependencies 2015-12-06 11:37:11 -03:00
Hugo Osvaldo Barrera
8742050a0c Eliminate race condition during test startup 2015-12-06 11:37:11 -03:00
Peter Bittner
e2ad1ceced Fix flake8 complaints (E225, E261, E302, W291, W292, W293) 2015-09-08 22:35:06 +02:00
Alexandre Pocquet
903ad4eb04 Update code style 2015-08-21 11:05:59 +02:00
Alexandre Pocquet
f27d946ccf Add support for Piwik user identity tracking
The 'piwik_identity' (or the default 'analytical_identity') context variables are used to call Piwik's 'setUserId' function.
If neither are found, use what is returned by get_identity.
2015-08-19 16:55:32 +02:00
Alexandre Pocquet
89f51ab594 Add Piwik user variables support 2015-08-19 15:06:46 +02:00
Joost Cassee
e44141be80 Update Clickmap id regular expression 2015-04-19 11:08:26 +02:00
Eric Amador
67f29fdb2b Use assertRaisesRegex when available. 2015-04-18 00:42:54 -04:00
Eric Amador
dcf51bc6ca assertEqual was deprecated in python 3.2 2015-04-18 00:33:56 -04:00
Joost Cassee
54d922496d Merge pull request #50 from mgaitan/mixpanel_identify
update mixpanel indetify code.
2015-03-09 20:36:13 +01:00
Martín Gaitán
6992f170de update test 2014-09-09 09:01:43 -03:00
Craig Bruce
51a08742c5 removed custom override_settings, using django instead. Removed with/without app decorators as only use in a few places. Updated all tests to use django provided override_settings. 2014-09-05 12:26:08 -07:00
Craig Bruce
38b9cc70e6 fixed various typos, this would of failed previously 2014-09-05 11:23:20 -07:00
Craig Bruce
7ccd84d1d3 added default middleware for django 1.7 2014-09-05 11:22:25 -07:00
Peter Bittner
6cf24c4709 Added tests for Piwik 2014-07-05 00:32:59 +02:00
Craig Bruce
1ebe4f676b Updated HubSpot tracking code. Updated test/docs/changelog to reflect this. HUBSPOT_DOMAIN is no longer required. 2014-05-26 16:57:49 -06:00
Joost Cassee
60c2d03c50 Merge pull request #37 from greenkahuna/master
Fixes default name key for intercom.
2014-05-01 17:01:07 +02:00
skoczen
f24f03c3f8 Fixes full_name -> name.
That's embarrassing.
2014-04-30 16:27:57 -07:00
Joost Cassee
170f8babad Fix Travis and comment out failing test
Django 1.6 does not allow dynamic changes to the install apps list
anymore, at least not in the same way as 1.5 did. No time to fix the
test, so cowardly commenting it out.
2014-04-29 01:45:47 +02:00
Joost Cassee
cef2956edb Merge branch 'master' of github.com:greenkahuna/django-analytical into greenkahuna-master 2014-04-29 01:05:22 +02:00
skoczen
7751777b4e Fixes up extra slashes. 2014-04-28 15:54:39 -07:00
skoczen
559cd3677f sort_keys all the things! 2014-04-28 15:52:36 -07:00
skoczen
a94f0d8bb0 Adds support for custom variables, in a similar pattern to woopra's tag. 2014-04-28 10:10:23 -07:00
skoczen
d76a0981b8 Adds intercom.io support, fixes inconsent fails from json ordering. 2014-04-25 10:46:30 -07:00
Martín Gaitán
ba2c13c57c assertIn fallback for py2.6/dj1.2 2013-11-26 20:34:33 -03:00
Martín Gaitán
064dd5b681 empty key returns no code 2013-11-26 20:18:48 -03:00