Commit graph

300 commits

Author SHA1 Message Date
Petr Dlouhý
2163c77684
Add the missing get_identity prefix to google_analytics_gtag, test it (#217) 2022-07-19 08:58:28 +02:00
Peter Bittner
f487cb895c Fix Matomo noscript tag
Reference: https://matomo.org/faq/how-to/faq_176/
2022-07-06 23:52:03 +02:00
Peter Bittner
688524305f Remove deprecated Piwik integration
Please use our Matomo integration instead
2022-07-06 23:52:03 +02:00
Kevin Olbrich
ba59f396df add GOOGLE_ANALYTICS_JS_SOURCE setting to allow custom source URL
fixes https://github.com/jazzband/django-analytical/issues/212
2022-07-06 08:30:22 +02:00
Peter Bittner
844a178c04 Simplify copyright notice
Co-authored-by: David Smith <39445562+smithdc1@users.noreply.github.com>
2022-03-15 09:34:50 +01:00
Peter Bittner
ce90933ab1 Release v3.1.0
Removed optional license field from metadata, following recommendations from packaging guide.
See https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#license
2022-03-15 09:34:50 +01:00
Garrett Coakley
58aa95df34
Added Heap integration (#194)
Heap integration
2021-11-26 14:13:59 +01:00
David Smith
37009f2e08 Implemented isort 2021-02-21 17:28:27 +01:00
Peter Bittner
896a19196f Release v3.0.0 2020-12-06 23:14:25 +01:00
Peter Bittner
8cd75d9e60 Add business code for Lucky Orange 2020-12-06 20:45:08 +01:00
Peter Bittner
a9d7d17ce6 Move tests out of analytical module 2020-12-06 16:26:54 +01:00
Peter Bittner
00bc123b88 Reduce indentation of Hotjar JS code 2020-12-05 21:11:06 +01:00
David Smith
9163294603 Updated supported versions of Python and Django
Dropped Python2.7/3.5 and Django 1.11 from test matrix

Removed Py2 code and updated for Py3 features

Replaced assertRaisesRegexp with AsserRaisesRegex

Updated setup.py for currently supported versions

Removed _timestamp
2020-12-03 23:01:10 +01:00
David Smith
3eb17007ad Refactored setup.py to remove cmdclass and test packages 2020-11-30 23:02:04 +01:00
Taha Rushain
ee956230ea Breaking long strings into multiple lines 2020-07-19 02:05:12 +05:00
Taha Rushain
d98e815493 Breaking long strings into multiple lines 2020-07-19 01:57:56 +05:00
Taha Rushain
1cdfb0ed0d Breaking long strings into multiple lines 2020-07-19 01:49:38 +05:00
Taha Rushain
3292b664ec Updated Gtag implementation for mutiple id patterns 2020-07-17 19:24:51 +05:00
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