Hubspot Forms #3639
Unanswered
OutlinesComm
asked this question in
Q&A
Hubspot Forms
#3639
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
New to Umami and loving it so far. Certainly refreshing after being with GA for 20 years and seeing it get more and more gigantic and over complicated.
The only thing I'm having a challenge with is tracking conversions. We use Hubspot and as a result, I just place the javascript and the form shows there. Inspecting a form element, I see the "contact us" button renders like this:
It appears that I can't inject any "event name" tag into the rendered html.
The docs say " ...data attributes property or using JavaScript...". Doesn't look like data attributes can be done (I've reached out to Hubspot though..). For javascript it says:
const button = document.getElementById('signup-button');
button.onclick = () => umami.track('Signup button');
However, as you can see in the button code rendered by Hubspot, there IS no ID.
I wondered if any of the experts on here might know of an alternative way.
Thanks in advance.
David
Beta Was this translation helpful? Give feedback.
All reactions