Skip to main content
Answered

Collect Gclid from Google Ads

  • March 22, 2021
  • 37 replies
  • 4259 views

Show first post

37 replies

Forum|alt.badge.img+1
  • Explorer
  • April 12, 2021

@Lizย 

Hello Liz, last time I tried to reach support, I didnโ€™t get an answer.. I just sent this message :

ย 

Here the page where the Typeform pop up is embedded: https://podform3d.com/pages/foot-painย 

I set up everything as it asked too to...ย 
I add the section : <a class="typeform-share button" href="https://form.typeform.com/to/PqLxgUvG?typeform-medium=embed-snippet#gclid=xxxxx"data-transferable-url-parameters="gclid" data-mode="popup" style="display:inline-block;text-decoration:none;background-color:#F3CD59;color:white;cursor:pointer;font-family:Helvetica,Arial,sans-serif;font-size:24px;line-height:60px;text-align:center;margin:0;height:60px;padding:0px 40px;border-radius:30px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:bold;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;" data-size="100" target="_blank">AM I COVERED? </a> <script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm_share", b="https://embed.typeform.com/"; if(!gi.call(d,id)){ js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script>

The Gclid hidden field is activated in the settings.ย 
The GA integration within Typeform Is activated and connected with the good account.ย 
GA Goals is setted for Typeform Event properly. IN GA , the goals is always trigger right but the GCLID info doesn't follow so the SOURCE of the event is INCORRECT all the time ... so can't transmit it to Google ads after ! AND I NEED IT FOR CPC ADS !!ย 

1) First problem : The Source ( GCLID) is not send to GA when typeform trigger the event???

2) I tried to go around by setting a THX U page destination after the form. I add automatic redirection and pass the GCLID in the URL. I set an event goal based on the URL in GA BUT AGAIN the event is trigger correctly but the GCLID is not present so the source is not GOOD.ย 

Could you follow up!ย 


  • Navigating the Land
  • April 12, 2021

I just canโ€™t connect Typeform to anyย Google products, actually. I have quite a few accounts, all linked to Google Ads, Analytics and more but not Typeform. Is the a way anyone can answer these same questions, but with a step-by-step? It is impossible to replicate all of the things because it it always like: โ€œDo this, and then do that.โ€ Ok. But โ€œdoing thisโ€ implies like 4 more steps that it seems to be a secret.

ย 

For exemple:ย 

Why cannot people just literally say what we should put here? It is always like: โ€œCreate anย event in your Google Analytics accountโ€. Ok, but... HOW? This aboveย wasย just an example.ย The person who started this question still (I think) doesnโ€™t know how to configure Gclid. Me neither.

ย 

I am more than happy to contribute and help around here, is there anyone that knows what to do, step-by-step, so we can configure Typeform + Google? Specially Google Ads Conversions. I would pay for that.

ย 

Cheers!


Liz
Exโ€“Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 13, 2021

Hi @Antoninย Our support team let me know they responded to your email earlier today. Did you receive that email?ย 

ย 

ย 


Liz
Exโ€“Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 13, 2021

Hiย @Albertoย thanks for stopping by! We donโ€™t support Google Ads directly, you could try the following workaround first to track the events from Google Analytics.ย 

1. Install Google Analytics on the Typeform
2. Create a goal based on the "On Submit" Event on Typeform
3. Connect Analytics Goals To Google Ads

To actually pass in the Gclid, you would need to use hidden fields on your form. Then, I would follow the steps below to pass in data if you happen to have the form embedded on your site.ย 

ย 

https://community.typeform.com/developers-corner-44/faq-developer-portal-136

ย 

Does that help a bit?ย :grinning:

Hiย @Motion Studioย thanks for stopping by! I included instructions on setting this up in my first comment here. To create an event, youโ€™ll want to follow the steps here, which will guide you based on how youโ€™re currently setting up items in GA. Is there anywhere in these steps in particular youโ€™re running into errors/troubles?ย 


  • Navigating the Land
  • April 26, 2021

Hey Liz,

ย 

I am running into a similar bug and was wondering if
1โ€ฆย If this is doable
2...ย my setup is correct.

Setupย 
Sending leads from google ad words to Unbounce landing page, to embedded Typeform, then use the integration to input the lead into SF.ย 


Liz
Exโ€“Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 26, 2021

Hi @UpEquityย thanks for stopping by. Are you using hidden fields to pass the gclid data through unbounce and thus typeform? Any further information you could provide on your current setup would be helpful. Thanks!


  • Navigating the Land
  • April 26, 2021

Hey Liz,

Yeah, I created the hidden field andย ran aย test and it looks like everything worked regarding the GCLID.

Need to test a few more things but overall looks very promising.ย 


Liz
Exโ€“Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 26, 2021

Oh perfect! Glad thatโ€™s working, @UpEquityย . Have you been able to setup the Salesforce integration, too?


  • Navigating the Land
  • April 26, 2021

Not yet but I do have a zap thatโ€™s connecting the two and seems to be working well. Looking at setting up the complete SF integration. waitingย for our admin to check it out though first. Is there any major advantage to using the integration over the zap?ย 

ย 


Liz
Exโ€“Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 27, 2021

Hi @UpEquityย Got it! Iโ€™d say the biggest advantage to using the direct integration is the fact that you donโ€™t have to use a third-party to send the data. The main downside to our native integration is that it doesnโ€™t send the data immediately (it sends every hour), so if thatโ€™s something crucial for you, Iโ€™d stick with Zapier for the time being.ย 


Forum|alt.badge.img+2

Hi there,

I recently managed to make this work on my end. Are you still looking to solve this?

Also: You need to gclid as part of the result from Typeform, right?ย 


Forum|alt.badge.img+1
  • Navigating the Land
  • January 22, 2026

There are tools (like Attributer.io) that can handle this for you.

They will capture the GCLID (and other information, like UTMs, FBCLID, etc) and store them in a cookie. Then when the visit completes a form on your site, the data gets written into hidden fields and captured with the form submission. Youโ€™ll then be able to see the GCLID, UTMs, etc with each form submission in Typeform, include them in email notifications, send them to your CRM, etc.

The benefit of this โ€˜storing it in a cookieโ€™ approach is that the data gets captured even if the user navigates around your site before completing the form.ย 

ย