Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

asa

// Add Shortcode
function newsletter( $atts ) {

	// Attributes
	$atts = shortcode_atts(
		array(
		),
		$atts,
		'hubspotnewslette'
	);

	<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script>
	<script>
	  hbspt.forms.create({
		portalId: "8458804",
		formId: "ffbbcaec-837a-4278-b24c-644de505baff"
	});
	</script>

}
add_shortcode( 'hubspotnewslette', 'newsletter' );