# Track UTMs in Google Analytics using GTM

Before you continue make sure you 

you set it up UTM Simple template in GTM [Basic UTM tracker setup in Google GTM](https://docs.utmsimple.com/books/102-utm-tracking-using-gtm/page/basic-utm-tracker-setup-in-google-gtm)

And also you created variables [Creating Variables in GTM for UTM Tracking](https://docs.utmsimple.com/books/102-utm-tracking-using-gtm/page/creating-variables-in-gtm-for-utm-tracking)

#### Add Google Analytics (GA) tag and set it up
After you add the Google Analytics tag, click "Enable overriding settings in this tag"

Select "More Settings" and "Fields to set"

And enter the following
Field Name: `campaignName` and Value: `{{utm_campaign}}`

Field Name: `campaignSource` and Value: `{{utm_source}}`

Field Name: `campaignMedium` and Value: `{{utm_medium}}`

Field Name: `campaignContent` and Value: `{{utm_content}}`

Field Name: `campaignKeyword` and Value: `{{utm_term}}`

Field Name: `location` and Value: `{{handl_url}}`

[![](https://docs.utmsimple.com/uploads/images/gallery/2022-01/scaled-1680-/image-1642042041682.png)](https://docs.utmsimple.com/uploads/images/gallery/2022-01/image-1642042041682.png)

After deployig the new container, refresh your site (make sure UTMs are appended to the URL) and confirm in realtime GA. Your traffic should be tagged with proper UTM under "Traffic Sourcecs"

[![](https://docs.utmsimple.com/uploads/images/gallery/2022-01/scaled-1680-/image-1642042164804.png)](https://docs.utmsimple.com/uploads/images/gallery/2022-01/image-1642042164804.png)