Skip to main content

Dear Amplitude support team,

 

I have a question about collecting data.I want to send the content shown in the figure below, that is the content in the cookie stored in the website browser, to the Amplitude as user properties,and display it at the position marked in the second figure. What should I do, and is there any relevant developer documents that I can refer to?

Looking forward to your reply.Thank you.

 

kind regards,

YuNing Yan

Hey @yuning.yan 

From what I understand, you will need to parse the cookie string and extract the content you want to explicitly set as a custom user property. If you are using the JS SDK, then you can refer to this documentation for setting user properties.

Hope this helps.


Hi @Saish Redkar ,

Thank you very much.It’s really helpful.


Hi @Saish Redkar ,

I have one more question about user properties. Can I send user properties to Amplitude directly from our server side?

Thank you in advance.


Hey @yuning.yan 

Yes, you can. The best way would be to use Amplitude’s HTTP API.

Here are some Community posts which talk more about server side event tracking for your reference -


Reply