Google Analytics - Set UA Code Using CLI Interface

1 post / 0 new
#1 Wed, 10/31/2018 - 04:01
gary@macace.net

Google Analytics - Set UA Code Using CLI Interface

Hi,

Is it possible to be able to configure the Google Analytics UA tracking code value for a virtual server using the virtualmin CLI interface?

I've been able to successfully enable/disable the Google Analytics feature with:

#Enable
virtualmin enable-feature --virtualmin-google-analytics --domain example.com

#Disable
virtualmin disable-feature --virtualmin-google-analytics --domain example.com

However I've not been able to find anything in the docs on how to set the UA code value.

Any help would be much appreciated.