A lot of you are waiting on bbrock to write about how to setup your coreg with CPVLab. I thought I'd help out by writing this guide.
I figured things out myself and here is how I do it.
Note:I'm not a programmer or anything, I just took days to try to piece them together.
1. Setup a Landing Page Sequence campaign in CPVLab.
For Level 1 LP, I type in URLs for my popup lander. I don't direct link.
For Level 2 LP, type in URL of your email submit 1st page.
For Level 3 LP, type in URL of your email submit 2nd page (aka Info Gather page).
For the offer, type in URL of the coreg page (the page where you place your iframe for Silver Path)
(Optional) I add another Offer Option (Option 2), and get a email submit offer from a network and use it as an exit pop on any of these pages (email submit 1st & 2nd page)
2. Now, create 2 list in Aweber.
1 for single optin.
1 for double optin.
The single optin will be placed on the email submit 1st page.
The double optin will be placed on the email submit 2nd page.
You can choose to have single optin for both if you like.
Next, create custom fields inside both lists.
I personally create 2:
- target (to track where the lead came from)
- referlp (to track which popup lander the lead came from)
You might only want to create target to save the hassle.
[2a]Now create a form for the 1st list.
Get rid of the other fields and leave only the email field (if you want to collect more info on the 1st page, it's up to you)
Now, on the setttings page. Choose Custom Page for the Thank You Page.
And use this CPVLab link: http://tracking.com/base2.php
In the Already Subscribed Page, use your real 2nd page URL(e.g. http://domain.com/2ndpage.php) in case the lead is already on your list and you want him/her to be able to proceed to the next page.
Under Advanced Settings, tick "Forward subscriber information to your thank you page".
Save the form and get the Raw HTML code.
Strip out all the CSS code so that you only have this code remaining:
<form method="post" action="http://www.aweber.com/scripts/addlead.pl" > <input type="hidden" name="meta_web_form_id" value="xxxxx" /> <input type="hidden" name="meta_split_id" value="" /> <input type="hidden" name="listname" value="YourListName" /> <input type="hidden" name="redirect" value="http://tracking.com/base2.php" id="redirect_xxxxxx" /> <input type="hidden" name="meta_redirect_onlist" value="http://domain.com/2ndpage.php" /> <input type="hidden" name="meta_adtracking" value="My_Web_Form" /> <input type="hidden" name="meta_message" value="1" /> <input type="hidden" name="custom target" value="" /> <input type="hidden" name="custom referlp" value="" /> <input type="hidden" name="meta_required" value="email" /> <input type="hidden" name="meta_forward_vars" value="1" /> <input type="hidden" name="meta_tooltip" value="" /> <input class="emailfield" type="text" name="email" value="" tabindex="1500" /> <input name="submit" class="emailbutton" type="image" src="button.gif" tabindex="501"/> </form>
<input type="hidden" name="custom target" value="" /> <input type="hidden" name="custom referlp" value="" />
<input type="hidden" name="custom money" value="" />
<form method="post" action="http://www.aweber.com/scripts/addlead.pl" > <input type="hidden" name="meta_web_form_id" value="xxx" /> <input type="hidden" name="meta_split_id" value="" /> <input type="hidden" name="listname" value="xxxxx2" /> <input type="hidden" name="redirect" value="http://tracking.com/base3.php?id=1" id="redirect_ea98cbccccc" /> <input type="hidden" name="meta_redirect_onlist" value="http://domain.com/3rdpage.php" /> <input type="hidden" name="meta_adtracking" value="My_Web_Form" /> <input type="hidden" name="meta_message" value="1" /> <input type="hidden" name="meta_required" value="name (awf_first),name (awf_last),email,custom US Address (Street 1),custom US Address (City),custom US Address (State),custom US Address (ZIP Code),custom Cell phone" /> <input type="hidden" name="meta_forward_vars" value="1" /> <input type="hidden" name="meta_tooltip" value="" /> <input type="hidden" name="custom target" value="" /> <input type="hidden" name="custom referlp" value="" /> <label class="previewLabel" for="awf_field-23131938">Gender: </label> <select id="awf_field-23131938" name="custom Title" tabindex="508" class="genderfield" > <option class="multiChoice" value="Male">--</option> <option class="multiChoice" value="Male">Male</option> <option class="multiChoice" value="Female">Female</option> </select><br> <label class="previewLabel" for="awf_field-23131935">Email: </label> <input id="awf_field-23131935" type="text" name="email" value="" tabindex="502" /><br> <label class="previewLabel" for="awf_field-23131934-first">First Name:</label> <input id="awf_field-23131934-first" type="text" name="name (awf_first)" value="" tabindex="500" /><br> <label class="previewLabel" for="awf_field-23131934-last">Last Name:</label> <input id="awf_field-23131934-last" type="text" name="name (awf_last)" value="" tabindex="501" /><br> <label class="previewLabel" for="awf_field-23131936street1">Street:</label> <input id="awf_field-23131936street1" type="text" name="custom US Address (Street 1)" tabindex="503" /><br> <label class="previewLabel" for="awf_field-23131936city">City:</label> <input id="awf_field-23131936city" type="text" name="custom US Address (City)" tabindex="504" /><br> <label class="previewLabel" for="awf_field-23131936zip">Zip:</label> <input id="awf_field-23131936zip" type="text" maxlength="6" name="custom US Address (ZIP Code)" tabindex="506" /><br> <label class="previewLabel" for="awf_field-23131936state">State:</label> <select id="awf_field-23131936state" name="custom US Address (State)" tabindex="505""> <option value=""></option> <option value="AL">AL</option> <option value="AK">AK</option> <option value="AZ">AZ</option> <option value="AR">AR</option> <option value="CA">CA</option> <option value="CO">CO</option> <option value="CT">CT</option> <option value="DC">DC</option> <option value="DE">DE</option> <option value="FL">FL</option> <option value="GA">GA</option> <option value="HI">HI</option> <option value="ID">ID</option> <option value="IL">IL</option> <option value="IN">IN</option> <option value="IA">IA</option> <option value="KS">KS</option> <option value="KY">KY</option> <option value="LA">LA</option> <option value="ME">ME</option> <option value="MD">MD</option> <option value="MA">MA</option> <option value="MI">MI</option> <option value="MN">MN</option> <option value="MS">MS</option> <option value="MO">MO</option> <option value="MT">MT</option> <option value="NE">NE</option> <option value="NV">NV</option> <option value="NH">NH</option> <option value="NJ">NJ</option> <option value="NM">NM</option> <option value="NY">NY</option> <option value="NC">NC</option> <option value="ND">ND</option> <option value="OH">OH</option> <option value="OK">OK</option> <option value="OR">OR</option> <option value="PA">PA</option> <option value="PR">PR</option> <option value="RI">RI</option> <option value="SC">SC</option> <option value="SD">SD</option> <option value="TN">TN</option> <option value="TX">TX</option> <option value="UT">UT</option> <option value="VT">VT</option> <option value="VA">VA</option> <option value="WA">WA</option> <option value="WV">WV</option> <option value="WI">WI</option> <option value="WY">WY</option> </select><br> <label class="previewLabel" for="awf_field-23131937">Cell phone:</label> <input type="text" id="awf_field-23131937" name="custom Cell phone" value='' tabindex="507" maxlength="10"/><br> <input type="hidden" name="meta_preselected_awf_field-23131938" value=""/> <input name="submit" type="image" src="button.gif" value="Submit" tabindex="509" style="float:right;margin-top:15px;" /> </form>
<?php session_start(); $_SESSION['target'] = $_GET["target"]; ?> <head> <title>Blahblah</title> </head> Your slick text and image goes here.<br><br> <a href="http://tracking.com/base2.php">Click for Offer</a> <input type="hidden" id="hidLocation" value="http://tracking.com/" /> <script type="text/javascript" src="http://tracking.com/landing.js"></script>
In order to get the target that you've saved in the cookie, you need to place the session_start code right before the header.
And to add it into our target custom field, we use
<?php echo "". $_SESSION['target']; ?>
<?php echo urlencode($_SERVER['HTTP_REFERER']); ?>
<img src="http://tracking.com/adopt.php?type=embed" />
<?php session_start(); ?> <head> <title>Email Submit</title> </head> <form method="post" action="http://www.aweber.com/scripts/addlead.pl" > <input type="hidden" name="meta_web_form_id" value="xxxxx" /> <input type="hidden" name="meta_split_id" value="" /> <input type="hidden" name="listname" value="xxxxxx" /> <input type="hidden" name="redirect" value="http://tracking.com/base2.php" id="redirect_b654c49fccccc" /> <input type="hidden" name="meta_redirect_onlist" value="http://domain.com/2ndpage.php" /> <input type="hidden" name="meta_adtracking" value="My_Web_Form" /> <input type="hidden" name="meta_message" value="1" /> <input type="hidden" name="custom target" value="<?php echo "". $_SESSION['target']; ?>" /> <input type="hidden" name="custom referlp" value="<?php echo urlencode($_SERVER['HTTP_REFERER']); ?>" /> <input type="hidden" name="meta_required" value="email" /> <input type="hidden" name="meta_forward_vars" value="1" /> <input type="hidden" name="meta_tooltip" value="" /> <input class="emailfield" type="text" name="email" value="" tabindex="1500" /> <input name="submit" class="emailbutton" type="image" src="button.gif" tabindex="501" /> </form> <img src="http://tracking.com/adopt.php?type=embed" />
$email= $_GET['email']; $referlp= $_GET['custom_referlp'];
<input type="hidden" name="custom target" value="<?php echo "". $_SESSION['target']; ?>" /> <input type="hidden" name="custom referlp" value="<?php echo urlencode($referlp) ?>" />
<input type="text" name="email" value="<? echo $email ?>" />
<?php session_start(); $email= $_GET['email']; $referlp= $_GET['custom_referlp']; ?> <header> <title>Info Gather Page!</title> </header> <form method="post" action="http://www.aweber.com/scripts/addlead.pl" > <input type="hidden" name="meta_web_form_id" value="xxxxx" /> <input type="hidden" name="meta_split_id" value="" /> <input type="hidden" name="listname" value="xxxxxx2" /> <input type="hidden" name="redirect" value="http://tracking.com/base3.php?id=1" id="redirect_ea98cb67d251eddaad31adada10eaeb4" /> <input type="hidden" name="meta_redirect_onlist" value="http://domain.com/3rdpage.php" /> <input type="hidden" name="meta_adtracking" value="My_Web_Form" /> <input type="hidden" name="meta_message" value="1" /> <input type="hidden" name="meta_required" value="name (awf_first),name (awf_last),email,custom US Address (Street 1),custom US Address (City),custom US Address (State),custom US Address (ZIP Code),custom Cell phone" /> <input type="hidden" name="meta_forward_vars" value="1" /> <input type="hidden" name="meta_tooltip" value="" /> <input type="hidden" name="custom target" value="<?php echo "". $_SESSION['target']; ?>" /> <input type="hidden" name="custom referlp" value="<?php echo urlencode($referlp) ?>" /> <label class="previewLabel" for="awf_field-23131938">Gender: </label> <select id="awf_field-23131938" name="custom Title" tabindex="508" class="genderfield" > <option class="multiChoice" value="Male">--</option> <option class="multiChoice" value="Male">Male</option> <option class="multiChoice" value="Female">Female</option> </select><br> <label class="previewLabel" for="awf_field-23131935">Email: </label> <input id="awf_field-23131935" type="text" name="email" value="<? echo $email ?>" tabindex="502" class="regfield" /><br> <label class="previewLabel" for="awf_field-23131934-first">First Name:</label> <input id="awf_field-23131934-first" type="text" class="regfield" name="name (awf_first)" value="" tabindex="500" /><br> <label class="previewLabel" for="awf_field-23131934-last">Last Name:</label> <input id="awf_field-23131934-last" class="regfield" type="text" name="name (awf_last)" value="" tabindex="501" /><br> <label class="previewLabel" for="awf_field-23131936street1">Street:</label> <input id="awf_field-23131936street1" type="text" class="regfield" name="custom US Address (Street 1)" tabindex="503" /><br> <label class="previewLabel" for="awf_field-23131936city">City:</label> <input id="awf_field-23131936city" type="text" class="regfield" name="custom US Address (City)" tabindex="504" /><br> <label class="previewLabel" for="awf_field-23131936zip">Zip:</label> <input id="awf_field-23131936zip" type="text" class="zipfield" maxlength="6" name="custom US Address (ZIP Code)" tabindex="506" /><br> <label class="previewLabel" for="awf_field-23131936state">State:</label> <select id="awf_field-23131936state" name="custom US Address (State)" tabindex="505" class="statefield"> <option value=""></option> <option value="AL">AL</option> <option value="AK">AK</option> <option value="AZ">AZ</option> <option value="AR">AR</option> <option value="CA">CA</option> <option value="CO">CO</option> <option value="CT">CT</option> <option value="DC">DC</option> <option value="DE">DE</option> <option value="FL">FL</option> <option value="GA">GA</option> <option value="HI">HI</option> <option value="ID">ID</option> <option value="IL">IL</option> <option value="IN">IN</option> <option value="IA">IA</option> <option value="KS">KS</option> <option value="KY">KY</option> <option value="LA">LA</option> <option value="ME">ME</option> <option value="MD">MD</option> <option value="MA">MA</option> <option value="MI">MI</option> <option value="MN">MN</option> <option value="MS">MS</option> <option value="MO">MO</option> <option value="MT">MT</option> <option value="NE">NE</option> <option value="NV">NV</option> <option value="NH">NH</option> <option value="NJ">NJ</option> <option value="NM">NM</option> <option value="NY">NY</option> <option value="NC">NC</option> <option value="ND">ND</option> <option value="OH">OH</option> <option value="OK">OK</option> <option value="OR">OR</option> <option value="PA">PA</option> <option value="PR">PR</option> <option value="RI">RI</option> <option value="SC">SC</option> <option value="SD">SD</option> <option value="TN">TN</option> <option value="TX">TX</option> <option value="UT">UT</option> <option value="VT">VT</option> <option value="VA">VA</option> <option value="WA">WA</option> <option value="WV">WV</option> <option value="WI">WI</option> <option value="WY">WY</option> </select><br> <label class="previewLabel" for="awf_field-23131937">Cell phone:</label> <input type="text" id="awf_field-23131937" class="cellfield" name="custom Cell phone" value='' tabindex="507" maxlength="10"/><br> <input type="hidden" name="meta_preselected_awf_field-23131938" value=""/> <input name="submit" class="submit" type="image" src="button.gif" value="Submit" tabindex="509" style="float:right;margin-top:15px;" /> </form>
<img src="http://tracking.com/adsub.php" />
http://stmforum.com/forum/
http%3A%2F%2Fstmforum.com%2Fforum%2F
[3d]And here's the code for the coreg page:
<?php session_start(); $email= $_GET['email']; $cellphone = $_GET['custom_cell_phone']; $gender = $_GET['custom_title']; $city = $_GET['custom_us_address_(city)']; $state = $_GET['custom_us_address_(state)']; $street = $_GET['custom_us_address_(street_1)']; $zip = $_GET['custom_us_address_(zip_code)']; $lname = $_GET['name_(awf_last)']; $fname = $_GET['name_(awf_first)']; $referlp= $_GET['custom_referlp']; //condition if ($gender=="Male") $gendernew = "M"; else $gendernew = "F"; ?> <head> <Title>This page makes me moolah</title> </head> <center><iframe src="http://www.silver-path.com/path.php?src_key=xxxx&email=<? echo $email ?>&first_name=<? echo $fname ?>&last_name=<? echo $lname ?>&gender=<? echo $gendernew ?>&mobile_number=<? echo $cellphone ?>&address=<? echo $street ?>&city=<? echo $city ?>&state=<? echo $state ?>&zip=<? echo $zip ?>&subid1=<?php echo "". $_SESSION['target']; ?>&subid2=<?php echo $referlp ?>&exit_url=http%3A%2F%2Ftracking.com%2Fbase3.php%3Fid%3D2&exit_pop_url=http%3A%2F%2Ftracking.com%2Fbase3.php%3Fid%3D2&destination_url=http%3A%2F%2Ftracking.com%2Fbase3.php%3Fid%3D2&prize=Your%20Prize%20Name%20&prize_img_url=http%3A%2F%2Fdomain.com%2Ffolder%2Fimage.jpg" width="1024" height="768" frameborder=0 marginwidth=0 marginheight=0></iframe></center> <img src="http://tracking.com/adsub.php" />

Awesome man , looks really good!
Question : are you passing the cpvlab subid to silverpath/other so you can upload revenues later?
great share and i hope you get lots of thanks and write about freebie ideas.
&subid1=<?php echo "". $_SESSION['target']; ?>
Awesome guide here shanktank, please make this post a sticky guys...
Wow, great tutorial man.
Going to sit down this weekend to hammer this out.
Awesome guide, I had been working on setting up a path with CPVLab and you saved me a ton of time.
One issue I'm having is pre-popping the email on the long form. You are using a GET but the variable doesn't seem to be getting passed from Aweber even though I checked the pass variables box. Are you hosting your path and CPVLab install on the same domain? The variable is being passed to http://tracking.com/base2.php but then doesn't seem to be passed again to http://path.com/longform.php.
Awesome post. Thanks!
&subid3=<? php echo $_GET['sid'] ?>
value="<? echo $email ?>"
Are you setting up the $email variable? You will need something like $email = $_GET['emailx'] or $email = $_POST['emailx'] depending on your page. I wrote emailx but that may change depending on your page.
I think there are some options in CPVLab to setup and passthrough stuff also. There might be a setting that needs changed in there.
What about this before echoing?
$email= $_GET['email'];
UPDATE: Files are attached in 3rd post: http://stmforum.com/forum/showthread...ll=1#post17823
hey shanktank,
What kind of campaign did you create in cpvlab? If I remember a Lead Capture campaign will mostly track your targets, landers (pop or opt-in pages) and thank you page visitors...Any thoughts would be appreciated.
Thanks shanktank for this great tutorial.
ppvnewbie, I set mine up in cpvlab as a landing page sequence campaign type.
Hey,
I found one issue I have with your set up... The cell phone field is just one field, don't like that so much since some people are stupid and only put in their cell without the area code or put in some random dash in there or what not...
Any chance you know how to code it so there are 3 fields for the cell phone submit? I think it will be a lot clearer for people that way what to exactly put in there... tried to do this with aweber and cant figure it out! urgh
I noticed all this code here is using sessions. Is there a reason you are using sessions instead of cookies?
The reason I ask is I just got done helping a buddy with an issue. He is running PPV traffic to coreg on a fairly beefy dedicated server, tracking with cpvlab. Almost the same exact setup as described in this thread. Today he noticed that all his other campaigns took a massive hit (he had plenty of data so we could eliminate, scrubbing, ect). After looking around it appears the reason was due to the sessions. There where to many sessions opened and it was bogging down the server. We paused the landers with session data and everything went back to normal.
By default a new session is open for 24 minutes, so when you open a session on the lander you are poping you create a new 24 minute session for every page load. When running ppv with high traffic targets it can pretty easy to have thousands, tens of thousands or more sessions open, and since we might only have 10% CTR that means 90% of these sessions are useless and taking up memory and slowing the server down.
From what I see there are a couple work arounds
1) Set the session time out to a smaller value, like 5 minutes
2) Don't start a new session on the first page, wait and load it on the second page.
3) Use cookies
I think #3 is the best answer, no reason to put crap on our sever and make it do extra work when we can off load it to the browser is there?
So what do you guys think? Did I miss something?
No opinions on cookies vs sessions? Common, the least you can do is tell me I'm crazy 
Good stuff, I'm not techno enough but I'd like to hear some opinions as well! I'm having a hard time wiht my coreg page on a very high traffic target, I feel like the more I get traffic, the worst is my conversion rate and it might have to do with my page load speed..
Did anyone manage to figure out how to do it using cookies instead..?
I'm short on time, but the quick answer is to
remove all session_start(); calls
then when ever you see session("target") on the left like session("target") = $_GET['target']; change it to set_cookie("target", $_GET["target"];
and when session("target") is being displayed use $_COOKIE["target"];
Note: You can change target to what every value you need and you can store more than one value if you want, just use mutiple set_cookie() calls.
I went through the files in the zip and change all the session calls over and remove the sessions starts, so hopefully this new upload will work. As a word of caution I did go over it pretty quick so you may want to double check things yourself ( which is good a good practice anyway
)
Hey Shanktank
One question about the exit URL thing. I am using bbrock32's code for the coreg path and was wondering how to use it in conjunction of two offers. You know the "Award Winning" style of landers offers mostly 2-3 offers where the user can select from. How can you use landing page sequence AND being able to give them the right offer on the exit?
^ never mind just figured out your code.
Hey Leber026,
Thanks for giving us your modified code.
I'm just about to jump in with this, but wanted to ask beforehand (as I'm a coding reeeeetard) whether you'd had chance (or anyone else)
to verify the 'cookie code' actually works ok..???
I haven't tested the exact code I've uploaded. I did use very similar code on a different lander and it worked fine.
There are a number of changes you need to make to the code to use it, (add your own aweber code, add your tracking links, ect). So the best think I can recommend is setup the code and test it across a couple browsers. If you noticed anything that seems odd, post it and we can troubleshoot.
Is there code available here that shows you how to put the info into AWeber first before it enters a GameTheory path?
Update: I made modifications to the code to get it to work with the GT path.
do we send to people 'please verify your email adress' after that or go straight for adding them to DB and autoresponders?