mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Removing debug prints after testing
This commit is contained in:
parent
b230c1a1c7
commit
ff43016744
1 changed files with 0 additions and 4 deletions
|
|
@ -101,10 +101,7 @@ class GoogleAnalyticsJsNode(Node):
|
|||
|
||||
user_identity = get_identity(context, 'google_analytics', self._identify)
|
||||
if user_identity is not None:
|
||||
print('setting userId field on create')
|
||||
other_fields['userId'] = str(user_identity)
|
||||
else:
|
||||
print('no userId at this time')
|
||||
|
||||
site_speed_sample_rate = getattr(settings, 'GOOGLE_ANALYTICS_SITE_SPEED_SAMPLE_RATE', False)
|
||||
if site_speed_sample_rate is not False:
|
||||
|
|
@ -131,7 +128,6 @@ class GoogleAnalyticsJsNode(Node):
|
|||
return other_fields
|
||||
|
||||
def _identify(self, user):
|
||||
print('UserID = [' + str(getattr(user, 'id', None)) + ']')
|
||||
return getattr(user, 'id', None)
|
||||
|
||||
def _get_custom_var_commands(self, context):
|
||||
|
|
|
|||
Loading…
Reference in a new issue