# Pass URL Parameters to Site with form and further to Mautic Contact

**URL:** <https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [February 11, 2023, 10:29pm UTC](https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006 "2023-02-11T22:29:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [February 11, 2023, 10:29pm UTC](https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006/1 "2023-02-11T22:29:12Z")

</div>

Hello

Is it possible to grab an ID coming via URL i.e.

website.xy?myID=123

On website.xy is a Mautic form with name and email address.

The myID is submitted together with the name and email address. A Mautic contact is created and the myID is placed in a custom field.

Kind regards

Christian

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [February 13, 2023, 10:59am UTC](https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006/2 "2023-02-13T10:59:15Z")

</div>

I placed the following code into my Typo3 Template in the Setup area.

I called the site via mysite.xy/?digistore\_affid=123

But the ID is not populated in the contact.

Any advice?

page.headerData.112233 = TEXT  
page.headerData.112233.value (

)

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [February 15, 2023, 1:22pm UTC](https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006/3 "2023-02-15T13:22:26Z")

</div>

Maybe this will help? One of the steps does what I think you are asking

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/cc79147c753b17dc76e7c427ad5d254287ded049.jpeg "How to integrate Thrive Leads with Mautic") ](https://www.youtube.com/watch?v=fLxz_xMXQ68)

---

<div class="post-metadata">

**Author:** ![taxi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/taxi/32/522_2.png) [@taxi](https://forum.mautic.org/u/taxi)\
**Post date:** [February 18, 2023, 3:59pm UTC](https://forum.mautic.org/t/pass-url-parameters-to-site-with-form-and-further-to-mautic-contact/27006/4 "2023-02-18T15:59:42Z")

</div>

Thanks, that might be a way. But I think it works more directly.

Joey Keller has a documentation about a pixel trigger via image.

Via a  
$curl = curl\_init();

Function the URL is taken apart and the Mautic contact is created or updated.

When I’m calling my URL: website.xy?myID=123 a contact is created in Mautic with the value: 123. And any time I call it again, another contact is created.

So my question is: How do I get the value of 123, arriving at Mautic via filling the form and placing 123 in the ID field together with the other values submitted by the form?
