APIs & Integrations

elliot1
Member

Identify User, Email double URL Encoded

I am identifying a user with an email.

The email is not url encoded when pushed to the __hsq array, however when I look at the __ptq request, the email is url encoded two times.

The r (referrer?) parameter in the __pqt is correctly encoded one time. the i (email) is encoded twice.

How can I get the email to not be double url encoded?

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

Identify User, Email double URL Encoded

Hi @elliot

This is working as intended, and you are pushing the email correctly (it should not be encoded when pushed to the _hsq array). It’s possible to set multiple identities for a record, so the identities will be a URL encoded set of parameters, meaning they’ll look double encoded in the request.

0 Upvotes