Commit graph

10 commits

Author SHA1 Message Date
Gavin Atkinson
4e718926f2 Ensure the Google Analytics code only runs when served from FreeBSD.org
or google.com servers.  This was always the intention, but due to a bug
it would also run when (for example) accessed via
http://www.freebsd.org.nyud.net.

Approved by:	webstats (eadler)
2014-10-14 23:32:42 +00:00
Eitan Adler
7e2c91e491 Ah ECMAScript, how I wish you were sane.
Approved by:	doceng
2013-06-12 21:45:27 +00:00
Eitan Adler
82e6e39154 Fix GA on the website. The version as committed now does not function.
Note that different browsers implement different methods of DNT and
that some chosen values for the JS API has changed sine this was originally implemented.

Approved by:	doceng
2013-06-12 20:52:31 +00:00
Glen Barber
bbd96fdbd5 Check for boolean 'true' case of w.n.dNT.
Submitted by:	des
Approved by:	doceng (implicit)
2013-06-06 11:49:53 +00:00
Eitan Adler
e252d41c95 Permit the "In-Page Analytics" anylitics features to work.
These include
- the "browser size" tool
- the "show hotspots" and "show bubbles" tool

Approved by:	doceng
Hat:		webstats
2013-01-17 03:32:17 +00:00
Eitan Adler
4b36ddbfee Anonymize the last octet of the IP address. This is a tradeoff of
privacy vs geo-ip accuracy.

Approved by:	bcr, jkois (mentors, implicit)
2012-12-06 12:35:53 +00:00
Eitan Adler
124be1816f Enable Google Analytics
Approved by:	doceng
Approved by:	core
2012-12-05 01:44:12 +00:00
Eitan Adler
f5c4c5d41c I maintain the Google Analytics file and must approve changes.
This should have been here since it was committed.

Implement DNT checks

Make enable/disabling the flip of an obvious switch.

Remove pointless custom variable (it doesn't work anyways)

Fix some style errors

Add a file allowing Google to verify that I "control" freebsd.org

Reviewed by:	doceng (gjb)
Approved by:	bcr (mentor)
2012-12-05 01:43:27 +00:00
Hiroki Sato
35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00
Hiroki Sato
282a032540 - Remove junk directories.
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate
  information in the www and the doc directory.
- Add various administration files to svnadmin.
 
Approved by:	doceng (implicit)
2012-05-17 02:51:08 +00:00