emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Google Analytics tracking code for org-export-as-html
@ 2011-06-01  3:10 ishi soichi
  2011-06-01  5:06 ` Tomas Hlavaty
  0 siblings, 1 reply; 5+ messages in thread
From: ishi soichi @ 2011-06-01  3:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

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 "</head>" tag. And I assume it's OK as long as the code is between
<head> and </head>.

The tracking code needs to be in the html file every time I export it as
html.  So, I need to somehow add the code segment in the org-file.

#+BEGIN_HTML
...
#+END_HTML

This seems to add whatever between to a location after <body> tag.

Is there anyway to achieve this?

soichi

[-- Attachment #2: Type: text/html, Size: 756 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-02  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01  3:10 Google Analytics tracking code for org-export-as-html ishi soichi
2011-06-01  5:06 ` Tomas Hlavaty
2011-06-01  7:42   ` Sebastien Vauban
2011-06-02  0:52   ` ishi soichi
     [not found]     ` <87k4d4zo3y.fsf@logand.com>
2011-06-02  7:33       ` ishi soichi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).