hlxsites / aldevron

https://www.aldevron.com
Apache License 2.0
0 stars 1 forks source link

Utm flow setup #296

Closed ramesh-gspann closed 7 months ago

ramesh-gspann commented 7 months ago

Issue: Currently when user goes from one page to another, the initial UTM parameters are getting removed due to URL change/redirect.

Example: User came to Home page https://www.aldevron.com?utm_source=UTM-test&utm_medium=website&utm_campaign=script-test-by-developer using this link then he/she clicks on "Contact us" then the page from we get submission is https://www.aldevron.com/about-us/contact-us this only without UTMs so we are not able get the original referance of UTMs from which campaign or asset they converted.

Work Updates: I have cloned main branch and created https://github.com/hlxsites/aldevron/tree/utm-flow-setup this one. Added script to add UTMs if those founds initially.

Fix: #295

Test URL: https://utm-flow-setup--aldevron--hlxsites.hlx.page/?utm_source=UTM-test&utm_medium=website&utm_campaign=script-test-by-developer and click on any other page to see the UTMs on that page as well.

aem-code-sync[bot] commented 7 months ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [546dcbf](https://github.com/hlxsites/aldevron/pull/296/commits/546dcbf5d80097566663d8b676ad51f717c74899) :white_check_mark: (latest) * [d5ccb1a](https://github.com/hlxsites/aldevron/pull/296/commits/d5ccb1a44d7409abbba8babc4f294515b8ac7358) :white_check_mark: * [50053a4](https://github.com/hlxsites/aldevron/pull/296/commits/50053a4fc85b7b57c04943e4e4ddc4e11b6b27d5) :white_check_mark: * [d446b52](https://github.com/hlxsites/aldevron/pull/296/commits/d446b52d73490f3f563d55209a5b2a81868b32cd) :white_check_mark: * [5429264](https://github.com/hlxsites/aldevron/pull/296/commits/542926456444e2be2622aaa4b9ad4fcd3161db9d) :white_check_mark: * [2d4ba9d](https://github.com/hlxsites/aldevron/pull/296/commits/2d4ba9dcd83b7f69a662b528167907dc7a6495e8) :white_check_mark: * [cbb0c94](https://github.com/hlxsites/aldevron/pull/296/commits/cbb0c948b6c325b94c5203656f9c530b67df90ac) :white_check_mark:
aem-code-sync[bot] commented 7 months ago
Page Scores Audits Google
/?utm_source=UTM-test&utm_medium=website&utm_campaign=script-test-by-developer PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI