Using Google Optimize in a plugin initializer JS

Where your gtag function define?