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-26T22:28:31Z2014-05-26T22:28:31ZGoogle Analytics Experiment<div><p>Hey Guys!</p>
<p>I'm trying to make a Google Analytics Experiment to see which
one of the landing pages we have in our adwords campaign works
better, but i'm in a little bit of trouble. I'm supposed to paste
this code immediately after the opening head tag at the top of my
experiment's original page, which would be this one: <a href=
"http://www.wearetango.com/wearetango-landing">www.wearetango.com/wearetango-landing</a>.</p>
<!-- Google Analytics Content Experiment code -->
<p>I can't find to paste it in the right place, tried to paste it
in the css field but didn't work. Can you help?</p>
<p>Thank you!</p></div>valhidalgotag: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