mixpanel / mixpanel-js

Official Mixpanel JavaScript Client Library
https://mixpanel.com/help/reference/javascript
Other
862 stars 308 forks source link

Long urls are cut off #405

Open pinktonio opened 6 months ago

pinktonio commented 6 months ago

Unfortunately, URLs in events are getting trimmed if they exceed 255 characters. This is a problem if you have URLs with very long queries for example from Google Ads where vital information in these parameters is not being submitted. Affected by this are the fields $current_url and $initial_referrer. Please remove the max character length constraint or add an option where we can specify the max length before it gets trimmed.