updated how clicks are record in order to eliminate duplication