CMS Integration

Shopify Integration

Protect your Shopify storefront from bots, credential stuffing, and automated abuse using a lightweight JavaScript agent injected via the Shopify ScriptTag API.

~2KB
Agent payload
0
Theme file changes
Fail-open
Checkout never breaks

How it works

  1. ScriptTag injection — AuraGuardian registers a JavaScript agent via the Shopify ScriptTag Admin API. No theme edits required.
  2. Client-side fingerprinting — On each page load, the agent collects browser signals (UA, timezone, screen resolution, touch capability) and sends a verify request to the AuraGuardian cloud.
  3. Cloud decision — The cloud responds with allow, challenge, or block within ~50ms.
  4. Enforcement — Challenges redirect through the hosted security check and return to the storefront. Blocks render a branded overlay. Legitimate visitors see nothing.

Installation

From the AuraGuardian Dashboard (recommended)

  1. Go to Console → Deployment → Shopify.
  2. Enter your Shopify store domain (e.g. mystore.myshopify.com).
  3. Authenticate via Shopify OAuth when prompted.
  4. The platform registers the ScriptTag automatically — no code required.

The agent starts in observe mode by default. Switch to enforce from the Console once you've reviewed the event log.

Manual installation (theme snippet)

If you prefer manual control or cannot use the automated flow:

  1. Download the Shopify agent bundle from Console → Deployment → Shopify.
  2. In Shopify Admin, go to Online Store → Themes → Edit Code.
  3. Under Snippets, create a new file called auraguardian.liquid.
  4. Paste the provided snippet code.
  5. Open theme.liquid and add {%raw%}{% render 'auraguardian' %}{%endraw%} just before </head>.
<!-- AuraGuardian Shopify Agent -->
<script
  src="https://auraguardian.co/agent/shopify/v1.js"
  data-ag-key="UP_LIVE_..."
  defer
></script>

Configuration

All configuration is managed from the AuraGuardian Console:

Setting Description
Protection Modeobserve (log only) or enforce (active blocking)
Challenge TypeJavaScript challenge or visual CAPTCHA
Excluded PathsPaths to skip (e.g. /admin, /checkout)
Rate LimitsMax requests per IP per minute before challenge

Fail-open design

The Shopify agent is designed to never break your store. If the AuraGuardian cloud is unreachable (network timeout, maintenance, DNS issues), the agent silently fails open — your storefront and checkout continue to function normally.

  • XHR timeout: 5000ms
  • On error: silent fail — no DOM changes, no console errors
  • Checkout is never intercepted
  • Shopify design mode (theme editor) is automatically excluded

Uninstallation

  • Automated: Go to Shopify Admin → Apps → AuraGuardian → Remove. The ScriptTag is deleted automatically.
  • Manual: Delete the auraguardian.liquid snippet and remove the {%raw%}{% render 'auraguardian' %}{%endraw%} line from theme.liquid.

The agent never modifies products, collections, checkout, or customer data. Removal is instant and leaves no residual code.