• Resolved matthewdhuntley

    (@matthewdhuntley)


    Hi Icegram Express Folks,
    I have been reading this documentation…
    https://www.icegram.com/docs/category/icegram-express-premium/redirect-subscribers-after-subscribe-unsubscribe/
    …because I would like to redirect users to a certain proxy site URL after they’ve clicked the “this link” inside a Subscriber: Confirmation email message. I also see the corresponding section in Dashboard > Icegram Express > Settings > General, where it reads, “Double opt-in subscribtion messages: Page and messages to show when people click on the link in a subscription email.” However, I don’t see where/how I can list the page to which I’d like to redirect the user. Can you please advise?

    On a related note, if I edit the {{SUBSCRIBE-LINK}} in the Subscriber: Confirmation email Workflow and set it to my proxy URL, it works; however, by doing so, the user does not get subscribed to my site upon clicking the modified link. Instead, they remain “Unconfirmed”. It seems like I have to keep the {{SUBSCRIBE_LINK}} placeholder in order for the user to be officially subscribed/confirmed.
    Thanks very much in advance.
    Best regards,
    Matthew Huntley

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi there,

    I assume here you want to redirect to a custom site URL that is not part of your site.

    Currently redirecting to a custom site URL is not possible through the plugin settings but with the help of following custom code, it can be achieved.

    add_action( 'es_redirect_to_optin_page', 'icegram_express_redirect_to_custom_url', 9 );
    
    function icegram_express_redirect_to_custom_url( $es_page_request ) {
    	if ( ! empty( $es_page_request ) && 'optin' === $es_page_request ) {
    		$redirection_url = 'https://example.com'; // Proxy site URL goes here
    		wp_redirect( $redirection_url );
    		exit;
    	}
    }

    Note: The above code snippets can be added in the functions.php of your current active child theme or through the Code Snippets plugin. You can change the redirection URL as per your requirement.

    Hope this helps you. Let us know if you have any further queries.

    Thank you.

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @matthewdhuntley ,

    Hope you’re doing great.

    I wanted to check in with you regarding the inquiry you had the other day. Was it resolved? Do you need any additional help? I’d be happy to assist you in any case.

    Thank you!
    Have a great day ahead.

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi?@matthewdhuntley,

    We hope our previous replies were helpful in resolving your inquiry.

    I am closing this thread for now. Feel free to reopen it in case if you are still having issues or inquiries related to the plugin.

    Also if you have any other queries, you can open a new thread from here. We will be happy to assist you further.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect subscribers to specific page after they’ve clicked {{SUBSCRIBE-LINK}}’ is closed to new replies.