Commit graph

282 commits

Author SHA1 Message Date
Taha Rushain
ac2ebf375c Updated regex for gtag to accept measurement ID 2020-07-06 01:38:40 +05:00
Hugo Osvaldo Barrera
788cab447e Only show piwik warning if using piwik
Code so far emits a warning to all users about about Piwik being
deprecated, even if Piwik is not being used.

Scope the warning so it only triggers for people to whom it's relevant.
2020-07-02 17:34:23 +02:00
Sean Wallace
88197ca17e Fix flake8. 2020-06-28 21:00:41 +02:00
Sean Wallace
438b1408fa Add user_id to Google Analytics GTag 2020-06-28 21:00:41 +02:00
Peter Bittner
c10759d378 Bump version, release v2.6.0 2020-04-15 14:51:05 +02:00
Marc Bourqui
1ce265d2d9 Update test to comply with flake8 2020-04-11 18:43:31 +02:00
Marc Bourqui
d14d4727ee Add tests for new Google Analytics gtag, #108 2020-04-11 18:43:31 +02:00
Marc Bourqui
63adb0fbba Register new Google Analytics gtag, #108 2020-04-11 18:43:31 +02:00
Marc Bourqui
0ea5d39155 Fix typos 2020-04-11 18:43:31 +02:00
Marc Bourqui
756ac787e8 Add support for gtag.js 2020-04-11 18:43:31 +02:00
Diederik van der Boor
84e7dab3d2
Make sure Google Analytics calls for ga('set', ...) happen before ga('send', ...)
The changes for the old ga.js code were addressed in #127,
before the new analytics.js code was merged by #135 (commits mention #108)
The display_features and commands could be merged to avoid unneeded blank lines.
2019-04-20 08:53:31 +02:00
Scott Karlin
02b0768c97 Correct code alignment (PEP8) 2019-04-10 09:26:33 +02:00
Scott Karlin
ef0b19ccb2 Clarify Piwik deprecation status 2019-04-10 09:26:33 +02:00
Scott Karlin
3b1ab2bbed Matomo still uses "piwik" in img tag 2019-04-10 09:26:33 +02:00
Scott Karlin
e5f8c199dc Create Matomo module; leave Piwik to be deprecated
With the rebranding of Piwik to Matomo, this commit:
* copies the piwik module to matomo and rebrands
* notes that the piwik module is deprecated
* updates the javascript to the current Matomo version

Implements #132
2019-04-10 09:26:33 +02:00
Peter Bittner
bfe92c716c Ensure Tox targets clean and docs are working
Update packaging information (Django 2.2, license)

Remove problematic install_requires
2019-04-09 14:43:50 +02:00
Joost Cassee
81502c3d68 Fix flake8 warnings by removing typing hints
Unfortunately, typing does not exist in Python 2 so we cannot fix the
warnings by importing the types.
2019-04-08 20:44:22 +02:00
Joost Cassee
ba89b80695 Fix typo in test function name and update authors 2018-11-16 11:02:13 +01:00
Joost Cassee
1ac44107df Bump version to 2.5.0 2018-11-15 21:18:07 +01:00
Joost Cassee
abde59822d Fix flake8 warning 2018-11-15 21:03:18 +01:00
Joost Cassee
4f4de63759 Merge remote-tracking branch 'anteru/master' 2018-11-15 20:43:47 +01:00
Diederik van der Boor
deba4e0021 Remove unneeded spaces in _gaq.push commands 2018-11-15 20:35:03 +01:00
Diederik van der Boor
d2c782c1d5 Make sure Google Analytics calls like _anonymizeIp settings happen before calling _trackPageview 2018-11-15 20:35:03 +01:00
Joost Cassee
32c45f2f0c
Merge pull request #135 from EDSI-Tech/issue-108
Basic support of Google analytics.js
2018-11-15 20:19:09 +01:00
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