Commit graph

308 commits

Author SHA1 Message Date
Joost Cassee
e91615b754
Merge pull request #137 from pjdelport/add-hotjar-support
Add Hotjar support
2018-11-15 20:16:42 +01:00
Joost Cassee
d08da39fb1
Merge pull request #134 from pjdelport/intercom-hmac-identity-verification
Support Intercom HMAC identity verification
2018-11-15 20:10:39 +01:00
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
Marc Bourqui
736472587d Fix missing protocol in script url, #108 2018-09-26 13:43:46 +02:00
Marc Bourqui
bf3a1aebde Fix flake8 errors, #108 2018-09-24 17:26:15 +02:00
Marc Bourqui
d7fd927b2c Set distinct property id context var, #108 2018-09-24 17:18:04 +02:00
Marc Bourqui
d33d380dd4 Fix tests, #108 2018-09-24 17:07:20 +02:00
Marc Bourqui
771848b428 Fix missing quotes for string value, #108 2018-09-24 17:07:01 +02:00
Marc Bourqui
30e9ddc7cf Fix missing escaping curly braces, #108 2018-09-24 16:32:37 +02:00
Marc Bourqui
b837a20ed4 Fix: global name 'commands' is not defined, #108 2018-09-24 15:52:08 +02:00
Marc Bourqui
d76c72e2a5 Update docs, #108 2018-09-24 15:51:54 +02:00
Marc Bourqui
f8c4f6bf47 Basic support of Google analytics.js, #108 2018-09-24 15:25:16 +02:00
Pi Delport
1b7429c3e1 (Python 2 compatibility for datetime.timestamp) 2018-08-22 18:51:43 +02:00
Pi Delport
4b4f26f54e Intercom: Add support for HMAC authentication of identified users
Documentation:
https://www.intercom.com/help/configure-intercom-for-your-product-or-site/staying-secure/enable-identity-verification-on-your-web-product
2018-08-22 18:43:07 +02:00
Pi Delport
47cf9aac3e Intercom: Set user_id field for authenticated users
This is one of Intercom's core user detail fields.
2018-08-22 18:20:39 +02: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
Matthäus G. Chajdas
7b3c107758 Add PIWIK_DISABLE_COOKIES.
This option disables cookies -- it's off by default.
2018-05-06 09:34:05 +02:00
Joost Cassee
ac66302ddc Update changelog and bump version to 2.4.0 2017-12-07 09:19:19 +01:00
Matthäus G. Chajdas
a9d0befa46 Add support for Django <2 and 2; update tox test matrix. 2017-12-03 18:28:38 +01:00
Matthäus G. Chajdas
4c72289ac8 Use user.is_authenticated for Django 2.0 compatibility. 2017-12-02 22:39:03 +01:00
Peter Bittner
9738f31688 Move package description to module docstring 2017-10-22 14:28:25 +02:00
Joost Cassee
77e1d6f95a Bump version to 2.3.0 and update changelog 2017-10-18 23:50:02 +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
be564dd2b8 (Ignore coverage for intentionally unimplemented property) 2017-10-18 12:34:22 +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
Bodnar Bogdan
add3baff74 Fix holding config variable in database through proxy objects
A config variable may not necessarily be None when not configured. Can be stored in the database with the help of proxy objects, which can  return the None value when accessed.
For example, to integrate with jazzband/django-constance.
2017-08-15 17:52:12 +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
Garrett Robinson
212394a30d Use protocol-relative URL for Piwik fallback img
Avoids mixed content issues when using django-analytical on sites served
over HTTPS. Using a protocol-relative URL is also recommended in the
Piwik documentation: https://issues.piwik.org/344.

