I just wanted to get clarification that the instructions and what I did are correct for the hitGovernor plug in. Instructions say to add the part (in bold) to the appMeasurement code. I assume I can copy / paste the whole function in the top of the appmeasurement library however as I read into it more it seems that you take the part I highlighted in yellow and add it to an existing s.registerPostTrackCallback function which I found but it had and a. instead?
I'm not sure I understand your question completely. According to the instructions, you should find the s.registerPostTrackCallback(function() and you should insert the s.governor(); snippet within that function.
When you say your fiction had a a. instead, are you meaning they've replaced the "s." with "a."? If so, someone may have renamed your tracking variable to 'a' instead of 's'. If that was the case, "a.governor()" should work, assuming they have correctly remapped all instances of the s variable name.