1
1
1nd1go2011-07-20 13:36:44
Google Analytics
1nd1go, 2011-07-20 13:36:44

Google Analytics: Landing Pages

Greetings!

I have a question, maybe a little strange.
I got the following construction in the code:

_gaq.push('_trackPageview', '/tracking/bla-bla);

The address of the page itself, which is tracked as a conversion, is different, not /tracking/bla-bla.

Question: will it work if in the analytics itself I specify the Goal url as the one in the function parameter, and not the real page url? Or does the address have to match the one in the browser, in the function parameter and in the goal url?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Denisov, 2011-07-20
@1nd1go

If you have a standard Google Analytics counter code on the page that contains a call:
_gaq.push(['_trackPageview']);
, then the real url of this page will be included in the statistics.
If later in the code, without restrictions by any conditions and without binding to any events (such as onclick) there is another call:
_gaq.push('_trackPageview', '/tracking/bla-bla');
, then the visit to the virtual page "/tracking/bla-bla" will also be included in the statistics.
Thus, in the statistics on the pages of the site, you will have a visit to two pages. To achieve the goal, you can define any of them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question