0
We use ReDJ to redirect from a URL that doesn't point to an article, to redirect to an external website. We do this so it logs how many times a person has clicked on a link.
For example...
Users clicking on www.oursite.com/1001 are logged as a hit and then redirected to www.anothersite.com
www.oursite.com/1001 has a hit of 1 at this stage. This increases by 1 each time the URL is clicked.
We want to display these hits as graphs etc using Content Statistics - is this possible please?
For example...
Users clicking on www.oursite.com/1001 are logged as a hit and then redirected to www.anothersite.com
www.oursite.com/1001 has a hit of 1 at this stage. This increases by 1 each time the URL is clicked.
We want to display these hits as graphs etc using Content Statistics - is this possible please?
Responses (7)
-
Accepted Answer
0hello
if the links created by ReDJ are "joomla internal", then they can be recorded by Content Statistics if we develope a plugin for it.
the truth is I'm not familiar with ReDJ. is it a joomla component? or, in any case, does the clicks get stored in the joomla DB (one entry per click, including the date and time)? -
Accepted Answer
0Hi germi, thank you for your quick reply.
I'm really new to Joomla and have only started building the website today so please bear with me. I have pasted below the line from the database that ReDJ stores the redirct info in...
INSERT INTO `jml_redj_redirects` VALUES ('1', '/~ourwebsite/1001', 'http://www.anotherwebsite.com', '301', '0', '1', '1', '2', '2012-05-16 06:19:22', '0', '1', '0', '0000-00-00 00:00:00');
The '2' above indicates the number of hits to the ourwebsite/1001 URL. This increases by 1 each time someone follows the link.
ReDJ is a Joomla extension (component & plugin) - more info here http://extensions.joomla.org/extensions/site-management/url-redirection/7189
The upgrade version (which I intend to purchase once I'm finished testing), allows for internal redirects so I'm hopefull this will work based on what you have said about that.
Do you think it is likely this will work with Content Statistics?
Appreciate your help. -
Accepted Answer
-
Accepted Answer
0ok, you made it pretty clear, thanks!
well, the MySQL does not help content statistics (although, thanks for pasting it!) because it simply "increases". but that's ok.
in any case, the IMPORTANT thing is that ReDJ is a joomla component, this means that a plugin can be written for Content Statistics to be compatible with it, if I'm not wrong.
this plugin is of course not available currently, but it could be developed specially for you if you were interested. if you want to talk this further please feel free to contact me directly at joomlastatistics@gmail.com
Germi -
Accepted Answer
0Thanks for that. I think I'm going to get a new redirection extension made that logs the data and time of the hit as well as I want the statistics to be filterable monthly, weekly, annual etc. As it stands it would just report the number of hits ever, which isn't very useful.
I'll be in touch once I've got that bit sorted. -
Accepted Answer
0yes I understand what you need - what I'm saying is that this that you describe can be done by Content Statistics (that is exaclty what Content Statistics does!), filtering by any data range and all. it's simply that you need a plugin that allows Content Statistics to record all that.
do you understand how Content Statistics work? there is a "core plugin", and then there is an extra extension plugin for each of the extensions you want to record data from (K2, Zoo, JomSocial..). in your case, this second part (the extension plugin) is what needs to be develped. -
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 »