Fixes #96.
2017-01-11 19:45:15 -05:00
Joost Cassee
d9b482b8c7 Bump version to 2.2.2 and update changelog 2016-10-01 14:58:31 +02:00
Ian Ramsay
4221a1a3ed Added optional port to Piwik domain path 2016-09-30 10:02:57 -04:00
Joost Cassee
1cd95cd77b Update changelog and bump version to 2.2.1 2016-05-27 10:34:35 +02:00
Steve Schwarz
d579ec2be0 Corrected key name 2016-05-26 21:42:56 -05:00
Joost Cassee
eadd182fd0 Update changelog and bump version to 2.2.0 2016-05-25 20:22:15 +02:00
Joost Cassee
fb24d003f2 Merge pull request #92 from buildingenergy/master
Add woopra to window for SPA analytics
2016-05-25 20:16:07 +02:00
Aleck Landgraf
109de4c1d7 removes crud per PR comments 2016-05-25 10:43:11 -07:00
Joost Cassee
0da24961a6 Update changelog and bump version to 2.1.0 2016-05-25 10:44:18 +02:00
Nikolay Korotkiy
8b232d06cb Add support for the Raiting@Mail.ru service 2016-05-25 11:05:01 +03:00
Aleck Landgraf
20e6a38163 updates to the latest woopra snippet which adds woopra to the window for tracking custom events, like SPA routing 2016-05-24 14:37:54 -07: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
Joost Cassee
4ceb9aa2f1 Merge pull request #91 from bittner/feature/remove-obsolete-reinvigorate-net
Remove Reinvigorate template tag, tests and docs
2016-05-19 10:09:30 +02:00
Steve Schwarz
7a6f24173b Added GA SAMPLE_RATEs and COOKIE_TIMEOUTs 2016-05-18 23:30:56 -05:00
Peter Bittner
849c551d55 Remove dead code (unsupported Python 2.6) 2016-05-19 00:04:15 +02:00
Peter Bittner
83312e01f9 Remove Reinvigorate template tag, tests and docs
Closes #82
2016-05-18 23:41:58 +02:00
Peter Bittner
0a4a9b7220 Fix W0622 (redefined-builtin), correct white space 2016-05-18 23:13:03 +02:00
Peter Bittner
66f4aea54a Fix W0612 (unused-variable) x3, correct white space 2016-05-18 23:12:29 +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
Peter Bittner
14c1772641 [Woopra] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
a1d3bbc09f [Spring Metrics] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
9e6f7c8723 [Intercom] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
56bcb46bb2 [GoSquared] Fix code smell "unused import" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
54b7dfce2c [Google Analytics] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Peter Bittner
ea6b49f354 [Crazy Egg] Fix code smell "redefine built-in" and flake8 complaints 2016-05-18 14:10:25 +02:00
Joost Cassee
50bebf3181 Update copyright dates and fix history include 2016-01-16 23:38:01 +01:00
Joost Cassee
586b164084 Bump version to 2.0.0 2016-01-16 23:10:53 +01: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
Joost Cassee
cf9c581de1 Merge pull request #75 from orcasgit/custom-username
support alternative username fields
2016-01-06 14:46:04 +01:00
Peter Bittner
2510333c5d Allow local host names for Piwik servers
Closes #76
2016-01-04 17:49:48 +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
1909663966 Avoid u-prefix for unicode strings (Python 3.2 compatibility) 2015-09-26 23:47:05 +02:00
Joost Cassee
6ccc5327f3 Merge pull request #65 from bittner/feature/remove-django19-deprecation-warning
Fix RemovedInDjango19Warning (django.utils.importlib)
2015-09-16 09:49:32 +02:00
Peter Bittner
e2ad1ceced Fix flake8 complaints (E225, E261, E302, W291, W292, W293) 2015-09-08 22:35:06 +02:00
Peter Bittner
87bb09c66e Fix RemovedInDjango19Warning (django.utils.importlib) 2015-09-08 18:46:35 +02:00
Joost Cassee
11507a9a3f Bump version and update changelog 2015-08-24 15:34:01 +02:00
Alexandre Pocquet
a6c91d19d4 Reformat Piwik docstring 2015-08-24 11:32:54 +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
8af3181752 Fix rendered javascript indentation 2015-08-19 15:25:51 +02:00
Alexandre Pocquet
89f51ab594 Add Piwik user variables support 2015-08-19 15:06:46 +02:00
Joost Cassee
c6f24decb5 Add changelog entry for last commit, bump version 2015-05-17 15:13:51 +02:00
Peter Bittner
58d83fe5aa Indentation corrections (PEP8)
Correct all flake8 complaints except: in tests, in templatetags, E501 line too long
2015-04-20 23:08:19 +02:00
Joost Cassee
e44141be80 Update Clickmap id regular expression 2015-04-19 11:08:26 +02:00
Joost Cassee
adb184adfd Update changelog and bump version 2015-04-19 10:49:25 +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
Eric Amador
dc031d9e01 Make exception handling python 3 compatible. 2015-04-18 00:22:38 -04:00
Joost Cassee
31b06af0ce Update changelog, authors and version 2015-03-09 20:51:14 +01:00
Joost Cassee
54d922496d Merge pull request #50 from mgaitan/mixpanel_identify
update mixpanel indetify code.
2015-03-09 20:36:13 +01:00
Joost Cassee
fe608af67c Merge pull request #49 from craigbruce/master
Add Django 1.7 support
2015-03-09 20:34:09 +01:00