searchdiscovery / Apollo-Documentation-Xactly-Corp

An Apollo generated Event Driven Data Layer
0 stars 0 forks source link

Form Started #9

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

Form Started

User starts filling out any form on the site. Events will apply to all forms

Example Screenshot:

Javascript Code

window.dataLayer = window.dataLayer || [];
dataLayer.push({ event_data: null });  // Clear the previous event_data object.
dataLayer.push({
  "event": "form_start",
  "detailed_event": "Form Started",
    "event_data": {
        "form_name": "<form_name>",
        "form_type": "<form_type>"
    }
});
milind0299 commented 1 year ago

Hi @rossozburnsdi ,

Moving to SDI Review, please let us know for queries.

Thanks

jerry-bennett commented 1 year ago

Tested on: http://xactlystg.prod.acquia-sites.com/company/contact-us

Use case: Clicked on the "Let's Talk" form and started typing. Also tested the "Request Demo" form.

Status: Working as expected, not seeing the event fire before I start typing, fires as soon as I hit any key. Unrelated to the analytic implementation, but occasionally when testing the form wouldn't load. In that case I had to refresh.

Image

Image

milind0299 commented 1 year ago

Hi @jerry-bennett ,

We too are aware of the forms not being loaded even in the live and have to refresh. We have a separate development ticket to work which we will start after the data layers task.

Thanks

jerry-bennett commented 1 year ago

ROUND 2 QA: @rossozburnsdi

Tested on: http://xactlystg.prod.acquia-sites.com/company/contact-us

Use case: Clicked on the "Let's Talk" form and started typing. Also tested the "Request Demo" form.

Status: Looks great! Seeing the correct data layer push and the correct network call. Also seeing the tag fire in GTM.

Image

Image

rossozburnsdi commented 1 year ago

Image

jerry-bennett commented 1 year ago

PROD QA: @rossozburnsdi

Tested on: https://www.xactlycorp.com/company/contact-us

Use case: Clicked on the first field in the form.

Status: Not working, seeing the correct data layer push but not seeing the network call.

Image

rossozburnsdi commented 1 year ago

Tested on: https://www.xactlycorp.com/company/contact-us

Use case: Clicked on the first field in the form.

Status: Seeing the correct data layer push and seeing the network call.

Image