Analytic Logging Method

Added method to log to the new ANALYTICS table.