Email Unsubscribe Page Not Working Properly

SOLVE
ClareF
Member

Hello! 

 

I'm attempting to create a two-step Backup Unsubscribe Page (which I'd apply to Manage Preferences, too), where the first step is a form asking for feedback on why a prospect is unsubscribing.  There's an onFormSubmit function which shows the second form, the actual, standard unsubscribe part:

<script>
  hbspt.forms.create({
	region: "xxx",
	portalId: "xxxxxxx",
	formId: "xxx-xxx-xxx",
  inlineMessage: ' ',
  onFormSubmit: function( $form ) {
    	$( '#step2' ).show();
    }
});

 

When I set the new page template via Marketing > Email > Subscriptions > Backup unsubscribe page, it seems to point to the default unsubscribe page on send.  

 

Any ideas why this may be happening?

 

Here's the snippet in the email template:

 

You can <a id="unsubscribe-link" class="hubspot-mergetag" data-unsubscribe="true" href="{{ unsubscribe_link_all }}" style="text-decoration: underline; whitespace: nowrap; color: #000000;">unsubscribe</a> any time.

 

What am I missing?

0 Upvotes
1 Accepted solution

Accepted Solutions
amwilie
Solution
Key Advisor | Elite Partner

@ClareF The unsubscribe_link_all uses the same page as the unsubscribe_link (manage preferences) which would be the Subscription preferences page not the Unsubscribe backup page. So you'll want to swithc Subscription preferences page to your new template.

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

4 Replies 4
PamCotton
Community Manager

Hello @ClareF , I will be adding some top experts to share their thoughts here, @tjoyce @thesnappingdog @DanielSanchez any recommendations to @ClareF matter?

 

Thank you,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes
ClareF
Member

@PamCotton, thanks for adding those folks, and a friendly bump 🙂

 

0 Upvotes
amwilie
Solution
Key Advisor | Elite Partner

@ClareF The unsubscribe_link_all uses the same page as the unsubscribe_link (manage preferences) which would be the Subscription preferences page not the Unsubscribe backup page. So you'll want to swithc Subscription preferences page to your new template.

border

Alyssa Wilie

Web Developer at LyntonWeb

If this answer solved your question, please mark it as the solution!

View solution in original post

ClareF
Member

I got it.  The problem was actually hidden in the email template, not the pages.  Everything was set up correctly except for a couple of little, rogue snippets at the bottom of the email template.  

 

Sometimes you just have to come back for another pass with fresh 👀

0 Upvotes