searchdiscovery / Apollo-Documentation-Xactly-Corp

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

Navigation Link Clicked #13

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

Navigation Link Clicked

User clicks on tabs, CTA buttons, or the sub navigation CTAs

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": "Navigation Link Clicked",
    "event_data": {
        "component_title": "<component_title>",
        "component_type": "<component_type>",
        "identifier": "<identifier>",
        "link_text": "<link_text>",
        "link_url": "<link_url>",
        "outbound": <outbound>,
        "region_ancestry": "<region_ancestry>"
    }
});
milind0299 commented 1 year ago

Hi @rossozburnsdi ,

Moving this to SDI Review. Site to test : http://xactlystg.prod.acquia-sites.com/

Thanks

jerry-bennett commented 1 year ago

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

Use case: Clicked on each link inside the 'solutions' drop down window/

Status: Looks good! Every link that I clicked on inside of the navigation menu was successfully populating the data layer with 'Navigation Link Clicked' should be good to push to done.

Image

jerry-bennett commented 1 year ago

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

Use case: Clicked on each link inside the 'solutions' drop down window/

Status: Looks good! Data layer push and network call are correct, also seeing the tag fire in GTM.

Image

Image

rossozburnsdi commented 1 year ago

Image

Image

jerry-bennett commented 1 year ago

PROD QA: @rossozburnsdi

Tested on: https://www.xactlycorp.com/

Use case: Clicked on each link inside the 'solutions' drop down window.

Status: Looks good, seeing the data layer event and network call.

Image

Image