mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Track subdomains in GA.
This commit is contained in:
committed by
Neil Williams
parent
2a41ff7e3a
commit
eab526c060
@@ -426,6 +426,7 @@ ${unsafe(txt)}
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(
|
||||
['_setAccount', '${g.googleanalytics}'],
|
||||
['_setDomainName', '${g.domain}'],
|
||||
['_setCustomVar', 1, 'site', '${tracking.get_site()}', 3],
|
||||
['_setCustomVar', 2, 'srpath', '${tracking.get_srpath()}', 3],
|
||||
['_setCustomVar', 3, 'usertype', '${"loggedin" if c.user_is_loggedin else "guest"}', 2],
|
||||
|
||||
Reference in New Issue
Block a user