Small helpers for generating tracked wan30.video URLs and validating
lightweight integrations.
Summary
Functions
Builds a campaign URL with standard UTM parameters.
Builds an embeddable URL under /embed.
Builds a shareable URL with optional campaign metadata.
Builds a referral URL using the ref query parameter.
Produces a SHA-256 HMAC signature for webhook payloads.
Builds a URL for a path under wan30.video.
Verifies a webhook payload against an expected signature.
Returns the canonical website URL.
Functions
Builds a campaign URL with standard UTM parameters.
Supported keys:
:source, :medium, :campaign, :term, :content
Builds an embeddable URL under /embed.
Example:
embed_url("demo-video", autoplay: true)
Builds a referral URL using the ref query parameter.
Produces a SHA-256 HMAC signature for webhook payloads.
Builds a URL for a path under wan30.video.
Empty and root-like paths both resolve to the website root.
Verifies a webhook payload against an expected signature.
@spec website_url() :: String.t()
Returns the canonical website URL.