initial commit of google analytics tracking for toolshed

This commit is contained in:
Martin Cech
2014-11-04 10:31:15 -05:00
parent d6e0f23489
commit 3d86007c7c
3 changed files with 19 additions and 0 deletions
+2
View File
@@ -40,6 +40,8 @@ class Configuration( object ):
self.database_connection = kwargs.get( "database_connection", False )
self.database_engine_options = get_database_engine_options( kwargs )
self.database_create_tables = string_as_bool( kwargs.get( "database_create_tables", "True" ) )
# Analytics
self.ga_code = kwargs.get( "ga_code", None )
# Where dataset files are stored
self.file_path = resolve_path( kwargs.get( "file_path", "database/community_files" ), self.root )
self.new_file_path = resolve_path( kwargs.get( "new_file_path", "database/tmp" ), self.root )