Site design breaks when having longer URL or having tracking data in URL

Hello,

We have a site setup of with frontity and hosted using Vercel, but when we open the site from an email that adds its tracking details in URL then site breaks and gives below error in console.

Maximum call stack size exceeded - https://i.imgur.com/vAGcq5Z.jpg
And all the images are not loading at all when we have this error.

We reach out to Vercel thought that it’s issue from their side and they have provided below suggestion

Looking at the error, this seems to be a code issue, probably from Frontify, your framework, as the related error code is runtime-related and is attributable to the following code.

image

I would recommend raising the issue there to get more context about it.

Can someone help here how can we fix this issue?

@juanma @SantosGuillamot @luisherranz
Can you check the above and let me know