내 커뮤니티 업적 표시줄을 확대합니다.

Adobe Experience Platform (AEP) & Apps User Groups are live to Network, learn, and share in your regional locations.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Is it possible to fire page and click tracking events without creating Rules in Launch for Web/Javascript?

Avatar

Level 2

I want to leverage Launch as the place where I can make all the Adobe Analytics configurations and be able to track pages and clicks without needing to use Rules in the Launch UI to trigger a page or click call. Essentially I want to use Launch in replacement of needing to implement the Appmeasurement file, but also to be able to track pages/clicks using the methods from Appmeasurement. Is this doable with Launch?

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

@mattcheng1 wrote:

Thanks for this insight! So you're saying that after putting the Launch script tag that's provided from Launch on my site/page, we can implement the s.t() and s.tl() methods on the page without needing to add a page or click tracking Rule in Launch?


Yes -- provided you have made the "s" object to be global in the Analytics extension and your s.t() / s.tl() calls are made after the Launch script has been loaded.

 


@mattcheng1 wrote:

Do you know if there's documentation on this? The only thing I've been able to find is this link but it sounds like from here you'd either need to configure everything within Rules in Launch or use the custom code editor in Launch for page/click tracking to work.

 

Documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/functions/t-method.html?lang=e... 


There's not really any documentation, but it is stated as so in the Analytics extension's UI itself.

yuhuisg_0-1675413883812.png

 

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor

Yes, you can.

In Launch, in the Analytics extension, there is a setting to make the "s" object globally available. Make sure that is selected.

Then in your page code, you can use s.t() and s.tl() as you wish. You might want to include an if-else statement in your code to ensure that the "s" object is available before running s.t() / s.tl(), e.g. in case your code runs before the Launch script itself has run or if there's an unexpected error that prevents the Launch script from running completely.

Avatar

Level 2

Thanks for this insight! So you're saying that after putting the Launch script tag that's provided from Launch on my site/page, we can implement the s.t() and s.tl() methods on the page without needing to add a page or click tracking Rule in Launch?

 

Do you know if there's documentation on this? The only thing I've been able to find is this link but it sounds like from here you'd either need to configure everything within Rules in Launch or use the custom code editor in Launch for page/click tracking to work.

 

Documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/functions/t-method.html?lang=e... 

Avatar

정확한 답변 작성자:
Community Advisor

@mattcheng1 wrote:

Thanks for this insight! So you're saying that after putting the Launch script tag that's provided from Launch on my site/page, we can implement the s.t() and s.tl() methods on the page without needing to add a page or click tracking Rule in Launch?


Yes -- provided you have made the "s" object to be global in the Analytics extension and your s.t() / s.tl() calls are made after the Launch script has been loaded.

 


@mattcheng1 wrote:

Do you know if there's documentation on this? The only thing I've been able to find is this link but it sounds like from here you'd either need to configure everything within Rules in Launch or use the custom code editor in Launch for page/click tracking to work.

 

Documentation: https://experienceleague.adobe.com/docs/analytics/implementation/vars/functions/t-method.html?lang=e... 


There's not really any documentation, but it is stated as so in the Analytics extension's UI itself.

yuhuisg_0-1675413883812.png