Oh, I see. It's a simple reason. Thanks for pointing it out. I will be
careful.
soichi
2011/6/2 Tomas Hlavaty
> Hi soichi,
>
> > May I ask why I shouldn't do this ?
>
> data protection, privacy. Some people don't like being spied on, esp by
> untrusted third-parties not related to your webs
Thanks for your reply.
>> Hi. I would like to add a Google Analytics tracking code to the
>> exported html file from an org-file.
>ah, please don't do that.
May I ask why I shouldn't do this ?
2011/6/1 Tomas Hlavaty
> Hi soichi,
>
> > Hi. I would like to add a Google Analytics tracking code
Hi Tomas,
Tomas Hlavaty wrote:
>> Google Analytics code is between and .
>
> You could sneak it in using #+STYLE or org-publish-project-alist :style.
Wouldn't it make more sense to put it in `org-export-html-scripts'? (untested)
Best regards,
Seb
--
Sebastien Vauban
Hi soichi,
> Hi. I would like to add a Google Analytics tracking code to the
> exported html file from an org-file.
ah, please don't do that.
> code is between and .
You could sneak it in using #+STYLE or org-publish-project-alist :style.
Cheers,
Tomas
Hi. I would like to add a Google Analytics tracking code to the exported
html file from an org-file.
According to the instruction of GAnalytics, the tracking code must be right
before "" tag. And I assume it's OK as long as the code is between
and .
The tracking code needs to be in the html file