ACS Tracking Parameters Breaking Anchor (#) URLs
One of our clients requires the use of a CTA URL that includes a hashed (#) parameter (anchor link) to enable specific functionality on the website, such as scrolling to a particular section.
However, when the EDM is sent via ACS, the Brand configuration automatically appends tracking parameters (e.g., brand, deliveryId) to the URL. Currently, these tracking parameters are being added after the hash (#) fragment.
Example:
- Authored URL:
https://abc.xyz#paramX - URL generated by ACS (current behavior):
https://abc.xyz#paramX?brand=xxx&deliveryId=YYY
This format causes an issue because anything appended after the # fragment is treated as part of the client-side anchor and is not processed as query parameters. As a result, both tracking and the intended anchor-based functionality (e.g., scrolling to a specific section) may break.
Expected / Ideal Behavior:
To ensure both tracking and website functionality work correctly, the query parameters should be placed before the hash fragment.
- Correct format:
https://abc.xyz?brand=xxx&deliveryId=YYY#paramX
Does anyone faced similar issue and have solution within ACS (rather that going to website team to provide fix through URL interception)?