# Pass UTM Parameters in the Form Redirect URL

**URL:** <https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034>\
**Category:** Product Support\
**Created:** [September 2, 2019, 11:03am UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034 "2019-09-02T11:03:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davedunn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davedunn/32/595_2.png) [@davedunn](https://forum.mautic.org/u/davedunn)\
**Post date:** [September 2, 2019, 11:03am UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034/1 "2019-09-02T11:03:05Z")

</div>

**Your software**  
My Mautic version is: 2.15.1  
My PHP version is: 7.2

**Your problem**  
My problem is:

Is it possible to pass the UTM parameters that can be collected when the user fills out the form to the redirect page as part of the query string…

I’m trying to pass utm data from a main domain to a subdomain after the form is submitted.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [September 2, 2019, 1:49pm UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034/2 "2019-09-02T13:49:26Z")

</div>

Hi @davedunn and welcome to the Mautic community forums! 🎉

My first gut reaction is, turning on cross-domain tracking should fix this out of the box without too much tinkering.

Is there a reason for not enabling cross-domain tracking in GA? Or is it not working?

---

<div class="post-metadata">

**Author:** ![davedunn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davedunn/32/595_2.png) [@davedunn](https://forum.mautic.org/u/davedunn)\
**Post date:** [September 3, 2019, 1:24am UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034/3 "2019-09-03T01:24:30Z")

</div>

Hi @silavapi ! Thanks for the reply.

I would have hoped it worked, but GA is showing the medium as the ‘Referral’ and source as the main domain… even though by default the main domain is set as the referral exclusion

However the client ID is correctly passed over from the main domain to the subdomain.

Any ideas whats going wrong?

---

<div class="post-metadata">

**Author:** ![davedunn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davedunn/32/595_2.png) [@davedunn](https://forum.mautic.org/u/davedunn)\
**Post date:** [September 3, 2019, 5:37am UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034/4 "2019-09-03T05:37:37Z")

</div>

Think I’ve solved this by adding the www url to the referral exclusion. It seems the UTM parameters are now showing instead of ‘Referral’

Thanks again!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [September 3, 2019, 9:59am UTC](https://forum.mautic.org/t/pass-utm-parameters-in-the-form-redirect-url/11034/5 "2019-09-03T09:59:59Z")

</div>

Hurrah! Glad you got to the bottom of it!
