Open Germain-condo-group opened 1 year ago
In the case of our app, we need to access the cid value from analytics. For now we found a workaround by accessing cookies _ga and replacing GA1.1.:
cid
_ga
GA1.1.
const cid = cookies.get('_ga').replace('GA1.1.', '');
Probably there is a better way to do it, do you know where I can access this value using the library or maybe on window instance ?
No, I suggest to ask this on StackOverflow
Request / Idea
In the case of our app, we need to access the
cid
value from analytics. For now we found a workaround by accessing cookies_ga
and replacingGA1.1.
:const cid = cookies.get('_ga').replace('GA1.1.', '');
Probably there is a better way to do it, do you know where I can access this value using the library or maybe on window instance ?