Maximise your Avios, air miles and hotel points

Forums Frequent flyer programs British Airways Executive Club What BA knows about us when we enter a lounge

What BA knows about us when we enter a lounge

  • Marc

    Maybe that’s just me being a nerd, but I made some (sort of) interesting observations when reverse engineering the code of the BA lounge occupancy page.

    It’s this one here and it looks like it drives the displays in T5 to show lounge loads.

    First of all, clearly this URL was not meant to be published publicly but thanks to a kind soul here on the forum it was shared.
    Secondly, everything below are my observations and interpretation of the code and should only be seen as hypotheses.

    When they installed the displays in T5, I first assumed they’d use the data from lounge check-ins and (as you don’t check-out of the lounge) just keep each entry active for an average stay time of an hour or so. But as the page is hosted on it looks like the system is layered onto their CCTV footage using AI to determine loads.

    A look into the code, where quite a few bits of script are visible, reveal interesting things:
    – There’s a total of 12 zones (not sure if these might consist of more than one camera each) used to gather data
    – They track data for ALL BA lounges at T5 – i.e. including CCR and Arrivals
    – They only show loads for First and the Club lounges on the page for the terminal displays
    – Quite a few further information are gathered to analyse whose visiting (more on that later)
    – In fact, I’d say the terminal displays showing the loads are just a nice by-product

    Let’s start with the the names of all zones.
    There are 6 primary zones:
    – Arrivals Lounge
    – Concorde Room
    – First Lounge
    – Club Lounge South
    – Club Lounge North
    – Club Lounge B Gates

    And 6 additional zones that are linked to the primary zones above – it looks like these are set up for lounges with multiple entrances:
    – £m Door Entry (linked to the Concorde Room zone. I also love that they literally call it that in their code (for reference:
    – Atrium Reception (linked to the Concorde Room)
    – Atrium Reception (linked to First lounge)
    – First Wing Entry (linked to First lounge)
    – Escalator Entrance (linked to Club Lounge South)
    – Elevator Entrance (linked to Club Lounge South)

    Let’s take a closer look at the code.
    I’ll not go into detail about some of the technicalities but rather break down a few key pieces of information.

    – The primary zones were set up on 2022-05-03, the additional ones 2022-06-13

    – The absolute maximum capacities set for each lounge are:
    Arrivals: 126
    CCR: 188
    First: 418
    Club South: 627
    Club North: 305
    B Gates: 232

    – Each lounge has a ‘comfort factor’ that’s set to:
    80% for Arrivals (=101) and First (=334)
    60% for CCR (=113)
    85% for Club South (=533), North (=259), B Gates (=192)

    – And finally, there are some imho pretty interesting attributes I found about what’s getting tracked:

    So while they track basic demographics like
    – gender
    – age-group

    they also track
    – if you are a repeat visitors
    – your ‘engagement’ – not sure about the factors for how they measure this
    – distancing (assuming this related to social distancing)
    – if people wear a mask – well, only maybe as ‘mask’ could be used in a different technical context here

    That’s it. Of course, nothing is ground breaking here. And maybe this isn’t really interesting for anyone else anyway, but as a tech and data nerd, I enjoyed it 😀


    Great work! Take a gold star.


    You’ll probably find that half the people on here are nerds but most don’t have anything like that level of tech skills. I found it fascinating thank you!


    Thanks a lot! 🙂

    I’ve also tried to see if it’s possible to show CCR and Arrivals data on the page, but unfortunately those datasets are not available.

    You can get actual numbers for the last 10 minutes for First & Club lounges though.
    This is from this morning when I went through the code:

    Timestamp, Entries, Exits, Current occupancy


    Good work! I wonder if they have these for any other airports..


    Very well done!

    I’m sure now they’ll hide the scripts 🙂


    Intriguing, thanks.
    Great thread title too. Am tempted to start the obvious next one titled “What BA IT knows about what we know” for documenting if anything suddenly gets changed on this “never intended for public consumption” website and coding.
    That should interestingly reveal that someone in BA IT follows this forum and selectively decides which of the known open IT stable doors gets bolted shut, and which remain wide open.


    This is very cool. Thank you for sharing!


    @Marc in awe of your IT skills…I think BA need you! Thank you for sharing- very interesting.


    I have no idea what I just read but it was interesting reading!

    Lady London

    Hum. scary on personal data gathering. Hearing that ‘Twilight Zone’ jangly music


    Hum. scary on personal data gathering. Hearing that ‘Twilight Zone’ jangly music

    If you genuinely have privacy concerns, you should be much more worried about people’s home CCTV/doorbells and their illegal data gathering. See Fairhurst v Woodard [2021] 10 WLUK 151

    Andrew J

    Bets on the number of days before BA now shut down that site?


    Hum. scary on personal data gathering. Hearing that ‘Twilight Zone’ jangly music

    This is something that is so minor and so small in the world of personal data tracking, I feel you would be horrified if you knew what else is being collected all around you!


    Wow. You are my idol! I wish I could do stuff like this. I’m a data tech geek myself, but Marc if you are Ronaldo, I’m Eric Prunier!

  • You must be logged in to reply to this topic.

The UK's biggest frequent flyer website uses cookies, which you can block via your browser settings. Continuing implies your consent to this policy. Our privacy policy is here.