Jump to content

Salesforce Code Injection

Recommended Posts

Site URL: https://sagecorps.com/startup-registration

Hi!

I've been trying to inject the provided salesforce code to get information sent directly into our account. But for the website page, I only see that  code can be added to the footer or header. I want it to be the actual form on the page (not the one that squarespace can create)

I put the code in the header to show, but would love for it to be correctly added to the page. 

Does anyone have any idea of the steps to take?

All help appreciated!

 

 

Here's the code injection:

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

<form action="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">

  <input type=hidden name="oid" value="00D3h000004aJmx">

<input type=hidden name="retURL" value="https://sagecorps.com/">

  <input type="hidden" name="debug" value=1>

<input type="hidden" name="debugEmail" value="jacob@sagecorps.com">

  <label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>

<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>

<label for="title">Title</label><input  id="title" maxlength="40" name="title" size="20" type="text" /><br>

<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>

<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>

<label for="industry">Industry</label><select  id="industry" name="industry"><option value="">--None--</option><option value="Agriculture">Agriculture</option>

<option value="Apparel">Apparel</option>

<option value="Banking">Banking</option>

<option value="Biotechnology">Biotechnology</option>

<option value="Chemicals">Chemicals</option>

<option value="Communications">Communications</option>

<option value="Construction">Construction</option>

<option value="Consulting">Consulting</option>

<option value="Education">Education</option>

<option value="Electronics">Electronics</option>

<option value="Energy">Energy</option>

<option value="Engineering">Engineering</option>

<option value="Entertainment">Entertainment</option>

<option value="Environmental">Environmental</option>

<option value="Finance">Finance</option>

<option value="Food &amp; Beverage">Food &amp; Beverage</option>

<option value="Government">Government</option>

<option value="Healthcare">Healthcare</option>

<option value="Hospitality">Hospitality</option>

<option value="Insurance">Insurance</option>

<option value="Machinery">Machinery</option>

<option value="Manufacturing">Manufacturing</option>

<option value="Media">Media</option>

<option value="Not For Profit">Not For Profit</option>

<option value="Other">Other</option>

<option value="Recreation">Recreation</option>

<option value="Retail">Retail</option>

<option value="Shipping">Shipping</option>

<option value="Technology">Technology</option>

<option value="Telecommunications">Telecommunications</option>

<option value="Transportation">Transportation</option>

<option value="Utilities">Utilities</option>

</select><br>

<label for="url">Website</label><input  id="url" maxlength="80" name="url" size="20" type="text" /><br>

<label for="employees">Employees</label><input  id="employees" name="employees" size="20" type="text" value="" /><br>

<label for="city">City</label><input  id="city" maxlength="40" name="city" size="20" type="text" /><br>

<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" /><br>

<label for="country">Country</label><input  id="country" maxlength="40" name="country" size="20" type="text" /><br>

<label for="description">Description</label><textarea name="description"></textarea><br>

<input type="submit" name="submit">

</form>

Link to comment
  • Replies 1
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.