How to use Quick API Goals!

The Quick API Goals extension allows you to easily track user engagement throughout your site without any coding knowledge.

This tutorial requires the Quick API Goals Add-on

Like any FormLift extension, setup is braindead easy! Here’s how to use it.

1. Set Up an API Goal in Infusionsoft:

Set up your API goal in the Infusionsoft campaign builder.

Your goal MUST have the integration name FormLift. You may specify any Alpha Numeric call name you want.

2. Add your API trigger:

The Quick API goals extension gives you three ways to trigger the API call!

On A Page Load:

To trigger your api goal on a page load, simply add the following shortcode to the page in question anywhere in the content.

[formlift_goal call="mycallname"]

This will not output any html, it will only fire the specified call name. Replace “mycallname” with the call name in your API goal.

On a Link Click:

This only works if you are linking to a page within your WordPress site!

Add the following to the end of your link.

https://example.com/?formlift_action=api_goal&call_name=mycallname

Replace “mycallname” with the call name in your API goal.

If you need to redirect outside of your wordpress site, then do this.

https://example.com/?formlift_action=api_goal&call_name=mycallname&redirect_to=https://www.othersite.com/

On an element click:

If you need a goal to be fired if someone is staying on the same page, but clicks something on the page, such as a video or a download, you can do the following.

Add the following CSS class to the element.

<div class="call_name-mycallname"></div>

Whenever a user clicks on an element with that class, “mycallname” will be fired.

3. Putting it all together:

It goes without saying that in order for Quick API Goals to work, a user would have had to fill out a from previously on your site!

So, after any one submits a form, make SURE the following is done.

You must redirect them back to the site, DO NOT USE THE HOSTED THANK YOU PAGE, and in the thank you page settings you must tick the box “send contact info to thank you page” or the Quick Goals will not work.

After submitting a form, a user will be able to trigger API goals for some time depending on how many days you have set to store a user’s information here,

If you leave that setting blank, a user will be able to complete API goals on your site without having to fill out any forms for up to 30 days.

THAT’S IT!

By |2018-04-27T16:01:33+00:00April 26th, 2018|Documentation|0 Comments

About the Author:

Adrian Tobey is a certified Digital Marketer from Canada's leading digital marketing training company Training Businesses Pros. Along with providing and training best digital marketing practices, he is the lead developer and creator of FormLift.

Leave A Comment