Giter VIP home page Giter VIP logo

Comments (1)

patricksalo avatar patricksalo commented on September 26, 2024

I can confirm that using campaign and source initially don't appear to work. Last month I started using GoatCounter to track a campaign and spent several hours trying to get it to work and just like rouili, nothing would show up in the Campaigns widget in the dashboard. At some point things magically started working.

Now move forward to today. Yesterday I was updating my prior campaign with new parameters for a new campaign, and yet again, I couldn't get this new campaign to show up in the dashboard. I tried switching over to utm_source, tried a campaign with no source, etc. I updated GC from 2.4.1 to 2.50, tried manually invoking the Settings ยป Background tasks, tried all kinds of different browsers, etc. All to no avail.

Here I am the next day and 12 hours later, and lo and behold, GC now shows this new campaign in the dashboard including all the hits that occurred yesterday when I was trying to get things to show up. Also now that this new campaign is visible in the dashboard, if I hit one of my new campaign URLs, I can immediately see the hit in the dashboard (within a few seconds to minute). @arp242 My guess is there's some kind of display bug here that is time based.

Upon a bit more sleuthing this morning, I've also discovered that all of my hits are only showing up for today and I'm seeing zero for yesterday (e.g. all of last night's hits are attributed to today's date, not yesterday). Coincidentally I was also testing this out yesterday from 18:00 - 22:00 my time (Pacific) and within my GC Profile I have this time zone selected. Is GC maybe using UTC for all time calculations and hence all date selections in the Dashboard aren't based upon your local timezone? This might only be a piece of the puzzle though (or maybe an entirely different issue?) as last month when I started down the campaign path, I was doing all my work on the other end of the day, mornings from about 09:00 - 11:00 (Pacific).

Let me know if there's any logs or troubleshooting I can provide. Also if it helps, I'm using PostgreSQL for my backend db.

P.S. One more thing to add to help root cause this. I did notice last night that I couldn't get my current (last month's) campaign to show any new hits or increment in any way. So in essence when I departed my GC sleuthing, I couldn't get GC to display any campaign hits, whether for the current campaign or the new one I was adding. Also just like with my new campaign, this morning I'm now seeing hits I was doing yesterday to the old/current campaign. So there's definitely some indication that maybe GC hits a point somehow, where it's capturing hits, just not displaying them until later whether it's a wait until the day rolls over or a wait X# of hours and things somehow get rectified.

from goatcounter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.