Skip to content

Commit 1aae481

Browse files
committed
Load HubSpot script.
1 parent 076e725 commit 1aae481

File tree

1 file changed

+7
-0
lines changed
  • client/a8c-for-agencies/sections/signup/signup-v2

1 file changed

+7
-0
lines changed

client/a8c-for-agencies/sections/signup/signup-v2/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
import { loadScript } from '@automattic/load-script';
2+
import { useEffect } from 'react';
13
import MultiStepForm from './components/multi-step-form';
24
import SignupWrapper from './components/signup-wrapper';
35

46
const AgencySignupV2 = () => {
7+
useEffect( () => {
8+
// We need to include HubSpot tracking code on the signup form.
9+
loadScript( '//js.hs-scripts.com/45522507.js' );
10+
}, [] );
11+
512
return (
613
<SignupWrapper>
714
<MultiStepForm />

0 commit comments

Comments
 (0)