searchdiscovery / Apollo-Documentation-Xactly-Corp

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

Hero banner #3

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

CTA Link Clicked

the snippet should fire on any CTA link in the hero banner component.

Example Screenshot:

Javascript Code

window.dataLayer = window.dataLayer || [];
dataLayer.push({ event_data: null });  // Clear the previous event_data object.
dataLayer.push({
  "event": "click",
  "detailed_event": "CTA Link Clicked",
    "event_data": {
        "component_title": "<component_title>",
        "component_type": "<component_type>",
        "identifier": "<identifier>",
        "link_text": "<link_text>",
        "link_url": "<link_url>",
        "outbound": <outbound>
    }
});
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/

Use case: Clicked on both the 'What is Intelligent Revenue' and 'Watch Video' buttons

Status: Working as expected, detailed event is showing up as "CTA Link Clicked" and the watch video shows up as an outbound click.

Image

jerry-bennett commented 1 year ago

ROUND 2 QA: @rossozburnsdi

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

Use case: Clicked on both the 'What is Intelligent Revenue' and 'Watch Video' buttons.

Status: Looking good, seeing the data layer event in console and the network call. Also seeing the right 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/

Use case: Clicked on "Explore Products" button.

Status: Looking good, seeing the correct data layer push and network call.

Image

Image