window.dataLayer = window.dataLayer || []; window.dataLayer.push({'event': 'ipAddressAvailable', 'ipAddress': '123.456.78.9'}); //replace '123.456.78.9' with visitor’s ip address