0
Hi,
i have this website:
http://facebook.bimot.co.il/index.php/%d7%99%d7%9c%d7%93%d7%99%d7%9d
i have bought content statistics and installed it.
now, the black button under each item is actually an extra field (which is a link) that takes me to an external site where i purchase the item.
so actually, the user never reach the "item page" itself in my site, and the count of the item doesn't happen.
what i need is that a click on the black button, will trigger the counter.
how can i do that?
thanx a lot!
dor
i have this website:
http://facebook.bimot.co.il/index.php/%d7%99%d7%9c%d7%93%d7%99%d7%9d
i have bought content statistics and installed it.
now, the black button under each item is actually an extra field (which is a link) that takes me to an external site where i purchase the item.
so actually, the user never reach the "item page" itself in my site, and the count of the item doesn't happen.
what i need is that a click on the black button, will trigger the counter.
how can i do that?
thanx a lot!
dor
Responses (3)
-
Accepted Answer
0well:
to COUNT a click, the component K2 must be called. Content Statistics can track everything that happens IN joomla. your link is external, so it does not use any joomla "gateway" so there is no way to directly track the clicks.
the only way I can think about is this (you need to have some programming knowledge to know what I mean):
- to add some kind of "onclick" javascript function to the button, so when it is clicked, the javascript code calls the K2 page for that item using AJAX (so the user actually views nothing), and that makes the click count.
do you know what I mean?
but you need some custom coding for that of course... ! it's not possible out of the box. -
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »