Observe that "current == proxy" when using self-hosted runtime and checkOriginForSettingCookie() throws error.
Cookie setting error then leads to a cascade of linker tracking errors and malformed beacons.
Expected Behavior:
amp-analytics sets cookies to track user journey. The page below is not using self-hosted runtime. Cookies work as expected with linker configurations and _ga cookie tracking.
Description
amp-analytics not setting cookies when using self-hosted runtime
Reproduction Steps
Observed Behavior:
amp-analytics blocks setting cookies when using a self-hosted runtime.
Go to https://www.bedbathandbeyond.com/amp/wm-optimized/store/s/shower
Observe self-hosted runtime tag
Observe that "current == proxy" when using self-hosted runtime and checkOriginForSettingCookie() throws error.
Cookie setting error then leads to a cascade of linker tracking errors and malformed beacons.
Expected Behavior:
amp-analytics sets cookies to track user journey. The page below is not using self-hosted runtime. Cookies work as expected with linker configurations and _ga cookie tracking.
https://www.bedbathandbeyond.com/amp/store/s/shower
Relevant Logs
No response
Browser(s) Affected
No response
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
012208242209000, 012109272305001