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


    Cloudron Forum

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

    Solved Ackee - tracking.js missing

    Ackee
    5
    12
    616
    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.
    • J
      JLX89 last edited by

      Hello,
      It seems that the logs are showing the following error for Ackee:

      Feb 15 20:36:34 [Ackee] › ⚠ warning /tracking.js?ver=1.0.0 not found

      I attempted to take a look inside /home/yellowtent/appsdata/{app-id}/data but didn't see anything listed aside from the standard files.

      Any help with this would be greatly appreciated!

      Thank you

      girish 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @JLX89 last edited by

        @jlx89 Where are you seeing this log? In my logs, all I see is

        Feb 16 00:32:24 ==> Changing ownership
        Feb 16 00:32:24 ==> Starting Ackee
        Feb 16 00:32:25
        Feb 16 00:32:25 > ackee@3.0.2 server /app/code
        Feb 16 00:32:25 > node src/index.js
        Feb 16 00:32:25
        Feb 16 00:32:28 [Ackee] › … awaiting Connecting to mongodb://mongodb:27017/0eee7d7a9e98ddef
        Feb 16 00:32:29 [Ackee] › ✔ success Connected to mongodb://mongodb:27017/0eee7d7a9e98ddef
        Feb 16 00:32:29 [Ackee] › ▶ start Starting the server
        Feb 16 00:32:29 [Ackee] › … watching Listening on http://localhost:3000
        
        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @JLX89 last edited by

          @jlx89 said in Ackee - tracking.js missing:

          Feb 15 20:36:34 [Ackee] › warning /tracking.js?ver=1.0.0 not found

          Also, the file name is tracker.js and not tracking.js . It's located in /app/code/dist/tracker.js which you can see using the Web Terminal

          J 1 Reply Last reply Reply Quote 0
          • J
            JLX89 @girish last edited by

            @girish Thanks for following up on this. So I found part of the issue, which was related to an outside system. I've gone ahead and fixed that and this issue has fixed itself.

            I'm working to see why information isn't flowing in from the trackers. Do you know if there is a way to see if Ackee is actually receiving traffic from the tracking codes? I have updated the CORS information per the documentation and the code seems to be loading fine on the sites.

            Thank you!

            marcusquinn 1 Reply Last reply Reply Quote 0
            • marcusquinn
              marcusquinn @JLX89 last edited by

              @jlx89 Does your browser have privacy tracker blocking or submit donotfollow preferences?

              We're not here for a long time - but we are here for a good time :)
              Jersey/UK
              Work & Ecommerce Advice: https://brandlight.org
              Personal & Software Tips: https://marcusquinn.com

              J 1 Reply Last reply Reply Quote 0
              • J
                JLX89 @marcusquinn last edited by

                @marcusquinn Thanks for replying. I actually disabled it, but it seems to have taken around 48 hours to actually start pulling data in. I think I'm good to go now, thanks again!

                1 Reply Last reply Reply Quote 1
                • MelodyKH3
                  MelodyKH3 last edited by

                  For anyone else who is trying to add Ackee to a Wordpress install. "SoapBerry" defaults to "tracker.js" but it should be 'tracking.js'

                  Adding this here because its the first result on google and it seems that's originally the problem this OP had.

                  girish J 2 Replies Last reply Reply Quote 0
                  • girish
                    girish Staff @MelodyKH3 last edited by girish

                    @melodykh3 you mean the other way around ? I do see that https://wordpress.org/plugins/soapberry/#description has a screenshot that defaults to tracking.js . I reported it here - https://wordpress.org/support/topic/ackee-tracker-file-should-be-tracker-js/

                    1 Reply Last reply Reply Quote 0
                    • J
                      JLX89 @MelodyKH3 last edited by JLX89

                      @melodykh3 Yes, this was a portion of the issue -- an outside hosted WordPress website using SoapBerry was hitting the server with the default tracking.js. I went into the plugin and changed the file name.

                      The other issues seems to have resolved over time with updating the CORS Headers in the env file. It ended up taking a good 72 hours for everything to work out.

                      humptydumpty 1 Reply Last reply Reply Quote 0
                      • humptydumpty
                        humptydumpty @JLX89 last edited by

                        Ackee & Soapberry work fine if you set it to use tracker.js, add the CORS headers in the env file and restart the app. The tracking worked immediately for me on multiple WP installs except one. There's some kind of conflict with the caching plugin (WP-Rocket) and I haven't looked into it yet.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          JLX89 @humptydumpty last edited by

                          @humptydumpty Yeah, I ended up figuring it out but it took some time. So I did also notice, if you're using bunny.net CDN, you need to include the tracker.js to be excluded from the CDN.

                          humptydumpty 1 Reply Last reply Reply Quote 1
                          • humptydumpty
                            humptydumpty @JLX89 last edited by

                            @jlx89 Thanks for the tip. That's the CDN that I'm using and it's with the site that I'm having trouble with 👌

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Powered by NodeBB