×

RoutineHub Ads

Premium

This library requires a Jellycuts Premium subscription ($19.99/mo). Attempting to import RoutineHubAds without Premium will produce a compiler error.

The RoutineHub Ads library lets you monetize your shortcuts by embedding affiliate links. When users tap your link, you earn revenue through the RoutineHub Creator Program.

Getting Started

Before you can use this library, you need to complete two steps:

  1. Subscribe to Jellycuts Premium ($19.99/mo) — unlock the RoutineHubAds library in the compiler.
  2. Join the RoutineHub Creator Program — sign up at CreatorHub Beta to register your information and receive your personalized affiliate link. This link tracks when users click through, so you get credited for the revenue.

Current Product: Affiliate Links

RoutineHub Ads currently supports affiliate links as its first monetization product. You embed your personalized affiliate URL into one of the available ad actions, and when a user runs your shortcut they see a styled card or page with your link. Additional ad formats (such as display ads) will be available in future updates.

Importing this library

import RoutineHubAds

Quick Example

import Shortcuts
import RoutineHubAds

// Your shortcut logic
var result = "Hello"
showResult(result)

// Insert your affiliate link
routineHubLink(url: "https://wildfire.co/aff/YOUR_KEY", text: "Check this out")

Available Actions

All actions accept your affiliate URL as the url parameter. Use the link you received when you joined the Creator Program.

How It Works

Each action compiles into two Shortcuts actions at build time: a Get Text action containing a self-contained HTML page, followed by a Show Web Page action that renders it. The HTML is fully embedded in the shortcut — no network requests are made at compile time.