# Best Practices for Analytics with MIDA

## 1. Session Replays

**What it is**\
Watch the full journey of any session exactly as the visitor experienced it.

**Why it matters**\
Pinpoint where users get stuck, hesitate, or what captures attention-so you can answer, “Why did they leave without buying?”

**How to use effectively**

* **Prioritize by Relevance Score.** MIDA calculates this from *Active Duration, Pageviews, Purchases, Checkouts Started,* and *Rage Clicks*. Focus on high-score sessions first.
* **Use Filters.** Narrow to sessions by country, device, or behaviors (e.g., added to cart but did not checkout).

**Suggested filter recipes by use case**

**1) Homepage Check**

* *Goal:* See who landed on the homepage and from where → **Landing Page contains “/”** + combine with **Source URL / Source Type**
* *Goal:* Check bounce → **Duration = 0–5 mins + Page Count = 1**
* *Goal:* Understand homepage behavior on mobile → **Device = Mobile**

**2) Product Page Behavior (PDP) Analysis**

* *Goal:* Find sessions that viewed products → **Event = View product**
* *Goal:* Identify users who viewed many products → **Page Count > 10 + Event = View product**
* *Goal:* Attribute ad traffic to product views → **Source URL contains utm\_source=facebook** (etc.)
* *Goal:* Compare by device → **Device = Mobile / Desktop**

**3) Add to Cart Behavior**

* *Goal:* Who clicked Add to cart → **Event = Add to cart**

**4) Cart & Checkout Analysis**

* *Goal:* Reached checkout but didn’t purchase → **Event = View checkout + Cart Value > 0**
* *Goal:* Detect checkout drop-offs → **Exit Page contains /checkout**
* *Goal:* Compare checkout behavior by device → **Event = View checkout + filter by Device**

**5) High-Value Sessions (VIP)**

* *Goal:* High cart value → **Cart Value > 0** + sort by **Page Count** or **Duration**
* *Goal:* Returning visitors → **Event = Returning shopper**
* *Goal:* Team-tagged sessions → **Tag = Exactly ...**
* *Goal:* Marked important/favorite → **Favorite = true**

**6) Traffic Source Analysis**

* *Goal:* Analyze Facebook/Google/etc. → **Source URL** or **Source Type**
* *Goal:* Campaign-specific landings → **Landing Page contains utm\_campaign=abc**

**Reference**

