Expand my Community achievements bar.

SOLVED

ACDL Aem core components data Element

Avatar

Level 4

Hi everyone,

I have tried implementing Cta click rule for a aem page, as stated in below  link

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/integrations/analytics/track-...

But, then the data element undefined , not sure why. Can anyone let me know?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey @AEPAA 

 

Use this instead if you want to use ACDL and implement a clean setup. 

 

This link contains a video which explains an alternate but much more convenient approach to ACDL implementation. 

 

https://experienceleague.adobe.com/docs/events/adobe-developers-live-recordings/2021/oct2021/adobe-c...

 

Cheers,

Abhinav

View solution in original post

11 Replies

Avatar

Moderator

The link you posted goes to a 404 page.  Can you provide more context, screenshots, etc. 

Avatar

Community Advisor

Hey @AEPAA 

Thanks for the link.

 

We would need more than the link to Adobe documentation. There can be multiple reasons for a data element not giving you the expected value. 

 

How is your data element configured ? How are you triggering the rule etc. Are you using the WKND site ?

 

Please provide more details for us to provide a relevant response.

 

Cheers,

Abhinav

Avatar

Level 4

Exactly similar to the above link provided. It is not wknd . It is a different website but on AEM.

But, I am trying for every link not particular to teaser and button..

Avatar

Community Advisor

If you have a choice, don't use AEM's integration with ACDL. The way it gives unique identifiers for every single key is... well, I can only think of a politically incorrect term to describe that approach.

I've written my opinion here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/how-to-capture-data-from-... with the suggestion that you come up with your own ACDL implementation.

Avatar

Community Advisor

With you on it @yuhuisg 


The AEM integration is convoluted.

 

As you mentioned in your thread, much better to do your own acdl setup.

 

Cheers,

Abhinav

Avatar

Level 4

Also, I have been facing a other problem where, the implementation fires 2 cmp:click event for clicking once.

 

 

For the other choice you said..

I have choice of firing a rule using event based . I mean a core extension link click ( capturing anchor tag click) .

  • I have to write a code event.target to link clicked text and url.
  • As we don't have any particular attribute for the links. 

Can Anyone, suggest me what could be the best thing I can do. Since, the website is AEM integration with ACDL..

Avatar

Correct answer by
Community Advisor

Hey @AEPAA 

 

Use this instead if you want to use ACDL and implement a clean setup. 

 

This link contains a video which explains an alternate but much more convenient approach to ACDL implementation. 

 

https://experienceleague.adobe.com/docs/events/adobe-developers-live-recordings/2021/oct2021/adobe-c...

 

Cheers,

Abhinav

Avatar

Level 4

Hi, 

     The website which, I am handling is of AEM and ACDL has been integrated.

Hence, link click tracking is possible through this integration.

Though , I could able to fire the link click using click event.

It's hard to get the link name clicked.

Do you have any suggestions for this?

Avatar

Community Advisor

Ha... absolutely agree. My brutal and impolite term to describe the AEM's integration with ACDL is useless, especially when the data emitted into the data layer are mostly technical AEM information instead of the business context the website visitors interact with. That integration creates more problems than helping analytics tracking.

Avatar

Administrator

@AEPAA Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.