add class selector support to dom event tracking methods
optionally get dom tracker properties from a user provided function