Create analytics.py