tag:support.berta.me,2012-03-15:/discussions/suggestions/4785-google-analytics-experimentberta.me: Discussion 2014-09-25T08:22:45Ztag:support.berta.me,2012-03-15:Comment/331329572014-05-27T07:17:19Z2014-05-27T07:17:19ZGoogle Analytics Experiment<div><p>Hi,<br>
try to paste this code in "settings - other settings - javascript
include" field like this:<br></p>
<pre>
<code><script>
//your code here
</script></code>
</pre>
this will be inserted right before closing BODY tag, but should
work anyway.</div>Uldistag:support.berta.me,2012-03-15:Comment/331329572014-05-27T13:38:08Z2014-05-27T13:38:08ZGoogle Analytics Experiment<div><p>Hello,</p>
<p>It didn't work. I realize now the experiment code was wrong in
the first question. I'll send you a capture of what analytics ask
me to do with the code.</p></div>valhidalgotag:support.berta.me,2012-03-15:Comment/331329572014-05-27T13:47:24Z2014-05-27T13:47:24ZGoogle Analytics Experiment<div><p>I would need to paste the analytic code in the head of the
section called wearetango-landing only, not in the hole site. Is
there a way to add it just in that section?</p></div>valhidalgotag:support.berta.me,2012-03-15:Comment/331329572014-05-28T08:45:47Z2014-05-28T08:45:47ZGoogle Analytics Experiment<div><p>Unfortunately it's not possible without modifying Berta
code.<br>
You need to edit file<br>
engine/js/BertaEditorBase.js<br>
and allow to use "script" tag in HTML editor.<br>
This way you will be able to paste your script in any entry
description field.<br>
Find the function "tinyMCE_ConfigurationsInit" and add "script" to
"valid_elements".</p></div>Uldis