This is a migrated thread and some comments may be shown as answers.

Google Conversion Code

3 Answers 79 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 17 Jan 2011, 07:56 PM
Hi

I have a usercontrol which is embedded in a Sitefinity 3.7 page.
This control is basically a Wizard which uses a RadMultipage.
I'm using RadAjaxManager to do a partial page update on the RadMultipage.

When the user gets to Step 3 of the wizard I want the following Google Conversion code to run.

    <!-- Google Code for enquiry Conversion Page -->
    <script type="text/javascript">
        /* <![CDATA[ */
        var google_conversion_id = 987110327;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "ffffff";
        var google_conversion_label = "_hkaCNm8sgIQt7fY1gM";
        var google_conversion_value = 0;
        /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/987110327/?label=_hkaCNm8sgIQt7fY1gM&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>

Can't find a way to get the Google Script to run at this point/partial page update.

Any ideas/input greatly appreciated.

Regards

Martin

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 20 Jan 2011, 02:30 PM
Hi Martin,

Please refer to the following help topics for more information on this matter:

http://www.telerik.com/help/aspnet-ajax/ajxredirectingtoanotherpage.html
http://www.telerik.com/help/aspnet-ajax/ajxcustomjavascript.html

Best wishes,
Maria Ilieva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Maria Ilieva
Telerik team
answered on 20 Jan 2011, 02:30 PM
Hi Martin,

Please refer to the following help topics for more information on this matter:

http://www.telerik.com/help/aspnet-ajax/ajxredirectingtoanotherpage.html
http://www.telerik.com/help/aspnet-ajax/ajxcustomjavascript.html

Best wishes,
Maria Ilieva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Martin
Top achievements
Rank 1
answered on 20 Jan 2011, 06:20 PM
Many thanks Maria

The 2nd link on custom javascript looks like it will do the trick...

Regards

Martin
Tags
Ajax
Asked by
Martin
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Martin
Top achievements
Rank 1
Share this question
or