|
|
@ -3,11 +3,7 @@ import Popup from './Popup/Popup.astro'; |
|
|
|
import CaptchaFields from './Captcha/CaptchaFields.astro'; |
|
|
|
import CaptchaFields from './Captcha/CaptchaFields.astro'; |
|
|
|
--- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
<Popup |
|
|
|
<Popup id='download-popup' title='Download' subtitle='Enter your email below to receive the download link.'> |
|
|
|
id='download-popup' |
|
|
|
|
|
|
|
title='Download' |
|
|
|
|
|
|
|
subtitle='Enter your email below to receive the download link.' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<form |
|
|
|
<form |
|
|
|
action='https://newsletter.roadmap.sh/subscribe' |
|
|
|
action='https://newsletter.roadmap.sh/subscribe' |
|
|
|
method='POST' |
|
|
|
method='POST' |
|
|
@ -15,6 +11,8 @@ import CaptchaFields from './Captcha/CaptchaFields.astro'; |
|
|
|
target='_blank' |
|
|
|
target='_blank' |
|
|
|
captcha-form |
|
|
|
captcha-form |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<input type='hidden' name='gdpr' value='true' /> |
|
|
|
|
|
|
|
|
|
|
|
<input |
|
|
|
<input |
|
|
|
type='email' |
|
|
|
type='email' |
|
|
|
name='email' |
|
|
|
name='email' |
|
|
@ -42,13 +40,11 @@ import CaptchaFields from './Captcha/CaptchaFields.astro'; |
|
|
|
</Popup> |
|
|
|
</Popup> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
document |
|
|
|
document.querySelector('[submit-download-form]')?.addEventListener('click', () => { |
|
|
|
.querySelector('[submit-download-form]') |
|
|
|
window.fireEvent({ |
|
|
|
?.addEventListener('click', () => { |
|
|
|
category: 'Subscription', |
|
|
|
window.fireEvent({ |
|
|
|
action: 'Submitted Popup Form', |
|
|
|
category: 'Subscription', |
|
|
|
label: 'Download Roadmap Popup', |
|
|
|
action: 'Submitted Popup Form', |
|
|
|
|
|
|
|
label: 'Download Roadmap Popup', |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
</script> |
|
|
|
</script> |
|
|
|