Please tell me how to add the below code snippet to my join.php file
I'm doing this to track how many people join the community via google adwords.
TYIA
<!-- Google Code for Sign Up Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_id = 1033629469; var google_conversion_language = "en_US"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "P5jMCJvllQM"; if (0.01) { var google_conversion_value = 0.01; } //--> </script> <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height="1" width="1" border="0" src="http://www.googleadservices.com/pagead/conversion/356453469/?value=0.01&label=P5jMQfghghgh7AM&guid=ON&script=0"/> </noscript>
|
I have not tried this, but it should be easy to do on that page.
Edit join.php. You will find several lines that start like so.
$_page['extra_js'] .= '
Under the last one there. Do this.
$_page['extra_js'] .= '
Your google code here
';
That should work.
https://www.deanbassett.com |
That did it.. will have to remember this for future references!
Thanks!
|
Hmm, you must have edited your post. I though for sure i saw a post that said it did not work, so i actually tried it myself and had no problem with it.
I was about to post my code but your post changed.
https://www.deanbassett.com |
Wouldn't adding the code like this count every hit to the join.php page as a conversion?
I want to do this but only want to count the actual conversions.
Ideas?
Taking Dolphin and Making Profitable Websites Since 2009 :) |
Counting the conversions will be a lot more complex. I am not quite sure how to go about doing it.
https://www.deanbassett.com |
I added the code to the language key that appears when a user joins and submits valid info.
Not sure if its tracking correctly though because the code shows up in Firebug but not when simply viewing the source for some reason...?
Taking Dolphin and Making Profitable Websites Since 2009 :) |
I added the code to the language key that appears when a user joins and submits valid info.
Not sure if its tracking correctly though because the code shows up in Firebug but not when simply viewing the source for some reason...?
Update, it seems to be tracking conversions for both adwords and facebook this way just fine.
Taking Dolphin and Making Profitable Websites Since 2009 :) |