# Track UTMs in GA4 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 (GA4) tag and set it up
After you add the Google Analytics 4 tag

Set Configuration Parameter as follows

Field Name: `campaign_name` and Value: `{{utm_campaign}}`

Field Name: `campaign_source` and Value: `{{utm_source}}`

Field Name: `campaign_medium` and Value: `{{utm_medium}}`

Field Name: `campaign_content` and Value: `{{utm_content}}`

Field Name: `campaign_term` and Value: `{{utm_term}}`

Field Name: `page_location` and Value: `{{handl_url}}`

Field Name: `send_page_view` and Value: `true`

[![](https://docs.utmsimple.com/uploads/images/gallery/2023-11/scaled-1680-/image-1700537407087.png)](https://docs.utmsimple.com/uploads/images/gallery/2023-11/image-1700537407087.png)

After deployig the new container, refresh your site (make sure UTMs are appended to the URL) and confirm in realtime GA4. Your traffic should be tagged with proper UTM under "Traffic acquisition". Make sure you are searching by "Session campaign"

[![](https://docs.utmsimple.com/uploads/images/gallery/2023-11/scaled-1680-/image-1700537453408.png)](https://docs.utmsimple.com/uploads/images/gallery/2023-11/image-1700537453408.png)