Scripts and sources for analytics