add analytics to embed-preview.html