Supportly
SupportlyDocs
/

Getting Started

Getting Started

Widget Integration

Widget IntegrationPage highlighting & scrolling

AI Configuration

AI Configuration

API Reference

API ReferenceAPI Playground

Team Management

Team Management

Billing

Billing

FAQ / Troubleshooting

FAQ & Troubleshooting

Feature guides

Website actionsWebsite auto loginDomains and keysCustomers and historyChat, tickets and routingCategories and tagsKnowledge base and uploadsNotificationsAnalytics and exportsActivity log

AI prompts

Widget integration prompt
Get started free
SupportlyDocs
Checking account…

Widget Integration

Page highlighting & scrolling

Page guidance highlights an explicitly marked website element and can scroll to it. The widget sends target IDs, not the page text, input values or account records. It works on the current page; the customer performs clicks and other actions.

Enable highlighting and scrolling

  1. 1

    Use a paid workspace

    Page guidance requires Supportly Pro, Business or Enterprise. A website customer's Premium subscription does not replace the Supportly workspace plan. Free and downgraded workspaces cannot enable it through client code.

  2. 2

    Install the widget on your allowed origin

    Use the current install snippet from Widget settings and keep its widget.js version current. Configure the public widget key for the exact website origin. See Widget Integration and Website Auto Login in the docs navigation.

  3. 3

    Enable the two controls

    In Dashboard > Widget > Website actions > Scrolling and highlights, enable Highlight the next step. Enable Scroll the highlighted step into view separately if you want scrolling, then Save changes. These settings correspond to enableInPageGuidance and guidanceAutoScrollEnabled. Confirmed website tasks are managed in the same tab; their toggle does not enable or disable page guidance.

  4. 4

    Mark safe targets and describe them

    Add unique data-supportly-target IDs to visible static headings, labels or non-sensitive buttons. Explain the target IDs and website workflows in AI Configuration instructions or the knowledge base. Do not paste executable beacon directives into customer messages.

Target markup and privacy

A safe account activity target

Keep the static heading outside the private data container. Never mark a whole account card containing private data as the target.

HTMLhtml
1<section aria-labelledby="account-activity">
2 <h2 id="account-activity" data-supportly-target="account-activity">
3 Account activity
4 </h2>
5 <div data-supportly-private>
6 <!-- Authenticated account records and controls stay here. -->
7 </div>
8</section>
  • IDs contain only letters, digits, underscores or hyphens, up to 80 characters. Up to 30 current-page targets are sent automatically. No extra callback is required for highlighting.
  • Use one unique ID per element. Duplicate IDs, even if one copy is hidden, are rejected. Give desktop and mobile navigation different IDs.
  • Targets must be connected to the host document and have a visible layout with positive width and height. A target below the viewport can be scrolled into view. Hidden, inert, aria-hidden, display:none, visibility:hidden and opacity:0 ancestors prevent guidance.
  • The target and its ancestors or descendants must not contain data-supportly-private, sensitive inputs, editable areas, payment fields or iframes. Targets inside another component's shadow root are not discovered.
  • In a React or Next.js app, render targets in the real components. Keep IDs stable across rerenders, and wait for account sections to finish loading before asking the assistant to locate them.

Teach the assistant what each target means

Support instructionstext
1The customer opens /account to view their account activity.
2The account-activity target identifies the static Account activity heading.
3When this target is available and the customer asks where activity is,
4point them to it using the supported page guidance capability.
5Do not infer, read or change account records. If the target is unavailable,
6explain how to open the account page without claiming to navigate for them.

The hidden support prompt supplies the allowed target IDs and directive syntax automatically. Prompt text cannot create an element, enable a disabled feature, bypass a plan gate or grant account permissions.

Available, grounded visual guidance takes precedence over older instructions saying the assistant cannot highlight or scroll. The assistant should point to the section rather than repeatedly telling the customer to search manually. It must not claim to have read account data or verified that a browser action succeeded.

Gegamo Manifest supplies the static manifest-account-activity and manifest-download-history headings on /account. Their integration-defined purposes are supplied automatically when those targets are available. Pricing navigation uses separate manifest-nav-pricing-desktop and manifest-nav-pricing-mobile IDs.

What the customer sees

  • A relevant answer can show a temporary outline and short label on the approved target. The customer can dismiss it, press Escape, or let it expire after ten seconds.
  • With scrolling enabled, the target scrolls toward the center of the viewport. Reduced-motion preferences use immediate scrolling. Payment and checkout routes do not auto-scroll.
  • Guidance is ephemeral: directives are removed from stored conversation text. Reloading chat history does not replay old pointers or scroll the page again.
  • This integration does not navigate between pages, click buttons, fill or submit forms, run arbitrary code, or modify website data. Those capabilities require a separate authorized website-action integration.

Troubleshoot missing highlights or scrolling

SymptomCheck
Assistant says it cannot scrollConfirm guidance is enabled on a paid workspace and that a relevant target exists on the current page. A blanket private wrapper around /account excludes every heading; protect the actual records and expose only static safe headings.
No highlight appearsCheck unique IDs, private ancestors and descendants, hidden states, hydration/loading and the current widget asset version. Describe generic target purposes in your support instructions.
Highlight appears but does not scrollEnable Scroll to page guidance targets. Checkout and payment routes intentionally suppress automatic scrolling. Scroll requires the target to remain mounted.
The requested section is on another pageThe customer must open that page first. Guidance cannot navigate or create a missing section.
Account connection fails during impersonationSupport impersonation deliberately cannot issue a customer support session. Exit support access and sign in as yourself. Do not copy tokens or bypass the restriction.

When guidance fails and a customer needs a human

In Widget > Human handoff, choose AI-assisted for contextual escalation. Repeated unresolved support attempts can transfer the conversation before another provider reply. The check uses persisted customer and AI exchanges plus the latest complaint; isolated insults, quoted examples or a resolved issue are not enough on their own.

Sentiment detection controls mood-based escalation. Repeated failed support is an unresolved-issue reason, so turning sentiment off does not suppress that separate signal. Keyword-only intentionally ignores contextual escalation and uses your configured trigger phrases. The manual Request a human button works independently when enabled.

A transfer puts the conversation in human mode. If no agents are online, it stays open for a later human reply and explains availability instead of pretending an agent has joined. See AI Configuration for escalation policy and Team Management for operator presence.

Verify your integration

  1. 1

    Test a real below-fold target

    Open the page, ask the assistant to point to the marked section, and confirm the outline and optional scroll land on that heading. Test again in both desktop and mobile layouts.

  2. 2

    Test safety and settings

    Disable scrolling and confirm highlighting still works. Mark a target private and verify it is unavailable. Check duplicate IDs, a missing target and reduced motion. Do not use real payment or account-change operations as tests.

  3. 3

    Test recovery and human handoff

    In a test conversation, make two genuine support attempts, then report that you still cannot find the section. Confirm AI-assisted mode transfers instead of repeating instructions, including when your team is offline. Verify keyword-only and sentiment settings separately.

Previous

Widget Integration

Next

Website actions

On this page

Enable highlighting and scrollingTarget markup and privacyTeach the assistant what each target meansWhat the customer seesTroubleshoot missing highlights or scrollingWhen guidance fails and a customer needs a humanVerify your integration