问题 I searched the web for the solution to send multiple custom dimensions to google analytics. the old tag ga was easy to configure like so : ga('create', 'UA-ID', 'auto'); ga('set', 'dimension1', value1); ga('set', 'dimension2', value2); ga('set', 'dimension3', value3); ga('send', 'pageview'); this would send all of the 3 custom dimensions. the problem occurs with the new gtag.js I tried lots of ways to configure multiple custom dimensions. the documentation shows how to configure 1 custom