That would be great and it would help us keep track of the request.

On Sat, Sep 15, 2012 at 12:19 PM, Henrique Gonçalves Abreu <
[email protected]> wrote:

> Thanks Jas.
> I should probably open an enhancement request on the issue tracker, right?
>
> Thanks again,
> Henrique Abreu
>
>
> On Thursday, September 13, 2012 7:18:56 PM UTC-3, ๏̯͡๏ Jasvir Nagra wrote:
>
>> Hi Henrique,
>>
>> Google Analytics is currently not supported under Caja.  We will be
>> looking at supporting it in the future.
>>
>> jas
>>
>>
>> On Mon, Sep 3, 2012 at 9:48 PM, Henrique Gonçalves Abreu <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I developed a web app using Google Apps Script (which cajoles my app
>>> page entirely).
>>> I'd like to know if it is possible to use Google Analytics on a cajoled
>>> page/script.
>>>
>>> If so, can anyone please give me an example, I'm trying the default
>>> snippet from Analytics help pages, but I had no success yet.
>>>
>>> <script type="text/javascript">
>>>>   var _gaq = _gaq || [];
>>>>   _gaq.push(['_setAccount', 'UA-XXXX-Y']);
>>>>   _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);
>>>>   })();
>>>> </script>
>>>>
>>>
>>> By the way, I'm completely new to Caja and Analytics, any help or tips
>>> is immensely appreciated.
>>>
>>> Thanks,
>>> Henrique Abreu
>>>
>>
>>

Reply via email to