diff --git a/app/marketing/webhookviews.py b/app/marketing/webhookviews.py index 1468184ee49..3409a42f87c 100644 --- a/app/marketing/webhookviews.py +++ b/app/marketing/webhookviews.py @@ -58,7 +58,7 @@ def process(request): event=event['event'], category=event.get('category', ''), created_on=created_on, - ip_address=event.get('ip'), + ip_address=event.get('ip').split(':')[0], ) events.append(email_event) except Exception: