I need to track and assign a monetary value to an action and am unsure the best way to proceed. The action: An out bound link. There is no .html or URL on our domain that could be used to track. It's a Calendar popup (think Booking a room) and they select the dates, then are immediately kicked out to a new site that handles the booking and the first part of the URL is always the same. Is Event Tracking in Analytics the way to go? Can someone point me in the right direction? Thanks!
You can use event tracking or virtual page view tracking. Add an onClick function call on the popup link, and call _trackEvent and _trackPageView GA function calls to do the job.
The event tracking or virtual page view tracking code is going to reside on the HTML page which has the popup link to calendar. So it doesn't make any difference where the calendar.js is hosted.
I want to setup event tracking on a blog post on a site. I want to track how many people click the image that will accompany the post and also how many people view the post. This is the example google give for the code to use: <a href="#" onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthday']);">Play</a> So for my custom event if I were to change 'Video' (the category name) to 'blog post' and 'Play' (action name" to 'clicks' would that work? Also where exactly on the site would I insert this code?