Autonami: Execute Link Triggers More Than Once (Code Snippet)

To execute a Link Trigger multiple times in Autonami, you need to add a bit of custom PHP code.

Here is the snippet of code you need to add into your WordPress install (i.e. most likely into /wp-content/themes/yourtheme/functions.php).

Add to functions.php:

// run Autonami Link Trigger multiple times
add_filter('bwfan_link_trigger_multi_execution', function(){
	return true;
} );

Read on to see how you might use this feature in your business.

TIP! Use the above code to ensure your users can Subscribe to Autonami again with a double opt-in setup

What is a Double Opt-in?

A double opt-in is where a user completes a form on your website to subscribe to your mailing list. You then send them an email with a link inside. The user MUST click this click inside the email before they are subscribed to your mailing list. This helps prevent SPAM emails from joining your mailing list & hurting your email open rates.

For example, here is my Automation in Autonami.

Autonami: Execute Link Triggers more than once (code snippet)

I have a Link Trigger in the emails set in (3) and (4) above (the same Link Trigger is in both emails).

The Link Trigger has the following rule: “on click” it updates the user’s field “Status” to “Subscribed”:

Autonami: Execute Link Triggers more than once (code snippet)

So the aim of this Link Trigger is to subscribe people to Autonami again whenever they click this link.

The problem is, people can click this link trigger, get subscribed, then unsubscribe.

Later on, they might come back into this Automation and want to subscribe again, so we send them the same email, they click the Link Trigger they’ve previously clicked before to subscribe and… NOTHING HAPPENS!

As they’ve already clicked this link trigger before.

That’s actually why I added the above PHP code to my WordPress website and why I specifically needed to execute Link Triggers every time someone clicked them.

Learn how to set up a double opt-in with Autonami

I wrote an entire how-to guide that explains how you can set up a double opt-in with Autonami.

Double opt-in’s help to ensure only real people (not spam or fake emails) are subscribing to your Mailing List. A list full of real email addresses means better open rates for your emails = a healthier business for you.

If learning more about how to set up a double opt-in with Autonami interests you…

Click here to read my guide on how to set up a double opt-in with Autonami.

Hey! I'm Grant Ambrose,

My WordPress website generates millions of dollars in sales each year and I put together this website to help you do the same

I believe that a lot of the time, we aren't doing things that will help our business NOT because we don't know how to do it, but rather we don't even know it is possible. My website aims to change this. My website is here to help show YOU what is possible - what YOU could set up in your business with WordPress to increase sales, automate tasks and (ultimately) turn your ideas into working WordPress solutions.

Leave a Reply

Your email address will not be published. Required fields are marked *

row-general-opt-in
row-general-opt-in
Grow your WordPress business by getting...
My best tips to your inbox!

I'll send you emails when I publish content I think will help you and your business. You can opt-out at any time and change the topics of emails you get.

This site is not a part of the Facebook website or Facebook Inc. Additionally, this site NOT endorsed by Facebook in any way. FACEBOOK is a trademark of FACEBOOK, Inc.

Scroll to Top