Is there a limit on the no. of characters or lines of code on the Modification/custom code Panel | Community
Skip to main content
July 18, 2023
Solved

Is there a limit on the no. of characters or lines of code on the Modification/custom code Panel

  • July 18, 2023
  • 1 reply
  • 783 views

Hello everyone,

As part of AB testing

We are trying to execute the custom code script thru Modifications, the lines of code is around 1000.

  • After setting up the activity, while testing the preview link we observed the code is truncated,
  • we want to know if there is any character limit on the custom code panel
  • Does the minified version of code work in the custom code panel

can anyone please help with the above 

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

Dear @lg25 ,

Based on the offer size, it is 1024 KB. So, if you deliver more than the limit size, you should get an error “The content for the experience is too large to deliver. Please modify the experience to affect less page code.”.

Did you receive an error? Kindly let me know.

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

 

1 reply

PratheepArunRaj
Community Advisor and Adobe Champion
PratheepArunRajCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
July 19, 2023

Dear @lg25 ,

Based on the offer size, it is 1024 KB. So, if you deliver more than the limit size, you should get an error “The content for the experience is too large to deliver. Please modify the experience to affect less page code.”.

Did you receive an error? Kindly let me know.

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

 

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