pixel: Use user id36 rather than user name.

This commit is contained in:
Brian Simpson
2015-01-06 00:43:44 -05:00
parent 94984b78af
commit 5863fb6b8f
2 changed files with 2 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ def get_srpath():
def get_pageview_pixel_url():
"""Return a URL to use for tracking pageviews for the current request."""
data = [
c.user.name if c.user_is_loggedin else "",
c.user._id36 if c.user_is_loggedin else "",
get_srpath(),
c.lang or "",
c.cname,

View File

@@ -125,7 +125,7 @@ int main(int argc, char** argv)
switch (field_index) {
case FIELD_USER:
/* we don't use the username; skip it */
/* we don't use the user id; skip it */
break;
case FIELD_SRPATH:
fputc('\t', stdout);