[https://docs.mida-app.io/dvanced-filters/advanced-filters](https://docs.mida-app.io/advanced-filters/advanced-filters)

***

## 2. Heatmaps

**What it is**\
Aggregated visual maps of clicks, mouse movement, and scroll depth.

**Why it matters**\
Reveal which elements (buttons, images, products) get attention and which are ignored.

**How to use effectively**

* **Spot high-interest products.** Identify products/categories with dense click activity on home/collection pages; feature or promote them.
* **Optimize layout.** If a critical CTA gets few clicks, reconsider placement or appearance (e.g., position or color).

**Reference**\
<https://docs.mida-app.io/heatmaps/view-heatmaps>

***

## 3. Analytics

**Goal**\
Understand *why* users don’t convert by analyzing the journey, intent, and friction points.

**Key dashboard areas**

* **Visitors / Sessions** - Volume & frequency: gauge interest and cadence
* **Successful Orders / Abandoned Carts** - Identify where drop-offs happen
* **Funnel (Viewed → Cart → Checkout → Order)** - Locate the exact step with loss
* **Traffic Sources (Organic/Paid/Referral/Direct)** - Find channels that drive quality traffic
* **Top Pages / Clicks** - Prioritize content that converts well
* **Devices / Browsers / OS** - Ensure responsive, error-free experiences
* **Heatmaps / Session Replays** - Observe real click behavior & scroll depth

**Step-by-step: analyze & improve conversion**

### **3.1. Monitor the funnel - find drop-off points**

Follow *Product viewed → Cart added → Checkout started → Order placed*.\
If a step drops heavily (e.g., Cart → Checkout), ask: technical errors? trust gaps (badges/reviews)? unclear design?

\
→ **Action:** Use **Session Replays** or **Heatmaps** to inspect behavior at that step.

#### 3.1.1. Landing → View Product (Viewed)

**Common causes**

* **Message mismatch:** Landing content doesn’t match ad/keyword promise.
* **Weak mobile presentation:** CTA/navigation lacks prominence; hero section too tall; products appear only after deep scroll.
* **Speed/compatibility issues:** Heavy page; browser/device rendering errors.
* **Poor orientation:** Key categories/best-selling products not highlighted.

**How to handle with MIDA**

* **Heatmaps (homepage/landing):** Check click-through on CTA/menu/banner; validate **scroll depth** reaches product blocks.
* **Analytics → Traffic Sources & Top Pages:** Compare **Paid/Organic/Referral/Direct**; find landing pages that drive the most **View product**.

**Quick actions**

* Surface the **primary CTA** and **best-selling products** higher (especially on mobile).
* Align **ad messaging ↔ landing content**.
* Streamline **top navigation**: concise menu, clear category entry points.
* **QA display** across popular devices/browsers (mobile first).

***

#### 3.1.2 View Product (PDP) → Add to Cart

**Common causes**

* **Missing info:** Size guide, images, benefits, price/shipping are unclear.
* **CTA not prominent / not sticky on mobile.**
* **Variants:** Users don’t see/believe the right color/size exists.
* **Weak trust:** No reviews; missing warranty/returns badges.
* **Unclear value:** Pricing, bundles, promos, or free-shipping thresholds aren’t obvious.

**How to handle with MIDA**

* **Session Replays:** Compare sessions **with** vs **without** Add to cart (watch variant selection and **rage clicks** on CTA).
* **Heatmaps (PDP):** Check clicks on **gallery, size guide, reviews, CTA**; confirm attention is concentrated on key areas; verify **scroll** to descriptions/specs.
* **Suggested Filters**
  * View product: **Event = View product**
  * Heavy browsers: **Page Count > 10 + Event = View product**
  * Device comparison: **Device = Mobile / Desktop**
  * Exit on PDP: **Exit Page contains /products/**

**Quick actions**

* Make the **Add to cart** CTA highly visible; consider **sticky ATC** on mobile.
* Place **size guide / returns / shipping** near the CTA; clarify **variant** selection.
* Add **reviews** and concise **benefit bullets** (with real-life images).
* Show **promotions & free-shipping thresholds** clearly.

***

#### 3.1.3 Add to Cart → Checkout Started

**Common causes**

* **UI interruptions:** Mini-cart obscures the “Proceed to checkout” CTA; checkout path is unclear.
* **Pop-ups/upsells** create noise; **app conflicts** cause issues.
* **Trust concerns:** Worries about returns/shipping/payment gateways.
* **“Probe carts”:** Users are only testing price/shipping.

**How to handle with MIDA**

* **Session Replays:** Inspect sessions that have **Add to cart** to observe whether users progress to checkout.

**Quick actions**

* **Reduce noise:** Limit pop-ups/upsells that block the path to checkout.
* **Emphasize trust:** Returns, secure payment, fast support.
* **Clarify the checkout CTA:** Fixed, visible placement (especially in drawers/mini-carts).

***

#### 3.1.4 Checkout Started → Order Placed

**Shopify plan notes**

* **Non-Shopify Plus:** You cannot modify checkout UI; you can **monitor** with MIDA.
* **Shopify Plus:** You can **review checkout sessions** to spot drop points and **add trust badges** to increase credibility and completion.

**(From Analytics steps)**

### **3.2. Evaluate traffic sources - which channels convert?**

Compare *Paid vs Organic vs Referral vs Direct*. Some drive volume but convert poorly.

→ **Action:** Scale high-converting channels; optimize landing for weak ones; align ad messaging with page content.

### **3.3. Focus on high-performing pages/products**

Identify frequently viewed pages or PDPs. Ask why they perform (visuals, CTA, clear pricing/promos).

→ **Action:** Replicate winning elements on weaker pages; ensure clear, mobile-friendly CTAs; use **Heatmaps** to confirm users don’t skip primary actions.

### **3.4. heck device & browser compatibility**

If most users are on mobile, prioritize mobile UX. Low engagement on certain browsers may indicate bugs.

→ **Action:** QA on popular devices/browsers; improve load speed, layout, and button responsiveness on mobile.

### **3.5. Detect & fix button errors (Error Clicks)**

Broken/unresponsive buttons directly block conversion.

→ **Action:** Use **Session Replays** to find unresponsive clicks; fix CTAs/checkout immediately; show fallback error messages like “Something went wrong, try again.”

***

## 4. Surveys

**What it is**\
Ask customers directly to validate your hypotheses.

**Why it matters**\
Collect feedback about pricing, product selection, or purchase difficulties.

**How to use effectively**

* **Track performance:** Use Survey analytics to monitor response rates and adjust questions/design to increase completion.

**Reference**

[**https://docs.mida-app.io/surveys/create-surveys**](https://docs.mida-app.io/surveys/create-surveys)

***

If you have any questions, feel free to contact us via **Crisp Chat** or email us at [support@mida-app.io](mailto:support@mida-app.io?subject=%5BMIDA%20Support%5D%20Question%20about%20Fraud%20Score\&body=Hi%20MIDA%20Team%2C%0A%0AI%20have%20a%20question%20about%20the%20Fraud%20Score%20feature.%20Please%20assist%20me%20with%20the%20following%3A%0A%0A-%20Shop%20URL%3A%20%0A-%20Issue%20details%3A%20%0A%0AThank%20you!%0A%0A%2D%20Your%20Name).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mida-app.io/analytics/best-practices-for-analytics-with-mida.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
