Hello there
Context:
We use Typeform as our main lead generator in our website, from Ebook Downloads to more Complex Calculators for Automated Quote for Clients.
We use Google Analytics 4 and Google Tag Manager is installed correctly in all Typeforms.
Problem:
We can't track conversions correctly on GA4, because TagManager associate a different Client_ID to the form, so our conversion path in our traffic report is full of "Direct" traffic. Therefore it counts twice the same user on our page when Typeform loads on our homepage, one from the correct Source/Medium and other from "Direct". When a user submit a form, we get the event "TypeformSubmit" on TagManager Preview mode, but not on DebugView on GA4, which means that this event/conversion is not being tracked as the same user on GA4.
This is screwing our AdWords campaign because there is never a conversion coming from those forms and Google AdWords doesn't know what to optimize for.
Details:
We are struggling badly with Typeform embedded in our website for Cross-Domain tracking on Google Analytics 4.
In summary, since Typeform doesn't have native integration with GA4, but only with GTM, It fires the events on TagManager Preview Mode, but it doesn't show on GA4 Debug View.
It doesn't get the Client_ID from our website and I am not sure what to do. I looked for several solutions online for cross-domain tracking of embedded iframes, which actually worked for other embedded services like Calendly.com (which we were having the same problem), but it doesn't for Typeform.
The embedded form acts like a separate page completely.
This is a bit frustrating because we don't know what else to do. Does anyone have a solution for this?
References:
https://www.simoahava.com/analytics/cookieless-tracking-cross-site-iframes/#solution-2-forward-all-data-layer-messages-from-child-to-parent
https://www.simoahava.com/gtmtips/write-client-id-other-gtag-fields-datalayer/