DNN Forums

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

Google Analytics 4 - how to add?

Sort:
You are not authorized to post a reply.





Growing Member





    UA tracking ID will be retired soon.

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

    How do we best integrate Google Analytics 4






    Advanced Member





      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.

      Ing. Marco Alvarado Gómez MSc | Globalode
      Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
      Address. Costa Rica (A Pura Vida place!).





      Advanced Member





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

        Ing. Marco Alvarado Gómez MSc | Globalode
        Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
        Address. Costa Rica (A Pura Vida place!).
        You are not authorized to post a reply.

        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