added tag preambles and didDetermineState tag application
updated stats functionality, still need to add total visits and average visit time
added total visits and average visit time