Skip to main content
All CollectionsMercury Nexus Integrations & API
Contact us form for website leads
Contact us form for website leads
Updated over 4 months ago

This 'Contact Us' form, once filled in, will populate a Person record and Opportunity into Mercury.

Please follow the steps below to add these to your site:

  1. Copy the source code from the file linked here and paste it into your web page:

  2. Update the following hidden input variables "values":

  • companyId - Set your Company ID here to push the contact to your company's CRM:

<input name="companyId" type="hidden" id="companyId" value="P20000" />

  • brokerId - Set this to your Broker ID:

<input name=" brokerId" type="hidden" id=" brokerId" value="CA00000" />

  • notificationEmail - Set the notification email to the desired email address (if you want someone notified by email when a lead is submitted):

<input name=" notificationEmail" type="hidden" id=" notificationEmail" value="[email protected]" />

  • notificationSms - Set the SMS notification to the desired mobile number (if you want someone notified by SMS when a lead is submitted):

<input name=" notificationSms" type="hidden" id=" notificationSms" value="0412000000" />

  • returnUrl - Set the return URL path for when the form has been successfully submitted:

<input name="returnUrl" type="hidden" id="returnUrl" value="http://......" />

  • categoryIds - Set the categories you would like to assign to the contact when it enters your CRM. To add multiple categories, separate them with a semicolon (;):

<input name="categoryIds" id="categoryIds" type="hidden" value="please add semicolon seperated values" class="hidnfield" />

Here is an example if you want to assign the MM tags:

<input name="categoryIds" id="categoryIds" type="hidden" value="MM - eMag; MM - rba; MM - sms" class="hidnfield" />

  • addtodmh - Set the value in this line to "True" to ensure the contact data syncs automatically with Mercury CRM. Set it to "False" if you prefer not to sync automatically:

<input name="addtodmh" id="addtodmh" type="hidden" value="True or False" class="hidnfield" />

3. Submit a helpdesk ticket to [email protected] to activate these forms on your site. Please include the following information in your ticket:

  • Website url

  • Company ID (if you know it)

Attachment icon
Did this answer your question?