Hi
I have a sing page react app and I am working on tracking page views, contacts and form submissions using the embedded tracking code and _hsq.push with ‘setPath’, ‘identify’, and ‘trackEvent’.
<script
type="text/javascript"
id="hs-script-loader"
async
defer
src="//js.hs-scripts.com/xxxxxx.js"
/>
_hsq.push(['setPath', path])
_hsq.push(['trackPageView'])
So far, I can see the page views and contacts in hubspot, but I dont’ see the custom ‘trackEvent’ which I have called ‘Form Submission’.
_hsq.push([
'trackEvent',
{ id: 'Form Submission', email, firstName, lastName },
])
When I push ‘trackEvent’ to _hsq, i see a GET request to track.hubspot.com/__ptq.gif
![]()
Is there a place in the hubspot dashboard where I should these ‘Form Submission’ events being tracked? Have I setup this tracking correctly for a single page react app? Thanks.