searchdiscovery / Apollo-Documentation-Xactly-Corp

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

Footer Clicks #14

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

Navigation Link Clicked

User clicks on the links in the footer

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 the 'enterprise' link in the footer section

Status: Some issues with this, the component type should be 'footer_nav' instead of 'sub_nav' and the region ancestry should be 'footer nav' instead of 'top nav'

Image

milind0299 commented 1 year ago

Hi @rossozburnsdi ,

This is now fixed, please let us know for any queries.

Thanks

jerry-bennett commented 1 year ago

@milind0299 Can you look into the 'legal' section links not showing up as footer clicks?

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

Use case: Clicked on links at the bottom of the homepage

Status: All footer links are working except for the 'legal' section at the bottom of the page.

Image

In the following screenshot, the values for component_type: should be "footer_nav" instead of "sub_nav" and region_ancestry should be "Footer Nav" instead of "Top Nav"

Image

milind0299 commented 1 year ago

Hi @rossozburnsdi

This is fixed.

Thanks.

jerry-bennett commented 1 year ago

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

Use case: Clicked on links at the bottom of the homepage

Status: All footer links are working! Seeing correct data layer pushes and network calls. GTM tag is working as well.

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 the links at the bottom of the home page.

Status: Working as expected. Seeing the correct data layer pushes and network calls, including the 'legal section' of the site.

Image

Image

rossozburnsdi commented 1 year ago

Tested on: https://www.xactlycorp.com/products/incentive-compensation-management-software

Use case: Clicked on the links at the bottom of the home page.

Status: Working as expected. Seeing the correct data layer pushes and network calls.

Image