Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Track Number Of Times This Link Is Clicked?Track Number Of Times This Link Is Clicked?
Previous
 
Next
New Post
8/21/2011 10:16 AM
 
Hi All!

I hope this is the correct place to ask this.

I turned on link tracker but are wondering where on earth I can actually see the stats. Using DDN 5.6.3(?) I think.

On research it looks like retrieving the data myself via a sql script. Is there another way around this?

Cheers,

Matt
 
New Post
8/21/2011 11:11 AM
 
There is a control for this (controls\urltrackingcontrol.ascx) but i dont believe it's exposed anywhere at present - and as it's outside the admin/desktopmodule folders you cant simply add it to a module to display. Please log an enhancement request to support.dotnetnuke.com so we're reminded to finish this functionality.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/30/2011 1:33 PM
 

I've had a lot of luck with a little SQL script I wrote and the reports module.  Add the reports module to a page and set it's SQL to:

select distinct 
case  when f.[FileName] is not null then f.[Folder] + f.[FileName]  
when t.[TabName] is not null then t.[TabName]
else ut.[Url] end
as 'Url, File or Page', 
COUNT(*) as Clicks from UrlTracking ut
left outer join UrlLog ul on ut.[UrlTrackingID] = ul.[UrlTrackingID]
left outer join Files f on ut.[Url] = 'fileid=' + convert(varchar,f.[FileID]) 
left outer join Tabs t on ut.[Url] = convert(varchar,t.TabID)
group by ut.Url,f.[FileName],f.[Folder],t.[TabName]
order by Clicks desc

Make sure the Auto Run Script option is checked.  The script doesn't return 0 counts, but it could be tweaked to do so.  You could also add dates fields with the CreatedDate field in the UrlLog table.

Hope that helps anyone else needing something down and dirty.  

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Track Number Of Times This Link Is Clicked?Track Number Of Times This Link Is Clicked?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out