MINOR bugfixes
also track event on page compile