Commit graph

129 commits

Author SHA1 Message Date
Pi Delport
c2a11ce794 Add initial Hotjar tracking code support 2018-11-15 17:37:33 +02:00
Pi Delport
2d8cbd25bd Address flake8 W605 (invalid escape sequence) 2018-11-15 15:05:38 +01:00
Pi Delport
c34d429f57 Enable Intercom for anonymous users
Update tests to add conventional test_render_internal_ip.
2018-08-22 16:17:25 +02:00
Joost Cassee
6f71ddf04f Merge pull request #115 from pjdelport/add-facebook-pixel-support
Add Facebook Pixel support
2017-10-18 21:06:52 +02:00
Pi Delport
2ea2f824e8 Add some remaining test coverage
This should bring the facebook_pixel module up to 100%.
2017-10-18 12:36:18 +02:00
Pi Delport
cd9394467e Add initial Facebook Pixel support 2017-10-17 16:00:54 +02:00
Pi Delport
4ada8ff81a Test settings: Add TEMPLATES for Django 1.10+ 2017-10-17 13:35:38 +02:00
Peter Bittner
c7b14bdf5c Drop Python 3.2 support
Refactor Travis CI configuration

Add flake8 checks, address all complaints
2017-10-16 12:11:23 +02:00
Bodnar Bogdan
9df1182877 Fix exception message 2017-08-16 10:41:09 +02:00
Bodnar Bogdan
22403f9a03 Fix uservoice tests
Rewrite test_empty_key in the same way as in the other modules.
Delete test_overridden_empty_key, because the Node (In this case, the UserVoiceNode) should not be created if there is no configuration initially.
2017-08-16 10:40:56 +02:00
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