searchdiscovery / Apollo-Documentation-Xactly-Corp

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

CTA Grid #6

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

CTA Link Clicked

User clicks on the links in the story tile or the "View All Customer Stories" link. This will also be applicable on the Related Products & Services 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": "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/solutions/pipeline-management-forecasting

Use case: Clicked on each of the grid icons under "customer stories"

Status: Working as expected, values are populating correctly. However there is a null data layer push before the actual data layer push.

Image

jerry-bennett commented 1 year ago

ROUND 2 QA: @rossozburnsdi

Tested on: http://xactlystg.prod.acquia-sites.com/solutions/pipeline-management-forecasting

Use case: Clicked on each of the 'customer stories' links

Status: Working as expected! Seeing the event in the data layer and in the network call. Tag is firing in GTM as well.

Image

Image

Image

rossozburnsdi commented 1 year ago

Image

jerry-bennett commented 1 year ago

PROD QA: @rossozburnsdi

Tested on: https://www.xactlycorp.com/solutions/pipeline-management-forecasting

Use case: Clicked on the 'customer's stories' links

Status: Working as expected, seeing the correct data layer push and network calls.

Image

Image