Mobile app support trackaction/trackState vs pod 'AEPAnalytics', ' | Community
Skip to main content
tim_funk
Level 3
July 27, 2022
Solved

Mobile app support trackaction/trackState vs pod 'AEPAnalytics', '

  • July 27, 2022
  • 2 replies
  • 1420 views

We are redoing an mobile application and was hoping to use Adobe Launch for the data collection piece to simplify the analytics in the mobile app. 

 

We were under the expectation that we could call MobileCore.trackaction or MobileCore.trackState which would allow us in Adobe Launch to listen on those events. And then apply any additional logic (filter in/out etc) and then fire the appropriate Analytics tracking event.

 

In our mobile application pod we did define "pod 'AEPAnalytics'" per various copy/paste docs we saw.

 

But the behavior appears to be calling trackAction and trackState is just sending the requests to Analytics and bypassing / ignoring Adobe Launch.

 

Then we discovered this gem in the documentation which seems to prove the above:

https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/mobile-core-api-reference#trackaction

 

So I guess the ultimate question is ... Do we remove "pod 'AEPAnalytics'" from our mobile code and that will allow us to have the track* calls go to Adobe launch? (We're going to experiment with this idea to prove it out but curious if there is better how to's and guides for this stuff. Based on a different ticket - Support kind of paraphrased the following: "documentation is lacking and in transition - how about this 3rd party link.")

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ranjithd

Kindly implement based on the biz requirements with inbuild, custom tracking codes, or adobe extensions. Don't use the 3rd party extensions. It may be blocked or maybe to upgrade the premium version or the plugin get expired that affects your future and important flow on the time.

 

Advisable to use only on adobe extensions:

https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/mobile-core-api-reference#trackaction

2 replies

leocwlau
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 28, 2022

The mobile app tracking using Adobe Launch is different from web tracking. In web tracking, you can control a lot of tracking logic using rules in Adobe Launch to trigger what to track or not. However, for mobile app tracking, even with Adobe Launch in place, tracking is actually going out directly from your mobile app when you call trackAction and trackState, even if you use the new Edge.sendEvent.

What you can do with Adobe Launch rule is to modify data sending out from trackAction/trackState but the capability of the rule configuration in mobile tracking is very limited when compared to web tracking.

ranjithd
ranjithdAccepted solution
Level 4
October 11, 2022

Kindly implement based on the biz requirements with inbuild, custom tracking codes, or adobe extensions. Don't use the 3rd party extensions. It may be blocked or maybe to upgrade the premium version or the plugin get expired that affects your future and important flow on the time.

 

Advisable to use only on adobe extensions:

https://aep-sdks.gitbook.io/docs/foundation-extensions/mobile-core/mobile-core-api-reference#trackaction