-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: shorten form acquisition URLs - WD-6294 #13244
fix: shorten form acquisition URLs - WD-6294 #13244
Conversation
Demo starting at https://ubuntu-com-13244.demos.haus |
Codecov Report
@@ Coverage Diff @@
## main #13244 +/- ##
=======================================
Coverage 74.43% 74.43%
=======================================
Files 107 107
Lines 2840 2840
Branches 948 948
=======================================
Hits 2114 2114
Misses 702 702
Partials 24 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@carkod do you mind taking a look at this PR when you have the time? I ask since you commented on the previous two which I closed. |
@laszlokajtar were you able to QA the PR (submitting a form and checking the acquisition URL on marketo)? |
@pedoch oh sorry, i misunderstood and wasn't sure that's required at this point. tested now on two ubuntu.com URLs and neither test submissions had acquisition url. when i submitted a form without URL parameters, the acqusition URL was correctly identified. |
@pedoch on checking, it seems that the enrichment submit is not successful when there are URLs parameters. the submit arrives with the non-enrichment form (e.g. 3230) but doesn't for the enrichment one (1257) |
@laszlokajtar I only asked if you were to QA because I'm not able to navigate marketo properly to check the result of the submission.
If I understand correctly, the acquisition URL is dropped by marketo when it has URL parameters? |
Submission of engage page forms used to work in the demo, but now it's breaking? May be related to what @laszlokajtar is saying. |
https://ubuntu.com/engage/case-study-gmo-pepabo submission form is not working. |
@carkod the demo seems to be up now. I replace the link with an engage page that works (the previous one seems to have a problem on prod too, may be from marketo) so could you check this again. Thank you! |
Ideally, we should create a demo on jp.ubuntu.com pointing to this PR so we can test it, because ubuntu.com doesn't need acquisition url. Optionally, would you be willing to write a unit test for the |
@carkod Sure, I can write a unit test for the |
d5f5046
to
1983741
Compare
1983741
to
1a1ed4d
Compare
Left a comment in the demo PR |
Based on failed test cases and sentry submission errors
1a1ed4d
to
1534255
Compare
@carkod I was finally able to access sentry and I figured out what the problem was and fixed it. You can test the jp.ubuntu.com submission again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work, thanks. LGTM
Done
fbclid
andgclid
parameters should be removed.QA
?utm_source=facebook_ad&utm_medium=cpc&utm_campaign=7018e000000Lrr2AAC&fbclid=IwAR15h71YCzbtXmItLpTWGKvX6LGlbBNrsYAsoq-IEJiF9SYy_aDXgpsIqn0_aem_AbSMY4GVnRtIgih_p0mTaKvNZH6T3Qy73plm8KSqnZJXAsol_n1J440OjNsdU2s6-a0urWDolTPSE0nv3SYoY3jU
or
?utm_source=facebook_ad&utm_medium=cpc&utm_campaign=7018e000000Lrr2AAC&gclid=IwAR15h71YCzbtXmItLpTWGKvX6LGlbBNrsYAsoq-IEJiF9SYy_aDXgpsIqn0_aem_AbSMY4GVnRtIgih_p0mTaKvNZH6T3Qy73plm8KSqnZJXAsol_n1J440OjNsdU2s6-a0urWDolTPSE0nv3SYoY3jU
Quick link you can test
Issue / Card