adding java script tracker to pay to blog paypal subscription form

Hi, I am trying to add a tracking code in the pay to blog plug in, the subscription paypal form section and it seems to work alright in firefox but I am having issues in IE.

In IE after implementing the code I visit the blog account section in the blog admin and the admin header menu as well as the footer and the bottom two paypal monthly option pay buttons are missing.

here is the paypal subscription form on pay-to-blog.php as I am trying to make it work

<form action=”‘ . $action . ‘” method=”post”>

<input type=”hidden” name=”cmd” value=”_xclick-subscriptions”>

<input type=”hidden” name=”business” value=”‘ . get_site_option( “pay_to_blog_paypal_email” ) . ‘”>

<input type=”hidden” name=”item_name” value=”‘ . $current_site->site_name . ‘ Blog Activation”>

<input type=”hidden” name=”item_number” value=”‘ . $period . ‘”>

<input type=”hidden” name=”no_shipping” value=”1″>

<input type=”hidden” name=”return” value=””&gt;

<input type=”hidden” name=”cancel_return” value=”‘ . $blog_url . ‘wp-admin/blog.php?updated=true&updatedmsg=’ . urlencode(__(‘Transaction Canceled!’:wink:) . ‘”>

<input type=”hidden” name=”notify_url” value=”‘ . $blog_url . ‘pay-to-blog-paypal.php”>

<input type=”hidden” name=”no_note” value=”1″>

<input type=”hidden” name=”currency_code” value=”‘ . get_site_option( “pay_to_blog_currency” ) . ‘”>

<input type=”hidden” name=”lc” value=”‘ . get_site_option( “pay_to_blog_paypal_site” ) . ‘”>

<input type=”hidden” name=”custom” value=”‘ . $period . ‘_’ . get_site_option( “pay_to_blog_currency” ) . ‘_’ . $wpdb->blogid . ‘”>

<input type=”hidden” name=”a3″ value=”‘ . $amount . ‘”>

<input type=”hidden” name=”p3″ value=”‘ . $period . ‘”>

<input type=”hidden” name=”t3″ value=”M”>

<input type=”hidden” name=”src” value=”1″>

<input type=”hidden” name=”sra” value=”1″>

<input type=”hidden” name=”custom” value=”” id=”pap_dx8vc2s5″>

<script id=”pap_x2s6df8d” src=”; type=”text/javascript”>


<p class=”submit” style=”border:none;padding-top:2px;”>

<input type=”submit” name=”Submit” value=”PayPal”>



the only edits I did in the form are replacing the actual domain with “mydomain” for this example…

The additional code I am putting in for tracking is near the bottom which is;

<input type=”hidden” name=”custom” value=”” id=”pap_dx8vc2s5″>

<script id=”pap_x2s6df8d” src=”; type=”text/javascript”>


when this is included, IE screws up as described above. and if left out, every thing works fine. with tracking code in, it works fine in Firefox.

can anyone please help me with a fix so I can use this tracking code in the form?


Tony V