Implemented script tag for trackmetrics