# Tracking Hubspot forms in Google Analytics 4 for external web pages

**URL:** <https://community.hubspot.com/t/tracking-hubspot-forms-in-google-analytics-4-for-external-web-pages/32959>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [March 10, 2021, 2:16pm UTC](https://community.hubspot.com/t/tracking-hubspot-forms-in-google-analytics-4-for-external-web-pages/32959 "2021-03-10T14:16:51Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Shep](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/shep/32/69535_2.png) [@Shep](https://community.hubspot.com/u/Shep)\
**Post date:** [February 18, 2022, 5:34pm UTC](https://community.hubspot.com/t/tracking-hubspot-forms-in-google-analytics-4-for-external-web-pages/32959/14 "2022-02-18T17:34:47Z")

</div>

@birdman thanks for these instructions - super helpful. However I can’t seem to get it working. I’m stuck at the same point as CamiG - creating the LookUp table. I’ve created the LT variable as you described but think the Input Variable value might be wrong?  
@CamiG did using the value {{Form ID}} work for you? Or did you need to create a new value/variable specifically for HS form IDs? When I go to preview mode in GTM I can’t see the event firing on form submission.

---

_[View the full topic](https://community.hubspot.com/t/tracking-hubspot-forms-in-google-analytics-4-for-external-web-pages/32959)._
