If anyone knows about adobe analytics config rewriter, please help me solving for this problem.
vars
transforms multibyte characters to ?
after 3/18 by config rewriter.https://ampconfig.sc.omtrdc.net/aa/services/ampconfig
include multibyte characters in request body.curl --request POST \
--url https://ampconfig.sc.omtrdc.net/aa/services/ampconfig \
--header 'content-type: application/json' \
--data '{
"requests": {
"base": "https://${host}/${random}",
"pageView": "${base}",
"click": "${base}"
},
"vars": {
"pageName": "top",
"channel": "categories",
"prop26": "こんにちは",
"prop27": "你好",
"host": "example.com",
"reportSuites": "reportsuit",
"prop47": "sample"
},
"triggers": {}
}'
All browsers
version: 2003101714470
Hi @ka2jun8 to clarify the problem: You are sending multi-bytes characters to Adobe Analytics' config rewriter and their endpoint is returning ??
.
Is this correct?
It is correct.
I cannot find the documents of Adobe Analytics' config rewriter, so I do not know why need it, because my adobe analytics config did not change without multi-bytes characters.
At least I do not need to rewrite my config of my adobe analytics, so I want to skip rewrite process if it can.
Hmm.. currently there is no way avoid the config rewriter. Maybe we discuss the ability to skip the config rewriter process?
What are you thoughts @zhouyx ?
Add @cory-work
I think this should be fixed by Adobe analytics.
I also don't think the inline config should overwrite the configRewriter setting. It is an important feature for analytics vendor to provide service.
I'll take a look
I also don't think the inline config should overwrite the configRewriter setting. It is an important feature for analytics vendor to provide service.
I am convinced.
If the config rewriter work properly for multi-bytes characters, I have no problem.
Thanks @cory-work !
This wasn't a bug with AMP but rather the config rewriter. A fix has been deployed and appears to be working
This bug is still happening, so your fixed version has not released yet, right?
I'm looking forward to seeing the fix released.
This bug is still happening, so your fixed version has not released yet, right?
I'm looking forward to seeing the fix released.
Could you provide an example?
The following cURL example is the same that it writes in this issue body.
curl --request POST \
--url https://ampconfig.sc.omtrdc.net/aa/services/ampconfig \
--header 'content-type: application/json' \
--data '{
"requests": {
"base": "https://${host}/${random}",
"pageView": "${base}",
"click": "${base}"
},
"vars": {
"pageName": "top",
"channel": "categories",
"prop26": "こんにちは",
"prop27": "你好",
"host": "example.com",
"reportSuites": "reportsuit",
"prop47": "sample"
},
"triggers": {}
}'
response:
{
"requests": {
"base": "https://${host}/${random}",
"pageView": "${base}",
"click": "${base}"
},
"vars": {
"pageName": "top",
"channel": "categories",
"prop26": "?????",
"prop27": "??",
"host": "example.com",
"reportSuites": "reportsuit",
"prop47": "sample"
},
"triggers": {}
}
Thanks @ka2jun8 the fix wasn't deployed everywhere. Should be resolved in a few minutes
@ka2jun8 Can you verify that the fix was deployed?
@cory-work @micajuine-ho
I checked the problem has been resolved. Thank you !!!
Most helpful comment
I'll take a look