Match Coder guide
How to code a match, line up imported tags and send the result to PSA Hub. Written for analysts, with short parts for staff and the admin at the end.
1What's new in this version
October 2026
- Connect at least every 6 hours. The App keeps working with no internet for up to 6 hours after it last reached PSA Hub, signed in. After that it shows Connect to the internet to continue until it is online again. Your tags stay saved on the laptop, nothing is deleted, and Download backup on that screen saves a copy of them.
- The pad and the timeline in windows of their own. Pop out puts Live coding's pad (or Player coding's keys) and the timeline each in a window you can move to a second screen, as in Sportscode. Presses there tag at the video's time; the timeline follows the playhead. Bring back puts them back. See A second screen.
- The Match Coder App at coder.psanalytics.piqa.my: install it and it opens in its own window from its PSA icon, with a launch screen, straight to your matches. It works with no internet. See Get the App.
- Accounts and sign-in. The admin makes an account for each analyst and member of staff. Analysts send their matches to the Hub, staff edit squads and lineups, the admin does both and manages the users. See Sign in.
- Send to Hub and Mark final. The App sends a match's tags to PSA Hub and keeps sending each change. Once you mark the match final, the Hub's match page, player stats and Team Report use your tags, for signed-in staff only until the admin makes the match public. See Send to Hub.
- Imports as a timeline of their own. A Sportscode XML, an FC Python CSV, or a video file together with its tag file (Video with its tags) comes in as a separate timeline next to your own codes. Align to playhead lines it up with your video, and Leave out of stats keeps it from counting. See Imports.
2Get the App
Open coder.psanalytics.piqa.my. The Match Coder works there in a browser tab as it is, and you can install it as an app with its own window and icon.
Chrome or Edge (Windows, Mac)
- Press Install app in the App's top bar, or Install on the card Get PSA Match Coder as an app above the match list.
- Or use the install icon at the right end of the address bar.
- Not now hides the card on this computer.
Safari on a Mac (macOS Sonoma or newer)
- In Safari's menu bar choose File, then Add to Dock…
- Keep the name PSA Match Coder and press Add.
- Open PSA Match Coder from the Dock or Launchpad. It opens on your matches in a window of its own.
The card's Add to Dock button shows these steps.
Phones and tablets
On an iPhone or iPad, in Safari: tap Share, scroll down, tap Add to Home Screen, then Add. On Android, Chrome offers Install.
Moving tags from the Hub's coder into the App
The App keeps its own tags, apart from the Match Coder in a browser tab at psanalytics.piqa.my. Tags you coded there stay there until you move them across with a backup file. Nothing is deleted on either side.
- In the browser, open psanalytics.piqa.my, Match Coder, then Download backup above its list (or, in any match, Backup > Download backup).
- In the App, press Move tags from the browser on the welcome card and pick that file (it is called psahub-backup- and the date).
- Check what is in it, match by match, and press Move … tags in. Possible doubles are flagged, never dropped.
If the App is still empty it asks Is this backup from this laptop? Answer Yes to carry on as that laptop (its half markers and videos stay lined up), or No, it's a colleague's to merge it as another tagger's. Generated tags in the file stay behind: the App shows only tags someone coded. Later backups go in the same way with Merge a backup on the match list or in a match's Backup menu.
Updates
An installed App updates itself: it looks for a new version each time it opens and when you come back to it, and switches to it by itself. If you are coding a match at that moment it waits and says A new version of the Match Coder is ready: reload when you finish coding. A new icon or name can take up to a day to show; removing the App and installing it again shows it at once. Send or back up your tags before you remove it: removing an App can delete what it keeps (Chrome asks whether to clear its data, and an App in the Dock takes its data with it).
3Sign in
Clubs, licences and laptops have a guide of their own: the Accounts and licences guide.
Accounts are made by the admin; there is no sign-up and no reset by email. Your first password is a temporary one from the admin: at your first sign-in you choose your own (at least 10 characters). Forgot it? The admin resets it.
- In the App the sign-in card shows until you sign in. Keep me signed in on this computer is ticked by default; untick it on a shared laptop and the App signs you out the next time it starts.
- On the Hub the avatar button at the top right opens Staff sign in. Visitors don't need an account.
- Not now: code on this laptop and send later skips the card for now. You code as usual, and the tags wait on the laptop until you sign in and send them.
- Offline, signing in needs a connection, but once you are signed in the App codes with no internet and remembers who you are. What you send waits and goes out when the connection is back.
What each role can do
| Analyst | Staff | Admin | |
|---|---|---|---|
| Code matches on the laptop | Yes | Yes | Yes |
| Send to Hub | Yes | No | Yes |
| Mark a match final | Yes | No | Yes |
| Edit lineups | Yes | Yes | Yes |
| Edit squads | No | Yes | Yes |
| See final matches that are staff only | Yes | Yes | Yes |
| Make a match public | No | No | Yes |
| Users: add, roles, passwords | No | No | Yes |
The server checks the same on every save.
4Coding a match
The match list
Live and today come first, then upcoming, then results (older days fold away), then the matches never played. All, Tagged and Not tagged filter it, and Search a team finds one. Each row says how far it is: Not tagged yet, the video and the number tagged, or its send state (Sent, Waiting to send, Final · sent). Pick a match to open it.
On a laptop the coder is one screen: a slim bar on top, the working row, and a dock under it with a tab per list. The back arrow returns to the list. The bar holds the source, the three coding screens, the screen's own control, the tagger's name (click it to change it), the saved count, Send to Hub (App), Layout, Backup and Versions.
The video source
The source chip in the bar (it says YouTube link to begin with) opens the menu:
- YouTube link: paste the match's link in the box over the video.
- Blind coding: no video, code against the match clock. The half markers keep the laptop's time. Pause clock, −5s, +5s and Set (to the referee's watch) fix a clock that drifted. When you add the video later, one half marker pressed in it (it shows ⇆) lines the blind tags up with it.
- Camera / IP camera: a camera on this computer, a capture card or a virtual camera, recorded as you code (Chrome and Edge). After a reload it offers Resume recording?
- Video file: a file on this computer. It works offline. Choose another file changes it.
- Video with its tags: a match coded elsewhere, its video and its XML or CSV together. See Imports.
The button with the home team's short name and an arrow (for example KBJBC →) says which way the home team attack in the 1st half; click it to turn it round. The 2nd half turns by itself.
The half markers
Under the video: KO, 1st half, Half-time, 2nd half, Full time. The next marker to press is the button (lime); the others show where the match is. Press KO at the kick-off, Half-time when the first half ends, 2nd half at the restart and Full time at the end. ↺ undoes the last marker. Every tag carries its half.
The three coding screens
The switch in the bar picks the screen: Live coding (Sportscode style, team level, during the match), Player coding (Wyscout style, every touch per player, after the match; it feeds the Team Report) and Quick tags (FC Python style).
Live coding
The code window Match day (MD) has the names, keys and colours of the Sportscode window. On the left the video, the half markers and the events (newest first: click goes there, double-click edits, × deletes the press); in the middle the press log and the pad; on the right the live stats.
- Bars: ATTACK (1) and DEFENCE (2) run until the other is pressed (they switch each other off) and add HOME / OPP WITH BALL. KO runs the match clock for the half.
- Zones: DEF, MID and ATT ZONE are 1-second presses on Q W E; the opponent's (OPP DEF, MID, ATT) are Shift with the same keys.
- Labels (BUILD UP, PROGRESSION, PRESSING, SHOT, ON, OFF, the corners, free kicks, cards and the rest) go onto the bars running when you press them. GOAL adds ON and SHOT. Each button's key is printed on it.
- Ctrl Z takes back the whole last press. Delete deletes the code you picked.
- The code window menu (Match day (MD) ▾) picks the window (PSA team live is the other one), Code or Report mode, and Edit this window (saved as a copy). Code: press buttons to tag the match. Report: the buttons show totals and play their clips; it is for after full time.
Player coding
Lineups first (Set lineups): numbers work from the squad without them, but minutes, positions and subs need them. Then, for each touch, type the shirt number and click the pitch where it happened. The order of the touches makes the passes.
- Keys pressed before the click add what the order can't tell: S shot, C cross (again: low cross, then cutback), T through ball, M smart pass, E dribble, K clearance, V save; duels D ground, A aerial, L loose ball, X lost, Z sliding, W block; H head; set pieces on Shift and a letter (C corner, F free kick, D direct, G goal kick, T throw-in, P penalty); F foul, Y yellow, R red, O offside, U ball out. The buttons on the right do the same.
- After a shot (S and a click), click where it went in the goal frame, or press G goal or B blocked.
- Tab switches team, Enter is the same player again, Esc clears, Ctrl Z undoes.
- The opponent can be coded in full or light (Light: clicks with no number): Settings under the pitch.
Quick tags
Pick the player (from the lineup, Tab switches team), the event (1 to 8: Pass, Shot, Shot assist, Dribble, Cross, Tackle, Interception, Foul), then the pitch: a click is a point, a drag goes from start to end. Edit tags and + Add tag change the events. Pitch ▾ shows the last 3, the last 10, all, or the shots. X and Y are kept in FC Python's 0 to 100, so its CSV goes in and out unchanged.
The timeline
In the dock's Timeline tab: a row per code in the buttons' colours, bars with their labels, short codes as numbered boxes and a red playhead the view follows. The zoom menu goes from 30 s to the whole match; the wheel zooms where it points, a drag pans. Click a box to play it, double-click to edit it. The other tabs: Matrix, Clips and Report (Live coding); Tags, Report and Clips (Player coding). Clicking the open tab again folds the dock.
Clips, Versions and Backup
- Clips: add clips from a timeline, the matrix or the tag list, then play them in a row (Play all). Save or export keeps a playlist.
- Versions: Save version keeps every tag of the match, at all levels, under a name. Restoring one puts them back. Lining up, moving or removing an imported timeline saves one by itself first.
- Backup: Keep a backup file (Chrome and Edge) keeps a file on the computer up to date as you tag; Download backup saves one now; Merge a backup brings in another tagger's (each codes one team, then one merges the other's backup).
- Layout: Video big, Balanced, Stats big or Pitch big, Reset; or drag the corner of the video or the pitch.
5A second screen
On a laptop or bigger, with a mouse, the pad and the timeline can each have a window of their own, for a second screen as in Sportscode: video in one window, pad in another, timeline in a third.
- Pop out above the pad (Live coding) or the keys (Player coding), and Pop out in the timeline tab, open the window. In the coder its place says The pad is in its own window and the video and stats take the room.
- The window says Linked to the coder. A press or a key there tags at the coder's video time, and Undo last press is at the top. The timeline window follows the playhead (Follow playhead); a click on a box plays it in the coder.
- Bring back, in the window or in the coder, puts it back. Closing the window does the same.
- The windows remember their size and place. After a reload of the coder they link again by themselves. If you close the coder they wait: open the match again and they carry on.
The video's own window
- ⧉ Pop out under the video: a YouTube video plays in a small window of its own; a video file or the camera goes into the browser's picture in picture. The coder then shows Bring it back here. Tags take the video's time as usual, and Space and the arrows still drive it.
- ⧉ Float: the video floats on the screen while you code (picture in picture for a video file or the camera).
- You can pop out the video, the pad and the timeline together.
In Safari
- If Safari blocks the window, the coder says The browser blocked the new window: allow pop-ups for this site, then try again. Allow it in Safari's Settings > Websites > Pop-up Windows.
- Safari may open a window in a place of its own choosing; it then moves to where you last left it.
- Picture in picture uses Safari's own.
- The App added to the Dock keeps its tags apart from Safari's tabs: move them across with a backup file (see above).
6Imports
Sportscode XML
In Live coding, the timeline tab's More ▾ > Import Sportscode XML. The dialog lists the file's rows and counts and offers two ways:
- As a timeline of its own, next to your live codes. They stay as they are; switch between them over the timeline. It counts once it is lined up.
- Into the live codes: rows with the same name join them.
FC Python CSV
Import CSV in Quick tags, or Import FC Python CSV in Player coding's Tags tab or on the match list (it asks which match). Match each player slot in the file (H1 to H15, A1 to A15) to a player; the choice is remembered for the match. If the match has tags already, choose Add to them or Replace them.
Video with its tags
For a match coded elsewhere: the source menu's Video with its tags opens Import a coded match. Choose the video file and the tag file (Sportscode XML or FC Python CSV), then:
- They were made together: the tag times match this video. Nothing to line up.
- Line them up after with Align to playhead (the tags came from another copy of the video).
Import video and tags makes the video the source and the tags a timeline of their own: an XML in Live coding, a CSV in Player coding (or Quick tags when that screen is open).
Align to playhead
A timeline that is not lined up says Not lined up with this video yet and doesn't count. Open the match's video, then press Align to playhead on the timeline's bar:
- Pick a tag in that timeline (in Player coding and Quick tags, in the events under the video).
- Play the video to where that moment happens.
- Press Align. The bar shows how far all the tags move before you press it.
In Live coding L starts lining up the timeline shown and, pressed again, aligns (unless the code window uses L itself). Once lined up the bar says Lined up: all … tags moved by …, with Undo (back as it was before lining up) and Align again.
Tags before the start of the video; Leave out of stats
- When the file starts earlier than your video, some tags land before its start. They have no place on it: the bar says … tags fall before the start of the video: not shown, not counted (in Player coding's events their time shows as --:--).
- Leave out of stats, on a lined-up timeline's bar, keeps it on screen but out of the live stats, the figures and the Team Report, and out of what the Hub counts. Untick it to count it again.
The ⋯ menu and the switch
- ⋯ on the bar: Move into the live codes (Player coding and Quick tags: Move into the match's tags) makes the imported tags your own; Remove this timeline deletes it and its tags. Both save a version first.
- Over the Live timeline the switch reads Live codes and each imported timeline by name, with its count and Not lined up or Left out. In Player coding and Quick tags the bar under the video switches between timelines when there is more than one.
Exports
Export Sportscode XML (Live coding, More ▾) and Export CSV leave out what doesn't count: imported tags not lined up or left out of the stats. The message after the export says how many.
7Send to Hub
In the App, signed in as an analyst (or the admin). Nothing leaves the laptop until you press Send to Hub in a match's bar. From then on that match sends by itself: a few seconds after each change, and again whenever the connection comes back.
The send states
| The bar shows | Meaning |
|---|---|
| Send to Hub | Not sent yet. Press it to start. |
| Waiting to send · 4 and Send | Changes wait to go out; hover for why (no connection, sign in to send, PSA Hub closed for now). |
| Sending... | On its way. |
| Sent · 21:04 | Everything is on the Hub, last sent at that time. |
| Not sent · tries again and Try again | It didn't go through; it tries again by itself. |
| Final · sent | Marked final, and everything is sent. |
| … not accepted | The Hub refused some rows; hover to see why. They aren't sent again until they change. |
Click the state to open the send menu: Send now, Mark match final... (or Take final back) and Get the Hub's copy (the other taggers' tags of the match, as the Hub has them). When matches wait to send, the App's top bar says how many and offers Send all.
Offline
Tags are saved on the laptop first. With no connection the match shows Waiting to send and goes out by itself when the connection is back; you don't need to keep the match open, only the App.
Two analysts on one match
- The Hub keeps both taggers' tags. When the same tag was changed on two laptops, the newest copy wins.
- The same code for the same team within a second, from both of you, is a possible double: it stays in, flagged. The App says Sent, with another tagger, and the bar shows … doubles?. Open it to Keep both or delete one.
Mark final and Take final back
Mark match final... (it needs the match's tags sent first) asks Mark this match final? and lists what the Hub will use the tags for. Send and mark final sends, then marks. You can still fix tags after: send again and the Hub updates. Take final back is for the analyst who marked it, from the same laptop, while the match isn't public; the admin can take it back at any time. The Hub then uses its usual figures for the match again.
What the Hub shows, and to whom
- For a final match the Hub uses your tags for the match page (stats, shot map, momentum), the players' stats and the Team Report. Player coding's tags make those figures; Live coding's codes show in the Team Report as the match's Team codes.
- The match page says Coded by PSA · final, and to signed-in users Staff only or Public.
- Until the admin makes the match public, only signed-in users see it; visitors see the usual figures. Matches not sent keep the usual figures for everyone.
A public match shows its tags to everyone, signed in or not: their notes, labels and code names, and the video file's name (only the tagger's name stays hidden). Keep anything you wouldn't publish out of the notes, or leave the match staff only.
8For staff
Sign in on the Hub with the avatar at the top right. The editing buttons then show on the normal pages (visitors never see them):
- Edit squad on each team page: shirt number, name, position, year of birth, foot, height; Add a player; × removes one (a removed player keeps their goals, tags and lineups). Save squad.
- Set lineups or Edit lineups on the match page (also in the Match Coder's Player coding and the Team Report's match pages): formation, starting XI with positions, Fill from the squad, Copy the last match, Add a sub with the minute, formation changes, then Save lineups.
The server checks every save. A save made offline waits and is checked when the connection is back.
9For the admin
A club's admin also looks after the club's laptops and sees its licence: see the Accounts and licences guide.
Users
On the Hub, the avatar, then Users:
- Add a user: username, name and role (Analyst, Staff or Admin), then Add. Their temporary password is shown once, with Copy: give it to them in person or by phone. They choose their own at the first sign-in.
- Change a role with the role menu on their row: it changes at once.
- Reset password gives them a new temporary password, shown once. Their current one stops working and they are signed out.
- Turn off signs them out, and they can't sign in until you Turn on the account again.
Making a match public
On the match page of a final match, next to Coded by PSA · final, turn on Make public. Visitors then see the coded figures; turn it off and they see the usual figures again.
Before you make a match public: everyone can then see its tags, with their notes, labels and code names, and the video file's name (not the tagger's name). If a note shouldn't be published, ask the analyst to change it and send again, or leave the match staff only.
10Keyboard shortcuts
On a Mac, Cmd works where it says Ctrl. Keys don't act while you type in a box.
| Key | What it does |
|---|---|
| Every screen | |
| Space | Play or pause |
| ← → | 5 seconds back or on (with Shift: 1 second) |
| Ctrl Z | Undo the last press or tag |
| Live coding (Match day (MD)) | |
| 1 2 | ATTACK, DEFENCE |
| Q W E | DEF, MID, ATT ZONE (with Shift: OPP DEF, MID, ATT) |
| 3 4 5 | BUILD UP, PROGRESSION, PRESSING |
| R 6 G F | LOST BALL, GOAL, ON, OFF |
| Y T | SAVE, FOUL |
| Z X · C V | Corners LEFT, RIGHT · Free kick NEAR, WIDE |
| A S D | Penetrate LEFT, MIDDLE, RIGHT |
| B N | YELLOW, RED card |
| Delete | Delete the picked code |
| L | Line up the imported timeline shown; again to Align |
| Player coding | |
| 0 to 9 | Shirt number (then click the pitch); Backspace takes off a digit |
| Tab · Enter · Esc | Other team · same player again · clear |
| S C T M E K V | Shot, cross, through ball, smart pass, dribble, clearance, save |
| D A L X Z W | Duel: ground, aerial, loose ball, lost, sliding, block |
| H · P | Head · set piece (cycles) |
| Shift + C F D G T P | Corner, free kick, direct free kick, goal kick, throw-in, penalty |
| F Y R O U | Foul, yellow, red, offside, ball out |
| G B | After a shot: goal, blocked |
| Quick tags | |
| 1 to 8 | Pass, Shot, Shot assist, Dribble, Cross, Tackle, Interception, Foul |
| Tab | Other team |
A code window you edit can have other keys: each button shows its own.
11When something is odd
- PSA Hub is open in another tab with an older version: reload or close it to finish the update. Another tab or window of the Hub or the Match Coder still runs the old version. Reload it or close it.
- A new version of PSA Hub is waiting or A new version of the Match Coder is ready: reload when you finish coding. Finish the half, then reload. The App also updates itself on its next open.
- The browser blocked the new window: allow pop-ups for the site (in Safari: Settings > Websites > Pop-up Windows).
- This laptop's clock is … minutes off. Tags are safe; set the computer's clock, as the newest copy of a tag wins.
- A match stays on Waiting to send: hover the chip for why. Sign in if it says so; with no connection it goes out by itself.
Tags live on this device until they are sent. The browser and the App, and each browser on the laptop, keep their own. Keep a backup: Backup > Keep a backup file (Chrome and Edge), or Download backup after each match.
Clearing the browser's site data (history and website data, cookies and site data) for psanalytics.piqa.my or coder.psanalytics.piqa.my deletes the tags not yet sent, and so does removing the site's data in the browser's settings. Send or back up first. A private window keeps nothing after it closes.
PSA Match Coder · Back to the top