How to track popups

Rezith

Registered Member
Joined
Apr 12, 2012
Messages
81
Reaction score
16
Hi!

Can you guys suggest how can I track popups (for example on site hlw-wp.bigdropinc(dot)net/projects/ when click on some project). I want to see what project was clicked, how many times they was clicked and other stats. Google Analytics will work for it? If yes how it can be done? Or what you can suggest?
 
If you are using jquery and google analytics on your website:

Code:
$(function(){
$('.item').click(function(){
// you should get title or any other identifier for your item here
// eg.: var itemTitle = $(this).find('h3').text();
ga('send', 'event', 'items', 'click', itemTitle);
});
});
 
Last edited:
Back
Top