Expand my Community achievements bar.

SOLVED

URL limit? - Maybe DTM question, maybe Analytics

Avatar

Level 3

Hello all,

I'm trying to find out if there is a hard limit and what happens if a url request to our site contains >300 characters.

We have some search adds being shown in google with links to our site, however already some of the links are >200 characters, then adding the Adobe campaign tracking cid and any other stuff which gets added this can put the request to >300 characters.

My question is will analytics record the traffic if the request is that length? - I've tested and looked in omnibug and can see the pageload rule firing, includes evar0 for campaign stuff, but does it make it fully through to AA.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi, your question seems to be around URL and if that's the case you are definitely ok with 300 bytes, you will have to exceed 2000 bytes before you will need to start getting concerned.

Now if you are referring to the variable it such as eVar0 or similar then yes 300 bytes exceeds the limit of an eVar and in the case of props its 100 bytes. Your data will get truncated.

You will need to come up with a way to shorten it.

View solution in original post

4 Replies

Avatar

Level 4

All the conversion variable has 255 bytes character limit which means anything above that in the string will get stripped.

If your URL Stands 300 character long adobe will strip the remaining 45  bytes while collecting the entire Page URL  value  stored in the evar1.

However, if you have your query parameter set after 300 it will get captured in evar0 since the Page URL does not have any storage limit but the tracking code itself cannot be more then 255 bytes  but at the same time while storing the same URL in evar1 it will strip the characters above 255bytes.

Happy tracking

Thanks

Saneesh

Avatar

Employee Advisor

There's a backend variable named url2 which stores the overflow URL if it's super long. However, URL isn't available in reports outside of data warehouse, so if you're passing this variable into an eVar, you're going to be limited to 255 bytes.

I'd recommend capturing URL without the query string in an eVar, then use one or more eVars to capture the various query string parameters. This would allow you to get the data you're looking for, and even organizes it a bit more nicely for you.

Avatar

Level 2

Do you mean that Page URL in data warehouse would capture URLs longer than 255 bytes?  I recently run a report from data warehouse, but all are cut off at 255 using the out of the box Page URL dimension.  Is that expected?  

 

Avatar

Correct answer by
Level 4

Hi, your question seems to be around URL and if that's the case you are definitely ok with 300 bytes, you will have to exceed 2000 bytes before you will need to start getting concerned.

Now if you are referring to the variable it such as eVar0 or similar then yes 300 bytes exceeds the limit of an eVar and in the case of props its 100 bytes. Your data will get truncated.

You will need to come up with a way to shorten it.