# How many field length to store in refer URL?

**URL:** <https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664>\
**Category:** General Discussion\
**Created:** [March 16, 2015, 4:35am UTC](https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664 "2015-03-16T04:35:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joomlacorner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joomlacorner/32/11_2.png) [@joomlacorner](https://forum.mautic.org/u/joomlacorner)\
**Post date:** [March 16, 2015, 4:35am UTC](https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664/1 "2015-03-16T04:35:07Z")

</div>

How many field length to store in refer URL?  
  
  
  
I have sample Unicode URL that’s we have is.  
  
[http://www.marvelic.co.th/th/news/knowledge/294-ใครว่า-open-source-cms-ทำได้แค่เว็บเล็กๆ-มาดู-joomla-cms-สิทำได้มากกว่าที่คุณคิด.html](http://www.marvelic.co.th/th/news/knowledge/294-%E0%B9%83%E0%B8%84%E0%B8%A3%E0%B8%A7%E0%B9%88%E0%B8%B2-open-source-cms-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B9%81%E0%B8%84%E0%B9%88%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%80%E0%B8%A5%E0%B9%87%E0%B8%81%E0%B9%86-%E0%B8%A1%E0%B8%B2%E0%B8%94%E0%B8%B9-joomla-cms-%E0%B8%AA%E0%B8%B4%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A1%E0%B8%B2%E0%B8%81%E0%B8%81%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B8%84%E0%B8%B4%E0%B8%94.html)  
  
  
  
and in Mautic Lead it stare as  
  
  
  
www.marvelic.co.th/th/news/knowledge/294-%E0%B9%83%E0%B8%84%E0%B8%A3%E0%B8%A7%E0%B9%88%E0%B8%B2-open-source-cms-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B9%81%E0%B8%84%E0%B9%88%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%80%E0%B8%A5%E0%B9%87%

---

<div class="post-metadata">

**Author:** ![joomlacorner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joomlacorner/32/11_2.png) [@joomlacorner](https://forum.mautic.org/u/joomlacorner)\
**Post date:** [March 16, 2015, 4:35am UTC](https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664/2 "2015-03-16T04:35:07Z")

</div>

How many field length to store in refer URL?

I have sample Unicode URL that’s we have is.  
[http://www.marvelic.co.th/th/news/knowledge/294-ใครว่า-open-source-cms-ทำได้แค่เว็บเล็กๆ-มาดู-joomla-cms-สิทำได้มากกว่าที่คุณคิด.html](http://www.marvelic.co.th/th/news/knowledge/294-%E0%B9%83%E0%B8%84%E0%B8%A3%E0%B8%A7%E0%B9%88%E0%B8%B2-open-source-cms-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B9%81%E0%B8%84%E0%B9%88%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%80%E0%B8%A5%E0%B9%87%E0%B8%81%E0%B9%86-%E0%B8%A1%E0%B8%B2%E0%B8%94%E0%B8%B9-joomla-cms-%E0%B8%AA%E0%B8%B4%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A1%E0%B8%B2%E0%B8%81%E0%B8%81%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B8%84%E0%B8%B4%E0%B8%94.html)

and in Mautic Lead it stare as

www.marvelic.co.th/th/news/knowledge/294-%E0%B9%83%E0%B8%84%E0%B8%A3%E0%B8%A7%E0%B9%88%E0%B8%B2-open-source-cms-%E0%B8%97%E0%B8%B3%E0%B9%84%E0%B8%94%E0%B9%89%E0%B9%81%E0%B8%84%E0%B9%88%E0%B9%80%E0%B8%A7%E0%B9%87%E0%B8%9A%E0%B9%80%E0%B8%A5%E0%B9%87%

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [March 17, 2015, 2:24pm UTC](https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664/3 "2015-03-17T14:24:46Z")

</div>

Hi Joomlacorner

So I just checked the page\_hits table for the referer field and the length is 255. I inserted your sample unicode URL and it did get truncated.

I’ve opened an issue on Github about this because I agree this field should be permitted to be longer:

[https://github.com/mautic/mautic/issues/215](https://github.com/mautic/mautic/issues/215)

---

<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:** [February 2, 2020, 11:00pm UTC](https://forum.mautic.org/t/how-many-field-length-to-store-in-refer-url/1664/4 "2020-02-02T23:00:33Z")

</div>


