I'm getting familiar with google analytics and stumbled 
upon 
https://developers.google.com/analytics/devguides/collection/analyticsjs/pages#modifying_page_urls
 
in which the google docs recommend regexing out some unique ids. In django, 
it's a lot simpler to get something like /user/account/ from 
/user/USER_ID/account/ by using

  ga('set', 'page', "{{ request.resolver_match.url_name }}");


Is there any reason I should rethink that?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/17291c67-0126-4e1a-a497-50846b9eeed0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to