Form ID appending different 4 digit numbers on submissions of the same form - tag manager tracking

Highlighted
New Member

For a client I have set up google tag manager to track hubspot form submissions using the form ID. This id is easy enough to find, and looks like hsForm_########-####-####-####-############. 

This works using a trigger that fires on: Form ID contains hsForm_

 

Where I am running in to an issue is in using a lookup table to translate the hsForm number in to a form name that is manually entered. The hsForm ids on submitted forms on my client's site have an additional 4 digits appended to the end. Plus, these 4 digits seem to be different on every form submission of the same form.

 

Because the lookup table variable in google tag manager is exact match, it does not work with the additional 4 digits that are different every time.

 

Is there a reason these 4 numbers are being appended? Is this avoidable?

 

Thanks

Reply
0 Upvotes
1 Reply 1
Highlighted
Top Contributor

I think that's part of the react code. Not avoidable, it changes everytime the page loads.

 

I tracking in hubspot, so got around this, but still a manual process.

Reply
0 Upvotes