add contact analytics script to layout.html