Using native analytics embed

* Removing dependency on global `MAS` and `appendFile`