seo - What is the maximum number of url parameters that can be added to the exclusion list for google analytics -
i set profile google analytics. have several dozen url parameters various pages use , want exclude. luckily, google has field can modify under general profile settings [exclude url query parameters:]
. of several dozen items have working, , not being considered part of url. except parameter propid
i added propid
comma separated list on monday. but, everyday when check ga, sure enough coming through parameter still attached.
so, trying exclude many parameters? couldn't find documentation on ga's site there limit.
here exact content of exclude url query parameter field
there reason there many bh before me didn't know difference between get/post.
propid,account,pp,kw1,kw2,kw3,sortby,page,msg,sd,ed,ea,ec,sc,subname,subcode,sa,qc,type,code,propid,acct,minbr,maxbr,minfb,maxfb,minhb,maxhb,minrm,maxrm,minst,maxst,minun,maxun,minyb,maxyb,minla,maxla,minba,maxba,minuc,maxuc,card,print,year,type
update
i thought after more time had passed "bad data" fall of of ga. of yesterday still reporting on propid querystring value despite adding other variables exclude list.
update2
i found post on google https://www.google.com/support/forum/p/google+analytics/thread?tid=72de4afc7b734c4e&hl=en
it reads field allows 255 char, ok. problem solved. except field of values 247 charcters.. arggghh!
*update 3 *
so here code i've added googleanalytics.asp include page goes @ top of of asp classic pages. can see flaw in design? don't care query string info. (it have been named *.inc, having intellisense working)
<script type="text/javascript"> <% gapagedisplayname = request.servervariables("path_info") %> var _gaq = _gaq || []; _gaq.push(['_setaccount', 'ua-20842347-1']); _gaq.push(['_setdomainname', '.sc-pa.com']); <% if gapagedisplayname <> "" %> _gaq.push(['_trackpageview','<%=gapagedisplayname %>']); <% else %> _gaq.push(['_trackpageview']); <% end if %> (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); })(); </script>
update 4
i'll accept answer if include talking original question. question specific, wanted know number of characters google allows. included in original question body backfill question put in context.
might suggest alternate solution reliance on manually excluding of these (and feasibly any string ever used)?
i'd suggest passing parameter trackpageview function 'force' recording of manually/programatically set 'page name' value. whereas default, ga records/defines page based on unique url, inclusion of pagename parameter associate pageviews of page parameter pageviews single page.
for example, standard ga pageview code looks this: _gaq.push(['_trackpageview']);
, whereas inclusion of specific page name looks this: _gaq.push(['_trackpageview', 'homepage']);
. latter, presuming homepage @ www.site.com, regardless of how page accessed ga consolidate pageview stats 'homepage'. so, www.site.com/index.php, www.site.com/?a=b , www.site.com/?1=2&x=y report 'homepage' if 1 page.
the drawback here need incredibly careful around occurences of pagination, nested pages, content swapping, site search, or functionality may in fact rely on use of query strings; may need consider logic on how page name values output, rather attempting define on per-page basis depending on site of site(s).
hope that's helpful!
Comments
Post a Comment