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  |  

ExactTarget - What's Your Score
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

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
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


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.

 


Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com

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