Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Trigger Visibility

Avatar

Level 2

Hello,

 

I'm looking for the visibility trigger, as it is present and complete in Google Tag Manager (GTM).

 

In particular, I've seen that Matomo has implemented it by using GTM's functionality in their open source Tag Manager:

- https://github.com/adobe/reactor-extension-googledatalayer

- https://github.com/matomo-org/tag-manager/blob/5.x-dev/Template/Trigger/ElementVisibilityTrigger.web...

- https://github.com/adobe/reactor-extension-googledatalayer/issues/33

 

Has anyone managed to implement this in Adobe Experience Platform Data Collection (Adobe Launch)?

 

Personally, after several attempts, I haven't succeeded.

If anyone has developed a plugin or would be willing to show me how to do this, it would be greatly appreciated.

 

Would this be a real need for others?
For my migration between GTM and Adobe Launch, this is a real obstacle for me.

 

Because the core module is very light:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-data/enters-viewport-vs-g...

 

Thank you in advance for your feedback.

Best,

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hmm, I see. Ok, then you're right, I don't think the Enters Viewport event will work for you. (BTW since you can read code, you might be interested in seeing the code for the Enters Viewport event: https://github.com/adobe/reactor-extension-core/blob/master/src/lib/events/entersViewport.js )

The Core extension also has a Custom Code event. So if you want to, you can add similar code to what you've found for GTM and include the trigger() function when you want the event to get triggered.

View solution in original post

4 Replies

Avatar

Community Advisor

The Core extension has a "Enters Viewport" event:

yuhuisg_0-1706628138950.png

That might work for you.

Avatar

Level 2

Hello Yuhuisg,

 

Thank you for your feedback.

 

The Core extension "Enters Viewport" event is not checking as far and as precised as the GTM one, I tried it already and fire me event that should not.

I can't reproduce the GTM precised event firing.

 

I think it's related to function, like precised into the screenshot attached.

GTM event has more verification of true visibility of elements.

Avatar

Correct answer by
Community Advisor

Hmm, I see. Ok, then you're right, I don't think the Enters Viewport event will work for you. (BTW since you can read code, you might be interested in seeing the code for the Enters Viewport event: https://github.com/adobe/reactor-extension-core/blob/master/src/lib/events/entersViewport.js )

The Core extension also has a Custom Code event. So if you want to, you can add similar code to what you've found for GTM and include the trigger() function when you want the event to get triggered.

Avatar

Level 2

Thanks for the feedback and documentation.

 

I tried the custom code but without success with my coding skills for now.

I will try furthermore.

 

Through this topic, I wanted to see if other people missed the GTM functionality or would be interested in something similar and just as precise.