Skip to content

Tag: google-analytics

Google Analytics Event Datetime

I have the javascript code below to trigger an event each time a visitor is clicking on a specific element on the page. The problem is with the datetime (dimension3), because it’s in PHP I only get the time of when the page was loaded and not the time of the click. Any idea how I could get the time