Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    Google Tag Manager

    Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor)
    2
    6
    376
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Neil Ambikar last edited by

      Hi, Is there a better way to add google tag manager than to manually insert it into all the pages? Thanks

      1 Reply Last reply Reply Quote 0
      • Wassim
        Wassim last edited by

        Hi,

        Sure, add it globally in your project from the project configuration.

        https://changelog.appdrag.com/features/add-custom-html-code-on-your-entire-project

        1 Reply Last reply Reply Quote 0
        • N
          Neil Ambikar last edited by

          thanks, my only concern is google tag manager tells to put the code at the beginning of the body part and the editor offers to put before the end of the body part. Is there a solution for that? Also when I put the part to the body it shows an X next to the code. Is that a mistake? 9867ddf1-021a-410b-b950-3aa378dc739a-image.png

          1 Reply Last reply Reply Quote 0
          • Wassim
            Wassim last edited by

            You're welcome.
            I think you should put it in your head tag (source: https://developers.google.com/tag-manager/quickstart)

            You can hover the x with your mouse, but if it's a copy paste from google, I guess your code is ok and it must be a warning

            1 Reply Last reply Reply Quote 0
            • N
              Neil Ambikar last edited by

              in tag manager, there's a part that goes to the head and another that should go to the beginning of the body

              1 Reply Last reply Reply Quote 0
              • Wassim
                Wassim last edited by

                Right, put it in end of body it's ok.
                This part is a fallback just in case JS is disabled on the device opening your website which should be 0.0001% of visitors

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post