searchdiscovery / Apollo-Documentation-Xactly-Corp

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

Form Submission Succeeded #12

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

Form Submission Succeeded

User submits any form on the site. This event will apply to all forms

Example Screenshot:

image

Javascript Code

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

Hi @rossozburnsdi ,

Moving this to sdi review. Like the Chat , event this can be tested only in the live environment as since all forms are connected with marketo and marketo is only configured with the live environment.

Thanks.

rossozburnsdi commented 1 year ago

@jerry-bennett was able to find a form that submits on staging:

https://xactlystg.prod.acquia-sites.com/events/unleashed-plus

Image

jerry-bennett commented 1 year ago

PROD QA: @rossozburnsdi

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

Use case: Filled out form with test values, hit submit.

Status: Not working, seeing the correct data layer push but no network calls.

Image

rossozburnsdi commented 1 year ago

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

Use case: Filled out form with test values, hit submit.

Status: seeing the correct data layer push and network calls.

Image

Image