-
Notifications
You must be signed in to change notification settings - Fork 1
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
newsletter "source" is sometimes populated, sometimes not #184
Comments
I tried selecting "Remove me from all the subscriptions on this page" from the Preference center. This marked all the newsletters as unsubscribed almost immediately. The next page asked for a reason. It seemed to take more than a minute, but the "unsubscribe_reason" field was eventually set. I suspect this is because There's a per-subscription unsubscribe in CTMS, but because these are done as two requests, we can't actually associate the unsubscribe reason with the newsletters that were just unsubscribed. Maybe after the transition.
I was able to reproduce this, using the subscription form for the mozilla-foundation newsletter on the front page of www-dev. The source URL was set on one code path, and basket PR 705 adds it in the other code path. @pmac reviewed and merged, and now the source URL is set. |
Further testing confirms that unsubscribe_reason is in fact being populated in both CTMS and Acoustic, just sometimes with a delay. Regarding the newsletter source filed, note that testing this evening shows that it is being populated for the firefox newsletter ("mozilla-and-you") but not for any others that were tested. Is this expected until the latest commit is deployed to Basket dev? |
The basket code has been deployed to basket-dev, so you are seeing the latest. Maybe the signup URL is not sent for some code paths? Can you see a pattern in how you signed up for a newsletter and if the |
depends if the form sends |
There's one test (2.6) that uses |
Ah ha, then that explains it. Thank you, and sorry for the wild goose chase on this one. |
FYI from my perspective we can close this. |
I don't think there is additional work in CTMS to set the source URL. I think we could populate the unsubscribe reason on the basket side, as well as update the format and language of existing newsletters. I've added these ideas in mozmeao/basket#698. |
There was also an earlier issue for the source URL not matching between SFDC and CTMS, that is tracked in mozmeao/basket#699 |
The text was updated successfully, but these errors were encountered: