4

The XID (csrf_token in EE 2.8+) is used in POST forms to secure form submissions. A quick test shows that the XID isn't required for GET form submissions, so you can remove this from your GET form without running into issues. If you're using {exp:super_search:search} in your search form, the XID field is provided for you (it's a hidden field), and the only ...


4

Just to echo Johnathan's answer, I put my Google Analytics tracking code in a Global Variable (usually called footer) which is added to each template.


3

A quick Google search seems to indicate that it's the thumbnail icons that Coda continually regenerates, which will render the HTML (including your Google Analytics code). See this thread The solution they offered is to collapse the preview thumbnails into text. I don't have a copy of Coda, so I don't know exactly how to do that, but it sounds pretty ...


2

You could take a look at Google Tag Manager. I use it to inject GA code into our website pages and for click tracking purposes.


2

RewriteRule ^(.*)$ /index.php?/$1 Instead of... RewriteRule ^(.*)$ /index.php/$1 Normally the first thing I try when query strings go wrong!


2

Why do you have 3 sets of parenthesis around the member_id tag? Does it work if you simply use {member_id}? EDIT (after comments) I'm not completely sure how this should be set up as I've never used this (will need to get up to speed on it though) but based on what I see in the docs does this work; {if logged_in} ga('create', 'UA-XXXX-Y', { 'userId': ...


2

Put it in the template as opposed to in a field type. If you need to be able to change the number, just make that a field instead. Just put this in the template and replace {yourfieldhere} <script> var _gaq=[['_setAccount','{yourfieldhere}'],['_trackPageview']]; setTimeout("_gaq.push(['_trackEvent', '15_seconds', 'read'])",15000); (function(d,t)...


1

You have two good alternatives to CP Analytics: Republic Analytics shows a lot of information; Entry Analytics show info close to the entry on CP; Maybe, one of them shows what you need.


1

The better approach would be to exclude your development IP address/machines from Google Analytics. This has the added advantage that your testing/use of the site won't account towards your analytical tracking data.


Only top voted, non community-wiki answers of a minimum length are eligible