---
# System prepended metadata

title: ASR8 EVENTS
tags: [events, asr-8, xtime]

---

###### tags: `xtime` `asr-8` `events`

# ASR8 EVENTS

```javascript=
1. Track events on click

2. Track # of views per page category - if possible

3. There should be distinction between an ASR page and All Green page  - how is that being tracked currently? // TODO: Pending

- This is especially important for Video tracking, but also for funnel conversion, as there is less need for conversion if All Green. We should be able to *exclude* All Green data when looking at GA metrics for ASR only, or have 2 separate categories of metrics.



- Phone button (opens service advisor note)

--- Text /

--- Call /

--- Email /

gtmUserEvent(
      'Send a text Message button' | "Call directly button" | "Send an email button",
      'Clicked',
      'Text message sent.' | "Called from application" | "Email sent.",
      'Advisor Modal',
      phone/email
    );

- ASR pages:

--- "Action Required" and "Next" buttons - intent is to track funnel conversion rate

--- Add Service /

--- Not Today /



- Summary Page

--- Add Service /

--- Not Today /

--- FlexPay link *

--- Send to Advisor /  (approve button) // TODO: ask if is approved button or not



- Approved Page:

--- Service Estimate ?

--- Overall Inspection /

--- Services Performed ?

--- FlexPay link *



Multimedia - this should just be implemented in the exact same manner as ASR 7:

- Click on Video (maximizes in screen)

-- Video play percentage - 0, 25, 50, 75 % (this is how it's currently implemented)

--- # of views

- Click on photo

--- # of views

- All metrics must be tied back to ASR / RO.



Video view same logic as before:

- same event for BI on every page (incl complete page)

- internally we want to know which page the video was viewed on, and whether it was fullscreen view, but this info is not necessary for BI

- same logic applies to audio



Photo views logic:

- if immediately appear on page, count as 1 view

- if partially in view, 50% of photo must be visible to count as 1 view

- otherwise, if user has to scroll, count as a view when 50% of photo can be seen on page




All of the above logic applies to the Complete page


------------
------------
TASKS
1.
- ApproveButton OR next Button (serviceSummaryPage) // TODO: ask about goNextStep()
** Next ?
ActionNext Button Clicked
CategoryConsumer Microsite: Services Tab
LabelReview and Approve page displayed.
Non-interactivefalse

** ApproveButton /

2.
Fix the types:

export function gtmUserVideoEventType(
  event: string,
  eventElement: string,
  eventAction: string,
  eventResult: string,
  eventLocation: string,
  eventValue: ?string,
  asrEstimateId: ?string,
  asrInspectServiceId: ?string,
  asrMediaVehicleDocId: ?string
) {
  return Object;
}

3.

Fix the path of videoPlayer location event depending on ASR7

4.
fix the following in all the pages:
- gtmUserEvent: gtmUserEventType
- gtmUserVideoEvent: gtmUserVideoEventType

5.

----
New ASR8 events

1. advisor modal


gtmUserEvent(
               'Text Message',
               'Clicked',
               'Sent Text Message',
                'Advisor Modal'
            )


            ----
preguntar si /   => landing page / home page

1. un spreadsheet con todos los eventos
2. revisar la logica core este bien
3. 

```


# DIMENSION
![](https://i.imgur.com/XSG2C7M.png)


![](https://i.imgur.com/8Cg6OJA.png)

