: How to use google ecommerce to track the registrations? I am using the below code for tracking the registrations var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxx']); _gaq.push(['_setDomainName',
I am using the below code for tracking the registrations
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxx']);
_gaq.push(['_setDomainName', 'website_name']);
_gaq.push(['_trackPageview'],);
_gaq.push(['_addTrans',
'12121212',
'title',
'1.00',
'',
'',
'',
'',
''
]);
_gaq.push(['_addItem',
'12121212',
'title',
'JOb App',
'Email',
'1.00',
'1'
]);
_gaq.push(['_trackTrans']); //submits transaction to the Analytics servers
(function() {
...
})();
}
But my confusion is, _trackPageview is having no value. Is it OK to have NO value ?
It is not reporting anything in Google analytics.
Thanks
More posts by @Welton855
1 Comments
Sorted by latest first Latest Oldest Best
If you do not need it do not use it. It's not meant to generate pageviews. It's used to generate events.
What is _trackPageview and how can it help me?
Google Analytics' _trackPageview is a function for use on ga.js
tracked sites that allows you to track events on your site that do not
generate a pageview. Using the _trackPageview JavaScript, you can
assign a specific page filename to Flash events, JavaScript events,
file downloads, outbound links, and more.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.