Welcome to the Squaresend Documentation. This page will be your guide for learning how to use and customize Squaresend on your website, blog, or publishing platform of choice.
Squaresend makes it less annoying to recieve feedback from users. It can be installed on any site in seconds.
- stops mailto links from starting obtrusive programs without user consent
- brings a consistent, clean, and customizable web interface to all your users
Squaresend works well on both web and mobile browsers. It also works on non-browsers like IE7.
Installing Squaresend is easy. The following script can be placed anywhere on a web page:
Once the script is placed on a web page, the recipient email addresses need to be authorized by Squaresend. Note: the email addresses themselves don't need to be verified. Squaresend will accept both real and fake email addresses.
Authorizing an email simply means telling Squaresend to accept messages sent to it through the Squaresend interface. When you sign up for Squaresend, your initial email will automatically be authorized.
To authorize another email you can click New Profile from your dashboard.
Once you've authorized your email, Squaresend will start delivering messages to your inbox.
Squaresend can be customized to fit any number of usecases. Free accounts can change the basic details of their interface while Pro accounts on the other hand can change virtually any aspect of it.
There are two ways to customize the interface:
- Query string parameters that can override default appearance and settings
Squaresend uses identical variable and parameter names to make customization easy.
All variable and parameter names start with sqs, which is short for Squaresend.
<script> sqs_title = "Leave us a message!"; </script>
The above example will change the default title of the interface. The query string equivalent of this is:
<a href="mailto:firstname.lastname@example.org?sqs_title=Leave+us+a+message!">Contact us</a>
If you have multiple mailto links on a page, you can have different titles for each using the second method.
|css styles for the interface
|label for subject field
|label for message field
|label for name field
|label for email field
|label on submit button
|placeholder for subject
|placeholder for message
|placeholder for name
|placeholder for email
|fields to hide from view, separated by commas
|required fields, separated by commas
|focus specific field at start
|default value for subject
|default value for message
|default value for name
|default value for email
You can also use regular mailto query strings to set default values, e.g. ?subject=Some+subject.
If your website has a login system, you can let your logged in users contact you without having to enter in their name or email address by automatically filling it out for them.
Click "Result" to run the following examples.