Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Analytics GET OR POST method


Level 4



I understand that  Adobe web application (JavaScript) uses the HTTP GETS method to process requests for information, which includes confidential data . Then the expert indicates that instead of using the GETS method the web application should use POST. Is it possible to make this change? How can we do it?


What is the best practice?

4 Replies


Community Advisor

Hi, @pradeep_07 -

AppMeasurement doesn't have an option to manually force a POST call. It will, however, automatically generate a POST call if the request size is greater than 2047 bytes.

While this would totally be an unsupported modification to the AppMeasurement.js library, and would require that any future updates to the library that you install on your site undergo the same modification, you could do a search for "2047" and replace both instances with a smaller threshold (2?) to ensure that all calls go out as POST rather than GET. 



Dear Pradeep,

Instead of JavaScript beacon Data Insertion API provides a mechanism for server-side data collection and submission to Experience Cloud servers. This method supports both HTTP POST and HTTP GET for submitting data to Adobe Experience Cloud servers. Below link will help you with the implementation:


If security is a concern for you, you can use this method, but make sure you read all the advantages and disadvantages of the method before making the changes.

Thank You, Arun.


Level 6

Hi @pradeep_07 ,

Based on my understanding, if there are more than 2047 characters in your Analytics server call then the server call automatically gets converted to POST but if you have less than 2047 characters in your request then the workaround would be to use Data Insertion API, which will allow you to send the data either in GET or POST calls. For more information on how to send the data in POST call, you can refer to the below documentation link.



Hope this helps.