You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Mitrajit Sure! I know you already have another PR for a good-first-issue in the works, so after you submit a PR for this issue, perhaps you'd like to work on something a little more challenging? Those issues are labeled contrib:welcome. (In particular, we could use help with this one.)
I can see the utm parameters being present for "Extension Development", "Themes" and "Developer Policies" when I'm hovering over the URLs but when I click to open them -> ?utm parameters are not present in the address bar. Is it ok like this?
mmm, looks like extensionworkshop has a 301 on /develop to /develop/ (i.e. without the slash to with slash) which loses the utm params. @caitmuenster do you know if the UTM parameters are still recorded before the redirect?
As 11ty is just a static generator it doesn't serve anything itself. All files are built as index.html files in a directory so any URLs for EW should have a trailing slash.
As for why the 301 is dropping the query params I'll need to look into that, it's probably something related to how s3 is serving the content. There might be an option to fix that.
Activity
Mitrajit commentedon Mar 2, 2021
I think the Themes link https://extensionworkshop.com/documentation/themes/develop?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=dev-hub-legacy-menu-link

should be
https://extensionworkshop.com/documentation/themes?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=dev-hub-legacy-menu-link
as I am getting a 404 error.
caitmuenster commentedon Mar 2, 2021
Thank you for the catch and correction, @Mitrajit! 🙏 Yes, the updated link target should be https://extensionworkshop.com/documentation/themes?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=dev-hub-legacy-menu-link.
Mitrajit commentedon Mar 2, 2021
Can I work on this and send a PR? @caitmuenster @eviljeff
caitmuenster commentedon Mar 2, 2021
@Mitrajit Sure! I know you already have another PR for a good-first-issue in the works, so after you submit a PR for this issue, perhaps you'd like to work on something a little more challenging? Those issues are labeled
contrib:welcome.(In particular, we could use help with this one.)Mitrajit commentedon Mar 2, 2021
@caitmuenster Thanks a lot for guiding. Surely I will check those issues too.
Update links on legacy DevHub (#16649)
Update links on legacy DevHub (#16649) (#16656)
ioanarusiczki commentedon Mar 5, 2021
@eviljeff
I verified on AMO dev with FF86(Win10):
The Extension Workshop URL on the left side of Documentation will redirect to
https://extensionworkshop-dev.allizom.org/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=devhub-menu-link -> the utm parameters are present in the address bar.
I can see the utm parameters being present for "Extension Development", "Themes" and "Developer Policies" when I'm hovering over the URLs but when I click to open them -> ?utm parameters are not present in the address bar. Is it ok like this?
eviljeff commentedon Mar 8, 2021
mmm, looks like extensionworkshop has a 301 on
/developto/develop/(i.e. without the slash to with slash) which loses the utm params. @caitmuenster do you know if the UTM parameters are still recorded before the redirect?eviljeff commentedon Mar 8, 2021
actually probably more a question for @muffinresearch as I think it may be an eleventy thing
muffinresearch commentedon Mar 8, 2021
As 11ty is just a static generator it doesn't serve anything itself. All files are built as index.html files in a directory so any URLs for EW should have a trailing slash.
As for why the 301 is dropping the query params I'll need to look into that, it's probably something related to how s3 is serving the content. There might be an option to fix that.
eviljeff commentedon Mar 8, 2021
@Mitrajit would you be able to submit a follow-up patch to add
/to the urls?