I have exhausted everything. Is there any one out there that can help me with what dalesaurus has proposed? This is the best solution I am sure.
Are there SS programmers?
This all works fine on a stand alone page, somehow SS removes the tracking code.
This is my stand alone page... I am getting the meta content and passing it into the form. I want to use the SS custom meta field to enter my custom meta tracking code for this page. Then I can use one form to get the different tracking codes per page. When I hard code it like in this page it works fine. When I add this code to my .ss file everything passes to the next page, but the tracking code. I do not understand classes, but maybe someone can help me with the answer here.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="tracking" content="mycode" />
<title></title>
</head>
<body>
<!--START EXIT POPUP -->
<!--<script language="JavaScript" type="text/javascript" src="http://oneyearplan.net/snyhof/zmasterT/expop/landing.js.php?id=10113"></script>-->
<!--END EXIT POPUP -->
<!--BEGIN FORM CODE -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr><td> </td>
<td width="400">
<table width="100%" height="300" border="0" cellpadding="0" cellspacing="20" style="background-color:#FAF8E4; border:#999999 dashed 1px;">
<tr>
<td colspan="3"><h1 align="center">Entrepreneurs Wanted</h1>
<p align="center">There is an entrepreneur in all of us. Come join us and learn how to unlock yours. Let’s do this together! </p>
<p align="center">We're global, though <b>United States</b> is one of our key growth areas right now!</p></td>
</tr>
<tr>
<td><img src="../../../themes/site/images/blank.gif" width="50" height="1"></td>
<td><form method="post" action="http://www.aweber.com/scripts/addlead.pl" target="_top"><input type="hidden" name="unit" value="sne_ccp_leads">
<input type="hidden" name="custom Url" value="oneyearplan.net/snyhof">
<input type="hidden" name="redirect" value="http://oneyearplan.net/snyhof/redirect.php"> <!--HANDLES LEADS & REDIRECTS-->
<input type="hidden" name="meta_redirect_onlist" value="http://oneyearplan.net/snyhof/redirect.php">
<script language="JavaScript" type="text/javascript">
function getTracking() {
var metas = document.getElementsByTagName('meta');
var i;
for (i = 0; i < metas.length; i++)
if (metas.getAttribute('name') == "tracking")
break;
var getVar = metas.getAttribute('content');
//alert(getVar);
return getVar;
}
var t = getTracking();
//var t = "";
//urlquery=location.href.split("t=");
//if(urlquery[1]) {
// urlterms=urlquery[1].split("&");
// t = urlterms[0];
document.writeln('<INPUT TYPE="hidden" name="meta_adtracking" value="', t, '">');
document.writeln('<INPUT TYPE="hidden" name="custom t" value="', t, '">');
document.write('<scr'+'ipt language="JavaScript" src="http://oneyearplan.net/snyhof/zmaster/Scripts/visit.js.php?id=10113&t='+t+'"></scr'+'ipt>');
document.write('<scr'+'ipt language="JavaScript">\ndocument.writeln(\'<INPUT TYPE="hidden" name="custom Tracking" value="?v=\'+visit_id+\'">\');document.writeln(\'<INPUT TYPE="hidden" name="custom v" value="\'+visit_id+\'">\');\n</scr'+'ipt>');
</script>
<input type="hidden" name="custom member_id" value="10113">
<input type="hidden" name="custom landingpage" value="Custom">
<input type="hidden" name="meta_message" value="1">
<input type="hidden" name="meta_required" value="name,from">
<input type="hidden" name="meta_forward_vars" value="1">
<!--<input type="hidden" name="meta_adtracking" id="meta_adtracking" value="">-->
<table width="266" align=center>
<tr><td align=right><font color="green"><b>First Name:</b></font></td><td>
<input type="text" name="name" value="" size="20"></td></tr>
<tr><td align=right><font color="green"><b>Email:</b></font></td><td>
<input type="text" name="from" value="" size="20"></td></tr>
<tr><td align=right><font color="green"><b>Phone</b> (optional):</font></td><td>
<input type="text" name="phone" value="" size="20"></td></tr>
<tr><td align="center" colspan="2"><div align="center">
<input type="submit" name="submit" value="Submit">
</div></td></tr>
</table>
</form>
<!--END FORM CODE --></td>
<td><img src="../../../themes/site/images/blank.gif" width="50" height="1"></td>
</tr>
<tr>
<td colspan="3"><p align="center"> Don't worry, you will be able to UNSUBSCRIBE at any time! </p>
<p align="center"> <a href="privacy-policy/" target="_blank">Privacy Assured</a>: Your email address is never shared with anyone. </p>
<p align="center"><strong>Fill out the form above to learn more about our mission to create <br>
100 millionaires by 2012.</strong></p></td>
</tr>
</table> </td>
<td> </td>
</tr>
</table>
</body>
</html>