EGoogleAnalytics.php analytics.js functionality

Added functionality to generate code compatible with analytics.js