Hi @CHutt5 ,
Thank you for reaching out to the Community!
I’d like to invite some community members who are subject matter experts to join this conversation.
the HubSpot chatbot does not natively support writing contact properties like gclid without custom development. However, here’s the technically correct and supported way to make this work:
What You Can Do:
1. Capture gclid using a cookie:
HubSpot’s default tracking cookie (_hstc) does not store the gclid by default.
You must create a custom script on your website to:
Read the gclid from the URL.
Store it in a first-party cookie like hubspot_gclid.
2. Pass the gclid to HubSpot via a form or tracking API:
You’ll need to ensure the chatbot (conversational bot flow) includes an email capture step.
Once you have the email, use one of two options to set the gclid:
I understand the prcoess and had started doing it alright, but I’m not sure how the chatbot gets access to the ‘gclid’ cookie in order to save it to the contact? The chatbot doesnt have access to the browser so thats the part im struggling with.