Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Monday, December 01, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
General
The ever-powerful ListX module forum. Post your questions, new configuration ideas and reviews.
Subject: Insert Google Adwords conversion code

You are not authorized to post a reply.   
Author Messages
zymmetrical
Cruiserweight
Posts:141

01/24/2007 11:50 AM Alert 
I'm trying to incorporate the Adwords conversion tracking code on my 'downloads' page. For each product in the datalist, I want to show the conversion code, with the dollar amount customized to match that product. No problem on that part.. I just use my [PRICE] token.

This way we can track our sales conversion down to the cent. The problem: I need to stuff the following javascript into an IIF statement:

{IIF,"'[PAYMENTSTATUS]'='Completed'","google code goes here",""}

Here is the google code thats giving me grief. I still haven't figured out this escaping thing, plus i'm not sure if you can have linebreaks inside an IIF statement:


________________________

<!-- Google Code for purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 123456789;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "666666";
if (1) {
var google_conversion_value = [PRICE]
}
var google_conversion_label = "purchase";
//-->
</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/123456789/?value=[PRICE]&l
abel=purchase&script=0">
</noscript>
You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > General > Insert Google Adwords conversion code



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation