How to resolve evar string (255 byte) limitation. | Community
Skip to main content
Luca_Lattarini
Level 9
February 14, 2022
Question

How to resolve evar string (255 byte) limitation.

  • February 14, 2022
  • 2 replies
  • 4761 views

Hello team,

Anyone can help to understand how to resolve the evar string limit issue? in fact, I have an evar with more than 255 byte and the evar is truncated.

How can I resolve the issue?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Gokul_Agiwal
Community Advisor
Community Advisor
February 14, 2022

Hi @luca_lattarini 

listVars would be great in this case. They work similarly to eVars, except they can contain multiple values in the same hit. List variables do not have a character limit.

Here is more reference : List Variables

 

There is also nice article on this by @pratheeparunraj for your review with business case and examples.

https://terrynwinter.com/adobe-analytics-list-vars-and-evars-with-classification/

 

Luca_Lattarini
Level 9
February 15, 2022

Can I use listVars with API 1.4?

Thanks

nilotpal
Adobe Employee
Adobe Employee
February 15, 2022

Yes, it is available for use in API 1.4. 

 

Following IDs are used:

mvvar1 - List variable1, 

mvvar2 - List variable2, 

mvvar3 - List variable3.

 

Reference: https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/live-stream-api/metrics_dimensions.md# 

PratheepArunRaj
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 16, 2022

Dear 1982luca,

255 char limit is hard and we have to live with that for now.

Yes, using listVar is an option, but can be used incase there is an one eVar where you want to capture more than 255 char byte, but when it is more than that, it is tricky.

Assume you have a requirement to extend the character limit for 4 evars more than 255 and you are trying to use listVar 1. Then, you need to set the list var to evar1value:evar2value:evar3value:evar4value (colon is the delimiter) and in the reporting it will look as invididual line items. More the values, more the line items, so it will be harder for you to read.

When you set a nomenclature such as v1-eVar1value:v2-eVar2value:v3-eVar3value:v4-eVar4value (bold values are static and added before the respective eVars for easy segment creation), you can now create a segment and see the respective eVar values properly or can classify it.

Said that, you might think that was a good idea, but unfortunately not when it involves attribution or allocation because allocation is either full or linear and never the last. So checkout my link on understanding listVars before you do something.

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics
Luca_Lattarini
Level 9
February 21, 2022

Hello PradeeRunRaj,

I think the list is the only option for me and meet my requirements. 

 

Basically, external system is injecting data into AA by using API 1.4 with the format below. If I use list , is it correct the format below? listShop is split with regex with classification rule builder.

 

{
  "columns": [
    "Date",  
    "Evar 35"
    "Evar 34"
    "Evar 22",
    "listShop",
    "Event 27",  
    "Event 28",  
    "Event 29"
  ],
  "dataSourceID"4,
  "finished"true,
  "jobName""demo_21022022",
  "reportSuiteID""rs1",
  "rows": [
    [
      "08/31/2018",
      "Source One",
      "createShop",
      "001e496af08e27e41f1bd4141fd0768c0c8",
      "3ada4e15df5b4ddead1d2af013e38243",   "3ada4e15df5b4ddead1d2af013e38243,3ada4e15df5b4ddead1d2af013e38243,3ada4e15df5b4ddead1d2af013e38243,3ada4e15df5b4ddead1d2af013e38243,3ada4e15df5b4ddead1d2af013e38243,3ada4e15df5b4ddead1d2af013e38243 ",
      "0",
      "1",
      "1"
    ]
  ]
}
PratheepArunRaj
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 7, 2022

Sorry 

I still don't see a List Variable that can exceed 255 char bytes. Yes, we don't have any restrictions for the overall char bytes but not the delimiter values. Even if you concatenate multiple eVars to capture in List Variable, the same will be truncated right? If you include a delimiter into the picture, then the values before and after delimiter will be captured as individual line items right?

If I have missed anything, please correct me.

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics

 

 

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics