Skip to content
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

User not unsubscribed if Admin Newsletter Subscriber page used #27

Open
clivewalkden opened this issue May 31, 2019 · 13 comments
Open

User not unsubscribed if Admin Newsletter Subscriber page used #27

clivewalkden opened this issue May 31, 2019 · 13 comments

Comments

@clivewalkden
Copy link

Hi,

This applies to Magento 2.3.1, not tested on anything else.
If you unsubscribe a user from the newsletter subscriber page in the admin they unsubscribe method is never reached.

When the UserProfileNewsletterSubscribeObserver fires the $subscriber->isStatusChanged() always returns false which stops the rest of the execute method running. Magento thinks the user is unsubscribed but the information never makes it back to Klaviyo servers.

Doesn't seem to happen anywhere else on the site (frontend, admin user area, third party modules affecting newsletter subscriptions)

Thanks in advance.

@clivewalkden
Copy link
Author

Has anyone else experienced this issue?

@clivewalkden
Copy link
Author

Doesn't seem to syncronize unsubscribes on the Magento side if a user is unsubscribed in the Klaviyo dashboard.

@remstone7
Copy link
Contributor

@clivewalkden

  1. We don't post back to the magento side if a user unsubscribes in Klaviyo.

  2. We will investigate the $subscriber->isStatusChanged()

@clivewalkden
Copy link
Author

@remstone7 Thanks for the reply.

  1. Why not?
  2. Awesome, thanks!

@remstone7
Copy link
Contributor

  1. great question, it's something i'll pass over to the product managers and see if we can get it in a future release!

@clivewalkden
Copy link
Author

Awesome, thanks, was hoping there wasn't a major reason!

@bizlift
Copy link

bizlift commented May 5, 2020

MailChimp has 2-way sync on subscribe/unsubscribe. Was testing Klaviyo, and wondering why unsubscribed weren't reflected on Magento.

Any possibility this functionality will be added so we can migrate to Klaviyo?

@remstone7
Copy link
Contributor

@bizlift to confirm you're referring to the admin page specifically (ex. you manually giving someone a status of 0 not 1) and not through the account page?

@bizlift
Copy link

bizlift commented May 5, 2020

@remstone7 was referring to comments in thread about Klaviyo > Magento sync direction.

I landed here via Google & just realized that I should have created a separate issue. My apologies.

Doesn't seem to syncronize unsubscribes on the Magento side if a user is unsubscribed in the Klaviyo dashboard.

We don't post back to the magento side if a user unsubscribes in Klaviyo.

@clivewalkden
Copy link
Author

@bizlift My original ticket does mention what you are describing so not totally off topic. 2-way sync would be a bonus for this module, would happily give it a + vote if it needs creating as a separate issue.

@remstone7
Copy link
Contributor

makes sense, we would do this through out app integration not through the module itself. I'll open a feature request internally for it

@bizlift
Copy link

bizlift commented Jun 9, 2020

@remstone7 thank you for opening an internal feature request. Any update on whether it's been approved/scheduled?

Is there a temp workaround we could do? Like webhook notification on subscribe/unsubscribe from list?

@remstone7
Copy link
Contributor

@bizlift this hasn't been picked up yet. We unfortunately don't have a webhook based system for this but if you wanted to utilize the metrics api https://www.klaviyo.com/docs/api/metrics#metric-timeline and poll on the unsubscribed from list metric that would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants