Closed Bug 1227250 Opened 9 years ago Closed 9 years ago

Remove and replace any sendto.m.o links on Mozilla.org

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: malexis, Assigned: espressive)

Details

(Whiteboard: [kb=1906661])

Attachments

(1 file)

Need to replace the old https://sendto.mozilla.org/ links with https://donate.mozilla.org/ on a few mozilla.org pages

Andrea or Erika, please confirm the list of pages that need the old link replaced. 

Also need to confirm the presets to include in the URL for each page and locale

So far I have:

https://www.mozilla.org/en-US/foundation/
https://www.mozilla.org/en-US/contribute/

Tabzilla?
Flags: needinfo?(erikad)
Flags: needinfo?(andrea)
There are a number of other links but I think they are different teams. 

Do you know who owns https://wiki.mozilla.org/Ways_to_Give ?
Flags: needinfo?(erikad)
I updated Ways to Give:
https://wiki.mozilla.org/Ways_to_Give

All the currency links and other URLs there should now point to our new localized form.
Assignee: nobody → schalk.neethling.bugs
Whiteboard: [kb=1906661]
There are a bunch of locales here:
https://github.com/mozilla/bedrock/blob/master/bedrock/settings/base.py#L603

that still uses the sendto. URL and this is used by the url helper such as here:
https://github.com/mozilla/bedrock/blob/master/bedrock/base/templates/includes/site-footer.html#L17

Any reason we should not just update all those locales in base.py and then use the URL helper everywhere on the site where we have links to donate?

As can be seen from the site_footer example, we specifiy the utm_source so, the foundation page will have about_foundation and the contribute page contribute as the utm_source
Flags: needinfo?(malexis)
Flags: needinfo?(francesco.lodolo)
Really not a question I can answer.
Flags: needinfo?(francesco.lodolo)
Flags: needinfo?(malexis) → needinfo?(andrea)
1. https://sendto.mozilla.org/page/contribute/Give-Now this url actually being redirect to https://sendto.mozilla.org/page/contribute/givenow-seq which now should be replaced with https://donate.mozilla.org/en-US/ we can use whatever locale here since it will try to detect if the requested locale is supported otherwise it will fallback to en-US


2. https://sendto.mozilla.org/page/content/paypal-donate-czk/ should be replace with https://donate.mozilla.org/cs/?currency=czk

3. https://sendto.mozilla.org/page/content/paypal-donate-dkk/ replace this url with https://donate.mozilla.org/da/?currency=dkk

4. https://sendto.mozilla.org/page/content/paypal-donate-ils/ replace this url with https://donate.mozilla.org/he/?currency=ils

5. https://sendto.mozilla.org/page/content/paypal-donate-huf/ https://donate.mozilla.org/hu/?currency=huf

6. https://sendto.mozilla.org/page/content/paypal-donate-jpy/ https://donate.mozilla.org/ja/?currency=jpy

7. https://sendto.mozilla.org/page/content/paypal-donate-nok/ (nn-NO) https://donate.mozilla.org/nn-NO/?currency=nok

8. https://sendto.mozilla.org/page/content/paypal-donate-nok/ (nb-NO) https://donate.mozilla.org/nb-NO/?currency=nok

9. https://sendto.mozilla.org/page/content/paypal-donate-pln/ should be https://donate.mozilla.org/pl/?currency=pln

10. https://sendto.mozilla.org/page/content/paypal-donate-rub/ should be https://donate.mozilla.org/ru/?currency=rub 

11. https://sendto.mozilla.org/page/content/paypal-donate-sek/ should be https://donate.mozilla.org/sv-SE/?currency=sek

12. https://sendto.mozilla.org/page/content/paypal-donate-thb/ should be https://donate.mozilla.org/th/?currency=thb

the rest of the query I'm not really sure about here, and maybe Andrea can help?
Thanks! Just to be sure I do not miss anything aka sanity check. We do not want any donation links on mozilla.org to link to sendto. Everything should be pointing to donate.
Flags: needinfo?(ali)
The one thing still missing is the presets and the default amount:
for example:

'https://donate.mozilla.org/de/?presets=100,50,25,15&amount=50'
        '&ref=EOYFR2015&utm_campaign=EOYFR2015&utm_source=mozilla.org'
        '&utm_medium=referral&utm_content={source}&currency=eur'

The same presets and default amount will not be the same for all locales.
Yup it's all should be pointing to donate.Mozilla.org instead of sendto

For the query part I'll confirm in a bit for you,
Flags: needinfo?(ali)
I don't know if this helps but if there was a presets from sendto we should still use the same one, but maybe Scott can help here.
Flags: needinfo?(scott)
If you don't add a presets query, it'll default to a set based on the currency, if you provide a presets query, it'll just use that no matter what.

If you want to add an amount, or override the presets, you need a new link per locale.
Flags: needinfo?(scott)
Thanks Scott,

So I am thinking it is best to fallback to the predefined presets and default amount? Unless you feel different? Also, this would then be site wide for mozilla.org, which I reckon is a good idea
Flags: needinfo?(scott)
Flags: needinfo?(ali)
Only presets default right now, we would have to add a small patch to donate to default the amounts too.
Flags: needinfo?(scott)
Flags: needinfo?(ali)
Also, the defaults are smaller values than what most people usually give that go directly from mozilla.org.

Increasing the presets for mozilla.org increases average donation amount.
Currently we have multiple locales for the donate link on mozilla.org and as such, all cannot have the same presets. As mentioned above, we can leave off the presets and have them default to whatever is appropriate.

So that problem is solved.

If we want to specify a default donation amount, we need this to be set beforehand as there is no default currently and all currencies cannot share the same default.
Is it possible to set a url for each locale in mozilla.org?
(In reply to Scott [:thecount] Downe from comment #16)
> Is it possible to set a url for each locale in mozilla.org?

See my pull request above. I left off the presets so it falls back to whatever is set for each currency. I also left the default amount at 50 for all locales and currencies. Let me know if any of this is a problem. Thanks!
Flags: needinfo?(scott)
It's important to get the presets right based on a higher average gift. I've updated a spreadsheet we are using to track average gift amounts. I will link to it here, but Scott should review and make sure the amounts and changes all make sense:
https://docs.google.com/spreadsheets/d/14ZWYtGF2xC459SXUT-otxGXzlM5peLp-HqFgPSjf2eM/edit#gid=398781322&vpid=A1
Flags: needinfo?(andrea)
Do we intend our new defaults to be what we want for mozilla.org? Or do we want mozilla.org to be a bit higher?
Flags: needinfo?(andrea)
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/d4a55c0ec3666993f905786cdc9b4f0c36f6ea33
Fix Bug 1227250, replace all instances of sendto donate links with donate.

https://github.com/mozilla/bedrock/commit/a0c3bbf69b5baa11d6104106dcf6c460295a42b5
Merge pull request #3605 from schalkneethling/bug1227250-replace-sendto-wtih-donate-links

Fix Bug 1227250, replace all instances of sendto donate links with donate.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/1f9f2c132bcd553e78da753a3e5482f162c4b4d0
Bug 1227250 - Update preset amounts for donation form

https://github.com/mozilla/bedrock/commit/657922a58e83f857e03874c8727301749ce8a2e0
Merge pull request #3618 from flodolo/bug1227250_defaults

Bug 1227250 - Update preset amounts for donation form
Clearing needinfo
Flags: needinfo?(scott)
Flags: needinfo?(andrea)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: