I have a new WP install with the Jupiter Theme installed. I have a contact form created in Sharpspring, a CRM that purports to work perfectly with WP, and automatically generates embed codes for plugging into any page. I'm no JS whiz and can't figure out how to get the form to actually embed.
I've got a tracking code provided to me form Sharpspring, which I have included in the header file:
<script type="text/javascript">
var _ss = _ss || [];
_ss.push(['_setDomain', 'domain.com']);
_ss.push(['_setAccount', 'TrackingIDHere']);
_ss.push(['_trackPageView']);
(function() {
var ss = document.createElement('script');
ss.type = 'text/javascript'; ss.async = true;
ss.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'marketingservices.com/client/ss.js?ver=1.1.1';
var scr = document.getElementsByTagName('script')[0];
scr.parentNode.insertBefore(ss, scr);
})();
</script>
Then, I have a couple embed codes for a couple different forms, which look like this:
<!-- SharpSpring Form for General Contact Form -->
<script type="text/javascript">
var ss_form = {'account': 'AccountID', 'formID': 'FormID'};
ss_form.width = '100%';
ss_form.height = '1000';
ss_form.domain = 'domain.services';
// ss_form.hidden = {'Company': 'Anon'}; // Modify this for sending hidden variables, or overriding values
</script>
<script type="text/javascript" src="https://marketing.services/client/form.js?ver=1.1.1"></script>
How can I embed codes like this directly onto pages so the associated forms display and the submitted information enters directly into Sharpspring, like their pitch promises?
