Add g_analytics code