CMS Development

ClareF
Member

Email Unsubscribe Page Not Working Properly

SOLVE

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
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Email Unsubscribe Page Not Working Properly

SOLVE

@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.

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

border

Alyssa Wilie

Web Developer at LyntonWeb

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton


View solution in original post

4 Replies 4
amwilie
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Email Unsubscribe Page Not Working Properly

SOLVE

@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.

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

border

Alyssa Wilie

Web Developer at LyntonWeb

Kickstart your success on HubSpot's CMS with a theme by the HubSpot experts at Lynton


ClareF
Member

Email Unsubscribe Page Not Working Properly

SOLVE

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
ClareF
Member

Email Unsubscribe Page Not Working Properly

SOLVE

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

 

0 Upvotes
PamCotton
Community Manager
Community Manager

Email Unsubscribe Page Not Working Properly

SOLVE

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