Last year, Twitter rolled out an exciting new feature for its paying advertisers: Lead Generation Cards. How it works is that when someone expands a tweet, they see a description of a special offer (anything you want to promote, really), and by clicking a button, the user sends their name, Twitter handle and email address to the advertiser. An example, from Twitter:
In essence, this is a way for users to opt-in to your mailing list without leaving Twitter. (And we all know it’s essential to make it as easy as possible for people to sign up for your communications.) Did you know that Twitter Lead Generation Cards can feed directly into WhatCounts Publicaster Edition? They do, and you don’t even need to use a complicated API!
First, you’ll want to create an opt-in form specifically for Twitter. Instructions on creating opt-in forms can be found here. As you create the opt-in form, be sure that your mailing list includes fields for the Twitter handle (the @ username) as well as the user’s name, because Twitter will be sending that information into Publicaster. When you have completed building the form, the final page of the builder will show you a Post URL. Copy this URL and paste it into the text editor of your choice, as you’ll need it for the next step of the process. (Also, keep this page open, as you’ll need to refer to it in a little bit.)
Next, you’ll want to go into your Twitter Ads account, and open up your Lead Generation Card. In the Card’s Data settings section, you’ll see a field titled “Submit URL,” and a drop-down box titled “HTTP method.” Paste the Post URL from the Publicaster opt-in form builder in the Submit URL field, and select POST as the HTTP method:
Next, you will need to tell Twitter what the field names are in your Publicaster mailing list. Go back to the final screen of the Publicaster opt-in form builder (remember, we told you to keep this page open) and look at the Data Field Mappings:
Match those fields to the Custom Key Names you see in the Twitter Card settings:
Congratulations! Your Twitter Lead Generation Card is now submitting data directly into Publicaster!
(Reminder: Twitter Lead Generation Cards are only available to paying Twitter advertisers.)