You are welcome to request a custom opt-in form from your Dog Handler at any time. But, if you'd like to try your hand at coding your own, here is a simple 10-step guide. Before you start building the code that you will post on your website (that will subsequently gather new subscriber data automatically in your Mail Dog account), it is a good idea to set up the list that the data will be gathered in and the confirmation message that will be sent to new subscribers. Step 1: Go to Lists and name and save your new list that will house this data (if you have a list already created or simply want the data to merge into a current list you've uploaded, select that list on the page). After saving the new list or selecting the existing list note the list's ID number (located in the list's URL in the address bar of your browser where you see ID= followed by a number). This number uniquely identifies this list and will need to be inserted into your opt-in code. (NOTE! Make your list a rich list by checking the 'create a rich list' box if you plan to gather any data beyond email address) Step 2: Visit Messages and create a placeholder for the custom confirmation email message that you want new subscribers to receive after they have added themselves to your mailing list. After naming and saving your message note this message's ID number (located in the message's URL in the address bar of your browser where you see ID= followed by a number). (NOTE! You can customize this message later with text and images, for now you simply need to name and save it). (NOTE! In this unique case the name of your message is viewable to recipients, it becomes the subject of your auto-generated confirmation email to new subscribers so you will want to choose something like "Thank you for subscribing!" or "Welcome to our mailing list!") Once you have noted the ID numbers of both your list and your message you are ready to build your code! The best place to build this opt-in code is in a plain text environment, use Notepad on a PC or SimpleText on a MAC. Step 3: Start by copying and pasting the following block of code, you will not need to modify anything in the following block:
Save your form in a text document and test it by creating an opt-in form test message in your account, inserting the completed code into the HTML box on your main messages page and then previewing the page (fill it in and submit it - your confirmation message should appear and your data should then populate in your list - if it all works you're ready to post the opt-in code on your website!) A completed Opt-in code sample: