window.addEventListener("beforeunload", function(e) { var dataLayer = window.dataLayer = window.dataLayer || []; dataLayer.push ({ 'event' : 'beforeunload', 'timeOnPage' : new Date().getTime() - {{Page Load Start Time}} }); });

Fiction

Non-Fiction

Recent Posts

Author News

Subscribe now to receive a FREE copy of my award-winning short story, "The Uninvited Guest," along with author news, specials, and promotions