web traffic - Google analytics page view track -


hi there doing research on google anlytics. have got following code google analytics

var _gaq = _gaq || []; _gaq.push(['_setaccount', 'xxxxx']); _gaq.push(['_trackpageview']);  (function() {     var ga = document.createelement('script'); ga.type = 'text/javascript'; ga.async = true;     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';     var s = document.getelementsbytagname('script')[0]; s.parentnode.insertbefore(ga, s); })();     

it has _trackpageview parameter. above code automatically track keyword whether organic or paid data source or campaign or need send custom parameter it?

the code recognizes organic, referal , direct traffic automatically. if have adwords campaigns can set them "autotagging" in adwords interface , campaign info appended automatically. else there utm parameters - google provides handy tool create click urls parameters here: https://support.google.com/analytics/answer/1033867?hl=en

if don't add autotagging or utm paramaters cpc campaigns lumped organic search traffic.


Comments