Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Links Module [L...  URL Tracking without Links module?
Previous Previous
 
Next Next
New Post 12/28/2007 5:51 AM
Unresolved
User is offline alberto velo
44 posts
10th Ranked


URL Tracking without Links module? 

Hello,
forgive the probably stupid question, but... does the url tracking functionality work with the Links module only, or can this be used in any custom module?

Pls see my other post http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/191903/scope/posts/Default.aspx

 

 

 
New Post 12/28/2007 6:48 AM
User is offline anonymous
0 posts
Unranked


Re: URL Tracking without Links module? 

It can be used by any module, you just need to use the proper api calls

 
New Post 12/28/2007 7:19 AM
User is offline alberto velo
44 posts
10th Ranked


Re: URL Tracking without Links module? 

 Alec Whittington wrote

It can be used by any module, you just need to use the proper api calls

Hi Alec,
thanks for answering. I think I'm using proper api calls, but probably miss something: I use an URLControl in my module, and see my urls are written to the UrlTracking table when I update my url:

Dim objUrls As New UrlController
Dim theURL As UrlInfo = objUrls.GetUrl(PortalId, ctlURL.Url)
objUrls.UpdateUrl(PortalId, ctlURL.Url, ctlURL.UrlType, ctlURL.Log, ctlURL.Track, ModuleId, ctlURL.NewWindow)

Then, when URL Tracking is enabled in the URL Control, I build my links as URLs that point to linkclick.aspx and pass a reference I biuld by calling Common.Globals.LinkClick:

 

Dim url As String = Common.Globals.LinkClick(myURL, PortalSettings.ActiveTab.TabID, myModuleId, True, True)

 

 

I can navigate the resulting url, or download files if it's of file type, without any problems, so I believe there are no errors in my code. But tracking and logging never get updated: I mean "linkclick.aspx" correctly resolves my urls, but it does not update statistics.
Must I do something more than this, to enable tracking and logging?

thanks,

al.


 
New Post 1/21/2008 3:37 PM
User is offline anonymous
0 posts
Unranked


Re: URL Tracking without Links module? 

You should have to do nothing more than check the proper boxes in the URLControl. Looking at your code, it looks correct.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Links Module [L...  URL Tracking without Links module?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP