SetupChoose Your Integration Method

Choose Your Integration Method

Choose a Hardal collection method for website, mobile, backend, or AI agent activity and learn when to combine them.

Choose a method based on where the activity happens and which reports you need. You can combine methods; each sender must use the correct Tenant ID, Source ID, and active collection URL from Setup.

Compare collection methods

MethodWhen and how to use it
Web trackerCollect website page views, scrolls, and outbound clicks automatically. Add business events explicitly.
Mobile HTTP APISend app activity from iOS, Android, or a cross-platform app. Implement event triggers, payloads, timestamps, and session IDs.
Server-side APISend backend events such as confirmed payments and CRM leads.
AI Visibility collectionMeasure agent and crawler requests. Forward original request metadata from server middleware or a CDN.

AI Visibility collection uses /agent-events. Website, mobile, and backend business events use /collect. Sending one type does not replace the other.

Common combinations

Website analytics: install the web tracker, verify page views, then add the business events that matter to your team.

Web commerce with server-confirmed purchases: use the tracker for browsing and your backend for confirmed purchases. Decide which system sends each purchase so the same business action is not intentionally sent twice. Carry a stable transaction ID and the available collection context; a server event without session context is not automatically linked to a browser visit.

Mobile app: implement the mobile request contract and reuse one session UUID for events in the same app session. Map your existing event plan to Hardal names and parameters. HTTP event ingestion does not by itself provide install attribution or an MMP integration.

Website plus AI Visibility: install the tracker and server-side agent forwarding. This measures human browser activity and agent requests through separate collection flows.

Shopify: see Web Setup for the app link and verify that the store sends events to your Current source before adding custom tracking.

After choosing

Choose a source

Create or select the appropriate source.

Copy the setup values

Copy its generated identifiers and configure its collection hostname.

Verify collection

Follow the method-specific guide and verify incoming data.

Add business events

Add your event plan, then inspect the events and reports.

The Analytics API reads existing report data. It is separate from these collection methods.