Reworked module as a prototype to cut down on duplicated track/click events. This has temporarily removed global namespace check, so that will need to be fixed. Separated click event from tracking to make it easier to manually call the tracking method if needed.