FB & Google Events does not sent

forms

#1

Hi,
i’m using this code to embed my forms as i saw in the documentation:

hbspt.forms.create({ 
    portalId: 'MY-PORTAL-ID',
    formId: 'MY-FORM-ID',
		onFormSubmit: function($form) {
			ga('send', 'event',  'Form',  'submit',  'Contact Us Form');
			fbq('track', 'Lead');
		}
});

But, I cant see any events after form sent.
Can you guys please tell what’s the problem?

Thank you.


#2

Hi @Amit_OrCam,

Are you using a tag manager? You might find the following topic helpful: