searchdiscovery / Apollo-Documentation-Xactly-Corp

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

Download Clicks #15

Open rossozburnsdi opened 1 year ago

rossozburnsdi commented 1 year ago

Download Link Clicked

User clicks on a link that has a file extension included in the anchor tag

Example Screenshot:

Javascript Code

window.dataLayer = window.dataLayer || [];
dataLayer.push({ event_data: null });  // Clear the previous event_data object.
dataLayer.push({
  "event": "file_download",
  "detailed_event": "Download Link Clicked",
    "event_data": {
        "component_title": "<component_title>",
        "component_type": "<component_type>",
        "file_extension": "<file_extension>",
        "file_name": "<file_name>",
        "identifier": "<identifier>",
        "link_text": "<link_text>",
        "link_url": "<link_url>",
        "outbound": <outbound>,
        "region_ancestry": "<region_ancestry>"
    }
});
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: https://xactlystg.prod.acquia-sites.com/customer-stories/simpro

Use case: Clicked the "download" button.

Status: Working as expected. No null data layer pushes, and all values look right to me.

Image

jerry-bennett commented 1 year ago

Tested on: https://xactlystg.prod.acquia-sites.com/customer-stories/simpro

Use case: Clicked the "download" button.

Status: Working as expected. Seeing both the data layer push and the network call. Seeing the tag fire in GTM as well.

Image

Image

rossozburnsdi commented 1 year ago

Seems like there maybe missing downloaded able file not being tracked by the data layer

Image

rossozburnsdi commented 1 year ago

download banner working

Image

milind0299 commented 1 year ago

Hi @rossozburnsdi ,

I have added the event for the above mentioned Download click.

Thanks.

jerry-bennett commented 1 year ago

PROD QA: @rossozburnsdi

Tested on: https://www.xactlycorp.com/customer-stories/simpro

Use case: Clicked on 'download' button.

Status: Looks great, seeing the data layer push and network call.

Image

Image

rossozburnsdi commented 1 year ago

Tested on: https://www.xactlycorp.com/products/employee-performance-management

Use case: Clicked on 'download' button.

Status: Looks great, seeing the data layer push and network call.

Image