How to use Google Analytics custom segments in Chartio

You can use Google Analytics custom segments in SQL Mode.

First, navigate to the Google Analytics Query Explorer, and log in to your Google Analytics account. Select your segment from the dropdown list next to the segment input, as pictured below.

Once you select your segment from the dropdown, its ID will appear in the segment text input box. Copy the ID, including gaid:: at the beginning.

In your Google Analytics chart in Chartio, switch to SQL Mode and add your GA segment after your metrics, with &segment= prepended to it.

For example...