Skip to main content
Version: 2.4.0

URL Triggers

We've made it easy to trigger modals via URLs so that you can trigger the modals via email campaigns, external links to your site, or to link button to the modals using anchor tags.

Example

https://www.yoursite.com?view=plan-select

List of triggers#

DescriptionURL
Opens the login modal.?view=login
Opens the register modal.?view=register
Opens subscription plan selection modal.?view=plan-select
Opens the gift redemption modal.?view=gift-redeem
Opens the forgot password modal.?view=password-forgot
Opens the cart modal after adding the
provied comma separated e-commerce SKU IDs.
invalid SKU IDs will be ignored. if no valid SKU ID
is provided the trigger will be ignored
?view=cart&sku_id=32,33,34
Starts the checkout flow to purchase the
e-commerce item with the provided SKU ID.
if the provided SKU ID is invalid the trigger
will be ignored
?view=order-create&sku_id=33

plan-select extra parameters#

this trigger allows extra parameters to specify a specific product, plan, and other options as well. You can combine a trigger with multiple parameters in the URL to fulfill your requirements. This is an example of a link that would trigger the select view along with a coupon. https://www.yoursite.com?view=plan-select&coupon_code=12345

DescriptionExtra parameter
Set the product IDproduct_id={product_id}
Set the plan IDplan_id={plan_id}
Set the coupon codecoupon_code={COUPON_CODE}
Set the gift redemption codegift_code={GIFT_CODE}
Set the gift checkbox, to set the subscription as a gifted one.is_gift=true

register extra parameters#

this trigger allows extra parameters to start the subscription flow for a specific offline plan once the user has registered or signed-in. This is an example of a link that would trigger the checkout flow. https://www.yoursite.com?view=register&plan_id=12345

Read more about offline plans

DescriptionExtra parameter
Set the offline plan IDplan_id={plan_id}