The Most Active and Friendliest
Affiliate Marketing Community Online!

“AdsEmpire”/  Direct Affiliate

Capturing Lead details on a landing page

BrandonMGID

Member
Does anyone have a script or the know how to capture lead details on a landing page?

Id like to save several forms that save into a csv file. Each line is a different lead.

ex.

First Name,Last Name,Age,Location
 
Aweber, Mailchimp, iContact, Instant contact, and a host of others may suit you best for this. Whether using WP or HTML you can place the autoresponders form on your page.

I will say that collecting age and location can have a negative impact with some campaigns. Name and email are the best. Much of it is dependent on the purpose of the landing page. If it's strictly to collect the information you have stated, then you'll probably need a primer in your ad. If the LP is to forward the user to an offer, then asking for age and locale can reduce the conversions sometimes.
 
Thats easy, you just need a small line of PHP-Code.

A possibel solution would be:

php - Add a new line to a CSV file - Stack Overflow

you have a link like Create Tests for Organizational Training and Certification Programs – Test.com

<?php
$email = $_GET["email"];
$fname = $_GET["fname"];
$sname = $_GET["sname"];
$line = $email + "," + $fname + "," + $sname;

$handle = fopen("test.csv","a");
fputcsv($handle, $line);
fclose($handle);
?>

I didn't test it but should work, if you have a form on the first site use the post variable to get the data.

This script write a new line into the CSV file, should do exactly what you want.
 
banners
Back