# Campaign conditions based off of utm tags

**URL:** <https://forum.mautic.org/t/campaign-conditions-based-off-of-utm-tags/20302>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [July 28, 2021, 9:21pm UTC](https://forum.mautic.org/t/campaign-conditions-based-off-of-utm-tags/20302 "2021-07-28T21:21:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yzfr1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yzfr1/32/3849_2.png) [@yzfr1](https://forum.mautic.org/u/yzfr1)\
**Post date:** [July 28, 2021, 9:21pm UTC](https://forum.mautic.org/t/campaign-conditions-based-off-of-utm-tags/20302/1 "2021-07-28T21:21:26Z")

</div>

**Your software**  
My Mautic version is:3.3.3  
My PHP version is:7.3.27  
My Database type and version is:10.3.28-MariaDB

**Your problem**  
My issue is with campaigns and conditions based off of contact fields when UTM fields should drive the condition.

When setting up a campaign to run off of conditions that should go one way or another based off of the UTM tags that are offered in the selector, the case always goes to “No” side of the condition tree.

My campaign is set up as:

- Target segment list  
First branch of campaign:
- Send email to list (immediately)
- Check if opened
- Check if linked clicked
- 
  - Condition: Check Contact field if utm\_campaign Test

Second Branch from segment

- Request dynamic content
- 
  - Condition: Check Contact field if utm\_campaign Test

- 
  - Condition: Check Contact field if utm\_medium Email

- 
  - 
    - Yes \> Push specific dynamic content for email

- 
  - 
    - No \> do another check for a different UTM\_Medium

- 
  - 
    - 
      - Yes \> Push other DWC content

I have 1 more branch running with just a Page Hit with the same logic running.

Expected result:

The conditions should check to see if the utm tag was passed and it should result in true when the “contains” operator has that UTM tag.
