I'm trying to tag our Hotjar recordings automatically from within google optimize so we can more easily identify A or B users. The problem is that I can't find anywhere that explains how to do this, the official documentation explains that you can do this, just not how to do it, it only goes on to explain how to do it manually.
How do you use javascript to automatically tag a Hotjar recording?
From the official documentation: