Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Umami
  3. Setting COLLECT_API_ENDPOINT in Umami

Setting COLLECT_API_ENDPOINT in Umami

Scheduled Pinned Locked Moved Solved Umami
4 Posts 2 Posters 674 Views 2 Watching
  • 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.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by
      #1

      I noticed that the COLLECT_API_ENDPOINT endpoint supposedly needs to be set at build time... how does one go about doing this though when hosting in Cloudron? I've tried setting it and am not having any success. I've tried adding export before it too and restarting after saving the changes, no differences in behaviour though.

      I'm thinking this isn't working. Is there a different way this needs to be set? Has anyone configured this property yet by any chance?

      --
      Dustin Dauncey
      www.d19.ca

      girishG 1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        https://github.com/umami-software/umami/issues/1318 confirms that this is a build time variable. In the package, we source user environment variables after the build. I am trying to see if it changes anything if we source it before the build.

        1 Reply Last reply
        0
        • d19dotcaD d19dotca

          I noticed that the COLLECT_API_ENDPOINT endpoint supposedly needs to be set at build time... how does one go about doing this though when hosting in Cloudron? I've tried setting it and am not having any success. I've tried adding export before it too and restarting after saving the changes, no differences in behaviour though.

          I'm thinking this isn't working. Is there a different way this needs to be set? Has anyone configured this property yet by any chance?

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          @d19dotca Try the latest package, I was able to set to TRACKER_SCRIPT_NAME and COLLECT_API_ENDPOINT to get analytics past ublock origin. Something like:

          export TRACKER_SCRIPT_NAME=tellme
          export COLLECT_API_ENDPOINT=/api/teller
          
          d19dotcaD 1 Reply Last reply
          1
          • girishG girish

            @d19dotca Try the latest package, I was able to set to TRACKER_SCRIPT_NAME and COLLECT_API_ENDPOINT to get analytics past ublock origin. Something like:

            export TRACKER_SCRIPT_NAME=tellme
            export COLLECT_API_ENDPOINT=/api/teller
            
            d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by
            #4

            @girish that’s perfect, thanks so much! I’ll try this out tonight.

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply
            1
            • nebulonN nebulon marked this topic as a question on
            • girishG girish has marked this topic as solved on
            • girishG girish referenced this topic on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search