All Shortcodes Table

Shortcode

Description

The shortcode

Return

Extra options

Country

Display the user’s location: country

[ifsoDKI type='geo' show='country']
United States

City

Display the user’s location: City

[ifsoDKI type='geo' show='city']
Los Angeles

State

Display the user’s location: State

[ifsoDKI type='geo' show='state']
California

Continent

Display the user’s location: Continent

[ifsoDKI type='geo' show='continent']
North America

Time zone

Display the user’s location: Time zone

[ifsoDKI type='geo' show='timezone']
Los_Angeles

Google Ads

Insert the keyword that was used to trigger your ad.

[ifsoDKI type="google-ads" parameter="YOUR-PARAMETER" fallback="Your default value (optional)"]
Your default value (optional)

Query String

Display the value of any query string.

[ifsoDKI type="querystring" parameter="YOUR-PARAMETER" fallback="Your default value (optional)"]
Your default value (optional)

Auto-Local Time Display

Show an event time that is calculated according to the user’s time zone.

[ifsoDKI type='time' show='user-geo-timezone-sensitive' time='04/25/2022 08:00' format='n/j/o, G:i']
4/24/2022, 22:00

User Details (for logged-in users)

Display the user’s first name, last name, email, and more

[ifso_user_details show="firstName" fallback="Default value (optional)"

Login Link

Display a login/logout link.

[ifso_login_link login_redirect="https://example.com/account" ]

Referral Source

Display the URL of the referral website or webpage.

[ifsoDKI type='referrer' fallback="Default value (optional)"]
https://www.if-so.com/all-shortcodes-table

Browser Language

Display the user’s browser language.

[ifsoDKI type='language' show='primary-only']
Unknown

Total Number of Pages Visited by the User

Display the number of website pages that were visited by the user.

[ifsoDKI type='viewcount' show='visit-count']
0

Post ID

Display any page, post, or custom post using a simple shortcode.

[ifso-show-post id="123"]

Add / remove Cookie

Add a cookie to the user’s browser upon rendering.

[ifso-add-cookie name='COOKIE_NAME' value='COOKIE_VALUE' time='3600']

Add a Cookie on Click

Assigning a cookie upon element click (or in this example, after 3 clicks), and redirecting to another page.

[ifso_onclick_redirect  url='https://example.com' clicks='3' cookie_name='hello' cookie_value='world' expires='3600' ]Click here 3 times to see the result[/ifso_onclick_redirect]

Countdown

Display a countdown element to a specific timestamp, or to a recurring deadline.

[ifsoCountdown end="23:59" format="hour-sec" labels="bottom"]

Add/remove from audience

Add or remove users from an audience when the shortcode is loaded.

[ifso-audience type='add' audience='YOUR-AUDIENCE-NAME']

Add a conversion

Add a conversion for all triggers, or for a specific trigger

[ifso_conversion triggers="123"] 

Conditional Redirect

Redirect a user to a specified page when the trigger is loaded.

[ifso-redirect url='https://example.com' code='301'ajax="no"]