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

Deprecate Mailchimp for Substack #11

Closed
2 tasks done
Tracked by #4
rihp opened this issue Mar 16, 2022 · 5 comments
Closed
2 tasks done
Tracked by #4

Deprecate Mailchimp for Substack #11

rihp opened this issue Mar 16, 2022 · 5 comments
Assignees
Milestone

Comments

@rihp
Copy link
Collaborator

rihp commented Mar 16, 2022

The landingpage is currently using a mailchimp email sign up, so when we are going to post something on substack, we should export all the subscribers from mailchimp and import them into substack.

this process takes about 10 to 15 minutes, and has to be done each time

The other alternative to stop doing this manually is:

@rihp
Copy link
Collaborator Author

rihp commented Aug 2, 2022

I looked into this, and there is a possibility to use this codegen tool to create a styled sign up section like this one
image

our substack domain is
blog.polywrap.io

@rihp
Copy link
Collaborator Author

rihp commented Aug 2, 2022

This is the Landing Page repo, and the line on which the component is implemented:

https://github.com/polywrap/landing-page/blob/master/src/components/Footer.tsx#L209

And this is the component on which Mailchimp is currently set up on, and which we need to update to connect to substack
https://github.com/polywrap/landing-page/blob/master/src/components/EmailForm.tsx

@rihp rihp closed this as completed Aug 2, 2022
@rihp rihp reopened this Aug 2, 2022
@pileks pileks self-assigned this Aug 2, 2022
@pileks
Copy link

pileks commented Aug 2, 2022

I have opened a PR to replace the signup form with the Substack embed:
https://github.com/polywrap/landing-page/pull/142

Important note: With the Substack embed, we are losing our old GA event:

ReactGA.event({
        category: `Button-${location}`,
        action: CTA,
        label: "Early Access",
      });

CTA here was "Join our Discord", so I figured this was an old event in any case, and decided to go forward with what's potentially a heavy-handed change.

I have also tried out an alternative approach where we can manually call substackapi's endpoint using our old form/signup button, if we want to do that.

Just let me know. 😄

@rihp one more important note:
For future reference - the correct subdomain for Polywrap is the customized one (blog.polywrap.io), as using polywrap.substack.com threw all kinds of weird errors.

@pileks
Copy link

pileks commented Aug 3, 2022

New PR that uses our own button + minor tweaks to the GA event:
https://github.com/polywrap/landing-page/pull/143

@rihp rihp closed this as completed Aug 3, 2022
@rihp
Copy link
Collaborator Author

rihp commented Aug 3, 2022

Had a quick call with pileks, and we were able to get this one wrapped!! Thanks a lot @pileks 🔥

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