Update docs/services/google_analytics_gtag.rst

Co-authored-by: Peter Bittner <django@bittner.it>
This commit is contained in:
Petr Dlouhý 2022-07-15 12:14:50 +02:00 committed by Peter Bittner
parent 83e4361d2a
commit a82bde708a

View file

@ -96,7 +96,9 @@ Identifying authenticated users
The username of an authenticated user is passed to Google Analytics
automatically as the `user_id`. See :ref:`identifying-visitors`.
According to `Google Analytics conditions <https://developers.google.com/analytics/solutions/crm-integration#user_id>`_
According to `Google Analytics conditions`_ you should avoid ...
.. _`Google Analytics conditions`: https://developers.google.com/analytics/solutions/crm-integration#user_id
you should avoid sending Personally Identifiable Information.
Using `username` as `user_id` might not be the best option.
To avoid that, you can change the identity