Skip to main content
Add the script tag to every page that needs the SDK — typically in a shared layout or footer include.

Placement

The tag can go in <head> or at the end of <body>; because it’s async, it won’t block rendering either way. Putting it in <head> starts the download slightly earlier.

Attributes

* Omit data-key only if you plan to call CashbackHive.init() yourself.

Subresource integrity

The SDK is updated in place at the same URL so publishers receive fixes without redeploying. Because of this, don’t add an integrity attribute — it would break on every SDK release.

Content Security Policy

If your site sets a CSP, allow the SDK host in script-src and connect-src. See Content Security Policy.