Objectives and Sequences

I only have a page (default.aspx) on my site and I want to customize this page for Google Analytics goals and funnels. can anyone help me what should i do to get set up to achieve the goal?

Regards, Sagar

0


a source to share


2 answers


You can have one dynamic page with multiple steps. The key to logging every step with GA is to call the urchinTracker method and pass in the url you want to record in order to record it.

After you manage the GA record entries for each step, you can add the last page as the target and intermediate pages in the sequence.

We have a three-step registration process that is done from a single ASPX ( /registration/register.aspx)

) page . I printed the following GA code on the page, increasing the number of steps each time;

<script type="text/javascript">
    _uacct = "UA-1234567-1";
    urchinTracker('/registration/Step1.html');
</script>

      

On our last page, I am redirected to my registration.aspx page and usually call GA



<script type="text/javascript">
    _uacct = "UA-1234567-1";
    urchinTracker();
</script>

      

Sequence of goals:

/register/acknowledgement.aspx

/registration/Step1.html
/registration/Step2.html
/registration/Step3.html

      

Perhaps Google will explain this better; https://www.google.com/support/googleanalytics/bin/answer.py?answer=55514&hl=en_US&utm_id=ad

+2


a source


You need two pages - this is what I did because it was easy. Google Analytics records success as visiting a specific page. The number of visits to the landing page pages in your click. The number of times people click and make at least one more click on the conversion page in your conversion rate.

If you really need a one page solution, you can add a button and postback event, say



protected MyButtonClick(...)
{
   Page.Controls.Add(new literal("...google conversion widget code...")
}

      

But the URL will still match from Google's point of view. The next step would be to try to rewrite the URL with an HTTP handler to simulate multiple pages with just one aspx page.

+1


a source







All Articles