DNN Forums

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

Google Analytics 4

 5 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 18
New Around Here

What is the best way to add the new Google Analytics 4 property to a DNN site?

How do you modify the SiteAnalytics.config file to handle the google tag manager?

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
Persona bar - Settings - Config manager - Siteanalytics.config
New Around Here
Posts: 18
New Around Here

Hi Tycho

Yes i am aware of where to edit it, but how do i change the existing script to accomodate the new Google analytics ie google the manager

what script should I use?

My existing SiteAnalytics.config looks like this:



    
        
            DotNetNuke.Services.Analytics.GoogleAnalyticsEngine, DotNetNuke
            Head
            False
            
                         
                
        
          ]]>
            

        

    

How do I change it to accommodate the Google Tag Manager:

<!-- Global site tag (gtag.js) - Google Analytics -->

 

 

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
Posted By Brent Wilson on 28 Oct 2020 03:30 PM

Hi Tycho

Yes i am aware of where to edit it, but how do i change the existing script to accomodate the new Google analytics ie google the manager

what script should I use?

How do I change it to accommodate the Google Tag Manager:<!-- Global site tag (gtag.js) - Google Analytics -->

Step 3 of the installation on https://github.com/40fing...ag-Manager-Connector

 

 

Growing Member
Posts: 37
Growing Member

Was this ever solved? For Google Analytics 4

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

Yes, the GTM connector was integrated in core

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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