ga(function(tracker) { var domain = 'http://www.informed-scientist.org'; var clientId = tracker.get('clientId'); var frameWindow = document.getElementById('tisframe').contentWindow; setTimeout(function() {frameWindow.postMessage(clientId, domain)}, 1000); });