Skip to content

Instantly share code, notes, and snippets.

@JosephMaxwell
Last active August 29, 2015 14:15
Show Gist options
  • Save JosephMaxwell/743c035151ed787b67ab to your computer and use it in GitHub Desktop.
Save JosephMaxwell/743c035151ed787b67ab to your computer and use it in GitHub Desktop.
Adding JS file to head
<reference name="before_body_end">
<block type="core/text" name="sharpspring.form">
<action method="setText">
<text><![CDATA[<!-- SharpSpring Form for Contact Us -->
<script>// <![CDATA[
var ss_form = {'account': 'MzIxNgQA', 'formID': 'S022NLG0sDDSNTY2NtU1sUxK1bVISzHRNbQwS000MTFJS0y2AAA'};
ss_form.domain = 'app-1DN7CXM.sharpspring.com';
// ss_form.hidden = {'Company': 'Anon'}; // Modify this for sending hidden variables, or overriding values
// ]]></script>
<script type="text/javascript" src="https://koi-1DN7CXM.sharpspring.com/client/form.js?ver=1.1.1"></script>]]></text>
</action>
</block>
</reference>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment