AEM Cloud : utm_source , utm_medium query parameters unable to fetch these values from slingHttpServletRequest object using request.getQueryString() but whereas other parameters are showing up ex : utm2_source , a=b .
From above URL utm_source & utm_medium are missing in request.getQueryString() only in publish and able to get in author.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @asateesh ,
So the utm parameters are getting passed to publisher instance from dispatcher as per logs .
It may be an encoding issue also. Have you checked if you are passing another query param with an _ character , are you able to get the value ?
Thanks,
Somen.
Hi @asateesh
Please check https://github.com/adobe/aem-dispatcher-optimizer-tool/blob/main/docs/Rules.md#dot---the-dispatcher-...
It could be by design, since these are known param and not suppose to be used at server side.
But you can try to add ignoreUrlParams
block
/ignoreUrlParams {
/0002 { /glob "utm_source" /type "deny" }
}
Thank you for replying Arun ,
I want the request parameters to passed to publish instance the above configuration you are asking me to
Hi @asateesh ,
So the utm parameters are getting passed to publisher instance from dispatcher as per logs .
It may be an encoding issue also. Have you checked if you are passing another query param with an _ character , are you able to get the value ?
Thanks,
Somen.
@asateesh Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies