I installed StatCounter code a few years ago on one album but apparently after some theme changes it was lost and I could not remember what I had done. After some fiddling I got it to work again with the default code from StatCounter. They have some specific instructions but none for JAlbum.
I cannot promise this would work with all themes but it does work with the Tiger theme.
To access the window in the screen shot below you select the album you want to modify, click the SETTINGS button on the left side, then this window will open and you can add the code.
The attached screen shot has a few fields redacted.
Edited by: RobM on 22 Apr 2021, 19:45
Moved to Supporting applications forum as it is not an external tool
I've never used StatCounter, but according to their instructions, the code snippet should go at the end of the <body> section, rather than the <head> section (perhaps their code isn't asynchronous). So unless they've changed their instructions, you should paste it into Tiger > Site > Custom code > <Body>