DNN Forums

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

Google Analytics 4 - how to add?

 2 Replies
 0 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 37
Growing Member

UA tracking ID will be retired soon.

https://support.google.co...47272#native-support

How do we best integrate Google Analytics 4

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

I recommend you using the Google Tag Manager for this.

  1. create an account for your website in Google Tag Manager
  2. You need to add code in the header and body for all pages in order for GTM to work. For the header you can add this code in the page settings section and for the body code just add an html module and add the code, then make sure you mark this module to repeat on all pages.
  3. Create a GA4 property from Google Analytics and from GTM create a new label for GA4 using the new property ID that you got from Google Analytics.
  4. After this, you can start creating labels in GTM to track actions that generate a ROI for your business such as webforms, whatsapp links, phone call links, among others.

You can also look at a video from youtube for further configuration using GTM: https://www.youtube.com/watch?v=_wq5nfKQ3DM

Hope this helps.

Regards.

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Another option, in the Forge section from this website you can find the google tag manager connector, https://github.com/40fing...ag-Manager-Connector

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