APIs & Integrations

Zuheb
Member

How do we set up RUID in hubspot

Hello there, 


We are trying to capture a cookie value named "ruid" as a hidden field in all our forms though the value is getting populated on the website it is not getting captured in the custom field, please suggest how to proceed with it. 

The ruid is being populated as a cookie value. A random unique cookie value gets assigned for users when they visit the site (attaching screenshot).
 
Please note our intention is not to change any current setup which captures the UTM values from the query strings but additionally we want the capture the ruid value as well.

Do we need to create a hidden field in Hubspot form or customize the Js in the hubspot tracking code. 
RUID cookie value.png
We are doing this to track user-level data in Google analytics for in-depth user behavior analysis. 
 
This is one of the forms where we have created the RUID field. https://app.hubspot.com/forms/2369873/editor/f8514c43-e9d5-4211-b386-0e46f3f932bf/edit/form
 
 
This article will provide more background on what we're trying to do. https://www.portent.com/blog/analytics/integrating-google-analytics-hubspot.htm 
 
Would be great if we can get some assistance on the implementation. 
 
Thanks,
Zuheb. 
5 Replies 5
alyssamwilie
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

How do we set up RUID in hubspot

@dennisedson No idea 😅 and don't have a way to look through all my posts. Here's one I found from someone else though on how to send cookie information into a Hubspot form, @Zuheb  :

 

https://community.hubspot.com/t5/APIs-Integrations/Capture-cookie-info-with-hidden-form-fields/td-p/...

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
dennisedson
HubSpot Product Team
HubSpot Product Team

How do we set up RUID in hubspot

hey @Zuheb 

Wonder if @Kevin-C or @jpsanchez  have some suggestions here.

0 Upvotes
Zuheb
Member

How do we set up RUID in hubspot

Can someone help me here? 

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

How do we set up RUID in hubspot

@alyssamwilie , do you know what post @Kevin-C  was talking about above?

@Zuheb , was @Kevin-C 's pen of any help?

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

How do we set up RUID in hubspot

Thank @dennisedson 

 

Hey @Zuheb 

 

I didn't have the time to dig it up but I know @alyssamwilie has a solution for this somewhere on the boards.

 

I also answered something similar recently. This Pen has some code that you can modify to populate a hidden field.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev