24

I've been trying to dismiss some of the ads from "Looking for a job?" box; although after dismissal it says "Okay, you won't see this job anymore. Undo" I keep seeing them again (and again). Here are some screenshots before and after refreshing the page:

enter image description here enter image description here enter image description here

I think this is an issue just for nearby jobs that never get dismissed (my current location is Milan thus those near Milan). Don't know if it is a bug or a marketing strategy.

2
  • 3
    No, that's definitely a bug. I'll dig in and see what I can find here. Thanks for the heads up!
    – rossipedia StaffMod
    Commented Apr 28, 2017 at 16:19
  • 2
    try { "Find a job" } catch { "JobNotFoundException" } :D
    – JayVDiyk
    Commented May 1, 2017 at 15:29

1 Answer 1

26

Thanks for spotting this. Fix should be going up shortly.

TL;DR

As of a couple weeks ago, we stopped tracking who you were correctly when clicking on dismiss/undismiss.


Technical Details:

  • To determine who you are, we use your Stack Exchange Network account id if you're logged in, and if not, then we use a cookie.

  • For job ads, we include a version number in our analytic data (so we can always go back and process old/historic analytic data when we need to).

  • When dismissing / undismissing a job ad, there was some code that was looking at the version number of the analytic information sent along with the request to figure out how to access the account id, as it's different per version

  • We updated the analytic version a few weeks ago, but the code that checks on that version number was overlooked (my bad!)

  • This had the result of always using a cookie as the identifier for dismiss / undismiss requests. However, the code that filters out dismissed ads from being displayed was accessing the account id correctly, so the two systems were essentially disconnected.

  • That code was old anyways, and has now been replaced with more robust code that doesn't need to do the version checking.

I hope that clears things up!

4
  • 4
    Note: I'm currently fixing another unrelated bug preventing a Prod deploy, but this fix will go out as soon as possible.
    – rossipedia StaffMod
    Commented Apr 28, 2017 at 18:38
  • Wow that's like a lot of interesting stuff! It's crystal clear now! Thanks! :-)
    – hatef
    Commented Apr 28, 2017 at 18:53
  • 7
    Seeing what was causing the bug is sometimes more interesting than...really, just about anything. Commented Apr 29, 2017 at 1:07
  • 5
    @Draco18s Say bye to your weekend meta.stackoverflow.com/…
    – Braiam
    Commented Apr 29, 2017 at 1:45

Not the answer you're looking for? Browse other questions tagged .