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.

    How to add Javascript snippets

    General Discussion
    2
    3
    264
    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.
    • S
      Stephen Alsobrook last edited by

      I'm new to website building and wanted to try adding an app to my site here but not quite sure how to do it.

      If I want to add a javascript snippet to the bottom of the <body> tag of a page, how would I do that?

      1 Reply Last reply Reply Quote 0
      • Daniel Mulroy
        Daniel Mulroy last edited by Daniel Mulroy

        HI @Stephen-Alsobrook ! Welcome.

        You've got two options:

        1. You can add a "JavaScript Source Code Embedded" element as described here:
          https://support.appdrag.com/blog/48-.html

        2. Go into that page's settings -> Advanced tab -> "Insert HTML before end of body"
          And paste the javascript snippet from your app there.

        Note, for option two, your snippet should start with <script> and end with </script>.

        Cheers!

        1 Reply Last reply Reply Quote 2
        • S
          Stephen Alsobrook last edited by

          Thanks, that was exactly what I needed!

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