Hi. I’m trying to integrate Rudderstack with Onetr...
# support
c
Hi. I’m trying to integrate Rudderstack with Onetrust consent. I’ve followed the JS guide (categories are configured properly, rudder sdk is only loaded after user provided consent). After the user provides consent for all cookies and the rudder SDK is loaded, the GA4 cookies are not applied until the page is refreshed. Is this the expected behavior? I understand that
If a user updates the consent settings, you must refresh the web page for the changes to take effect in the SDK.
, but I was expecting the cookies were going to be applied on the first load. Thanks!
m
Hey There! 👋 Your message has been received by the RudderStack team. 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.
h
Hi @crooked-nightfall-15051, If you are loading the Rudderstack SDK after consent has been given then this shouldn't happen. Because depending on the we either load a particular destination or don't. If user has consented GA4 then it should load all the cookies.
Can you share the link of your website?
m
Hi Matias, Following up here - Were you able to get this figured out? If not, is carbmanager.com the website?
c
Hi, I was able to figure this out. It was an issue with my implementation. Thanks!