Hello, I see many cookies being set by rudderstack...
# support
m
Hello, I see many cookies being set by rudderstack in the browser... and they are sent along all the call made to our domain including the apis. This increases the payload Is there a way to avoid this?
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
These are the cookies stored by RudderStack . You can try the new SDK v3 which was built to be lighter. Currently there isn't a way to disable sending the cookie data in the event.
m
Thanks.... Rangnath... how can we setup a call as we have few points to discuss
m
Let me know a few time slots that suit you and will setup a call for one of them. Also is your email the same as the one on slack?
m
yes my email is same as this, you can setup the call anytime between 1-4:30 today or anytime between 11 to 4:30 on Monday/Tuesday will do Items to be discussed- -Group event -Cookies in rudderstack
m
Sent an invite for monday
m
@thousands-morning-17197 Will you be joining call?
m
I am extremely sorry Anshika, this completely slipped my mind as today was a holiday. I have rescheduled the call for tomorrow.
m
Sure.. just ping me once.. as it is holiday for us tomorrow 😋
But lets have that call
m
Oh ok, I moved it to Wednesday.
m
hey
you cancelled the event?
m
Hi @Anshika sorry, I was not well and I was not sure you will be joining since you did not confirm. Can we set this up again, afresh. Can you provide some available timings
m
Lets set this up on Monday/Tuesday, anytime between 11 to 4
m
Sure, will setup a call for next week
Have setup a call for 3PM tomorrow
m
Ok
hey @shy-kite-21035, can we setup a call again.. setCookieDomain.. doesnt work for me
Also i had some other questions
m
Sure we can setup a call. So I was informed that the setCookie domain works as intended but the cookie data from the parent is still set in the subdomain. The team made a fix and that should be released soon. Can you tell me which version of the JS SDK you are using?
m
sure
v1.1
m
Oh ok. The feature is ready and should be released either soon (either in this sprint or the next).
m
ok cool.. but other things are there.. so lets have a call to understand
m
Sure. Lets do on Wednesday?
m
one is mapping of userids second is sending events to a destination that is not on rudderstack, cant understand the transformation api
cant we have it sometime tomorrow?
m
What do you mean by "mapping of userids"? Sure lets do tomorrow
So the transformation API is to programmatically add / edit transformations. For sending events to a destination that is not currently supported by RudderStack, you should use the *webhook*⁣ destination and write a user transformation so that the event is in the format that the destination expects it in.
m
okay will try that
tomorrow anytime between 11 and 4 is fine
m
Invite sent for 2 30 PM IST tomorrow
m
Yes got it.. 👍
m
Hi Anshika the team was looking for info on the following with regards to the PostHog integration • Is the destination in device mode/cloud mode? • In general how are you identifying users in your website flow? (example once user visits they are anonymous after they do login/signup then they are identified etc) • Do they have single or multiple pipelines to posthog? • Also can you share the workspace Id (I see a bunch of gupshup.io workspaces)
m
Sure.. will be sharing in sometime
m
Oh ok
m
In response for the above: 1. We are using cloud mode for destination 2. Yes, once user visits they are anonymous after they do login/signup then they are identified 3. What is the meaning of pipeline here? 4. Shared in DM
m
What is the meaning of pipeline here?
Pipeline here means connections? So do you have only one source sending data to the Posthog destination or do you have multiple?
Oh ok I see only 1 source
Are you and the other devs in your team using the same JS source (writeKey) for the connections. If you are setting up the same connection and are using the same email id then it is possible that the different anonymous ids (from different dev systems) are then linked to it.
m
U mean if we login with same email from different systems then the ids will differ?
But why are different email ids being associated with a email id?
m
I mean you login from different systems with the same email. Then you will have same email id and different anonymous ids.
But why are different email ids being associated with a email id?
I am speculating that this is the opposite of the above where you have the same anonymous_id but different email ids. And all these 3 are being associated eg:- Email_id1 -> Anonymous_id -> Email_id2
m
This is the same thing we saw happening the other day right?
First scenario i guess is obvious.. but is there a way to fix the second, where multiple email linked to one email?
m
Yes i will check as to why when we change email id the anonymous id is not changing.
Hi Anshika, the team mentioned the following - When you make an identify call with a new email id we change the sessionId and other properties but not the anonymousId - If you wish to change the anonymousId you can do the following 1. Run rudderanalytics.getUserId() 2. Compare with current user id and if it is different then call rudderanalytics.reset(true) 3. Make the identify call
Hi Anshika, the sub-domain cookie issue has been fixed in the latest SDK release. You can use this load option(sameDomainCookiesOnly) to solve this issue.More details here: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/load-js-sdk/#loading-options
m
Oh great.. let me try
@shy-kite-21035 for anonymousId issue ideally it should have changed for a new user right... on what basis are you setting anonymous Id?
or shall i do a reser everytime i logout?
still not sure about this behaviour @shy-kite-21035
m
No we do not change the anonymous_id for a new user (Since generally we don't see multiple different users logging in from the same device). So if you want to change the anonymous_id in your case, you have to do a reset on logout.
m
got it
Also did you check that two users were created when user id had uppercase and lowercase
m
So are you sending the email id as traits or are you using the email id as a userId?
As far as I know if it is the former we just send whatever is in the traits to the destination and expect the destination to handle the variance in upper case and lower case.
m
As userid
m
Oh ok. It may be the same case as above since we userId for us generally implies a DB unique identifier. https://www.rudderstack.com/docs/event-spec/standard-events/identify/#user-id