Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6067179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:34:50+00:00 2026-05-23T09:34:50+00:00

I have a short application form, where I capture some information, then redirect the

  • 0

I have a short application form, where I capture some information, then redirect the user to a third party website where they complete the application.

I am using Google Analytics (and a Google conversion tracker) to monitor the hits on our site. Therefore I have to direct to a “conversion page” with the Analytics Javascript and a redirect. Unfortunately my javascript is not getting called.

How would I ensure the Javascript is called before the redirect happens?

<head runat="server">
<title></title></head><body>
<script type="text/javascript" src="/scripts/Analytics.js"></script>
<script type="text/javascript" src="/scripts/Analytics2.js"></script>

<!-- Google Code for Filling out Form Conversion Page -->

<script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 964293672;
    var google_conversion_language = "en";
    var google_conversion_format = "2";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "H0y7CMi73wIQqOjnywM"; 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/964293672/?label=H0y7CMi73wIQqOjnywM&amp;guid=ON&amp;script=0" />
    </div>
</noscript>

    protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
         Page.LoadComplete += new EventHandler(Page_LoadComplete);
    }
}
void Page_LoadComplete(object sender, EventArgs e)
{
    Response.Redirect("https://anotherwebsite.com/c/transint?uri_b=ia_86894");
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:34:50+00:00Added an answer on May 23, 2026 at 9:34 am

    I have a third tracking script I need to add so I just used a JavaScript redirect in a jQuery docReady function.

    I used window.location.replace(…), as it doesn’t put the redirect page in browsing history.

    Thanks for your input @Aristos.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a console application which has target .NET 2.0 It is very short
Long story short, I have a substantial Python application that, among other things, does
Long story short, I have an ASP.NET application I'm trying to debug and at
I have some sort of a design problem with my Django AJAX application. I
i have written a small form application, which contains textbox only. I have enabled
For my C# Windows Form Application, I have created a flowlayoutpanel that contains several
I have an application where i HAVE to store unsigned short data in a
I'm writing a Catalyst application that's required to have a fairly short session expiration
I have an ASP.NET web form application that on the server side I need
I have a vb.net application that, when a short cut is pressed, a window

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.