This PR addresses the issue that the URL scheme may be quite long for deep links but the atomic events schema limits the max length of the scheme to 16 characters for page_url and page_refr properties, see here. This can lead to validation errors when deep links with longer URL schemes are tracked.
To solve the issue, the tracker now truncates the URL scheme in page_url and page_refr properties to 16 chars. This only affects the values in the atomic properties, the URLs in the deep link event and context entity are not truncated.
Issue #616
This PR addresses the issue that the URL scheme may be quite long for deep links but the atomic events schema limits the max length of the scheme to 16 characters for page_url and page_refr properties, see here. This can lead to validation errors when deep links with longer URL schemes are tracked.
To solve the issue, the tracker now truncates the URL scheme in page_url and page_refr properties to 16 chars. This only affects the values in the atomic properties, the URLs in the deep link event and context entity are not truncated.