For most people, the thing to remember about "G" scale (there IS no G Gauge!!!) is that it is 1:22.5 period. Now, with that cleared up, we can look at GAUGE. The gauge of LGB track is 45mm period. It doesn't matter if it represents 30" gauge or metre gauge or standard gauge or 2' gauge or 3'gauge. That is what SCALE is for! The GAUGE is the distance between the rails and that doesn't change!
Now, there are different codes (which is the height of the rails in thousandths of an inch.) LGB uses Code 332 (which is quite a bit over-scale!) There are manufacturers that make Code 250 and Code 215 which are closer to what would be accurate but these have their own problems. Either way, you need to do your research to find which track code would work best for you. If you want to run LGB trains outside then I would recommend Code 332 track as the LGB wheel flanges are over-scale and will need the extra height that Code 332 provides.