DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Microsoft Fabric Data Analytics

 7 Replies
 3 Subscribed to this topic
 31 Subscribed to this forum
Sort:
Author
Messages
Advanced Member Send Private Message
Posts: 195
Advanced Member

We need to get the DNN website statistics (user login, page visits, link click etc.) to Microsoft Fabric.

What are the options in DNN? Best Practice?

Senior Member Send Private Message
Posts: 1465
Senior Member

I don't think there are any published best practices for something like this.  The community used to do a good job of publishing content for scenarios like this, but there are so many things to potentially integrate into DNN these days.  DNN includes a ton of ways to integrate other platforms/services.  In your case, I'd suggest looking at the events system in the API and start there. 

Another potential way could be to build a theme object that makes calls to the Fabric API using a client-side API call.  

Veteran Member Send Private Message
Posts: 764
Veteran Member

No best practices, as Will said. But for statistics, everyone uses Google tag manager and/or Analytics. Alternatively, you can use Matomo / Piwik Pro As you are looking to get things to Fabric, you could also take a look at Microsoft Clarity.  Things might be easier to get in the data lake when it's all from the same vendor.

To get the number of user logins, you want to use the DNN Api to get things in Fabric.

Cheers

Tycho

Advanced Member Send Private Message
Posts: 195
Advanced Member
In older DNN versions there was a site log you could enable on host level. It showed the basic statistics of the website: link click, visited pages, user login etc... I can't find it anymore? no interface? Is the data still available in database tables?
Senior Member Send Private Message
Posts: 1465
Senior Member
Posted By Willem on 12/3/2024 12:59 AM In older DNN versions there was a site log you could enable on host level. It showed the basic statistics of the website: link click, visited pages, user login etc... I can't find it anymore? no interface? Is the data still available in database tables?

This was the former Site Log module that you're referring to.  It since had been removed from DNN and put into its own repository as an optional extension you can install.  

DNN Site Log Module

However, you should know that the primary reason this was removed is two-fold: 

  1. Third-party options that work better are way too plentiful and easy to integrated into DNN. 
  2. Doing the Site Log processing on the same site can cause major performance issues and/or require you to upgrade your server resources sooner than would otherwise be necessary. 

 

Veteran Member Send Private Message
Posts: 1179
Veteran Member

You could also use DNNCommunity/Dnn.WebAnalytics. Find an example here: DNN Community Website Metrics ;-)

Happy DNNing! Michael

Michael Tobisch
DNN★MVP

DNN Connect
Advanced Member Send Private Message
Posts: 195
Advanced Member
I assume this works on the sitelog table? It's empty... how do I enable sitelog so the tables get filled with data? no interface options anymore... in database (host settings)?
Advanced Member Send Private Message
Posts: 195
Advanced Member
Tried this but sitelog table still empty: INSERT INTO HostSettings (SettingName, SettingValue, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate) VALUES ('EnableSiteLog', 'True', -1, GETDATE(), -1, GETDATE()); INSERT INTO PortalSettings (PortalID, SettingName, SettingValue, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate) VALUES (3, 'EnableSiteLog', 'True', -1, GETDATE(), -1, GETDATE()); INSERT INTO PortalSettings (PortalID, SettingName, SettingValue, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate) VALUES (3, 'SiteLogHistory', '1', -1, GETDATE(), -1, GETDATE());

These Forums are dedicated to the discussion of DNN Platform.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved