implement track script attached to html