-
Notifications
You must be signed in to change notification settings - Fork 17
Unable to track analytics events using sample app #31
Comments
@Vishal7591 Can you share logs (please remove your app id before sharing the logs publicly)? Also can you please check that your config is published by visiting: https://assets.adobedtm.com/yourAppId.json If your config is available at the link above ensure the |
@nporter-adbe the config file isn't available on the above mentioned link(resource is unavailable), what could be the possible reason for the unavailability of the config file on the above mentioned link. In addition, the config file downloaded from Mobile Services Dashboard has a rule "privacyDefault" set to "optedin" |
@Vishal7591 This usually means your config is not published. Please see: https://aep-sdks.gitbook.io/docs/getting-started/create-a-mobile-property#publish-the-configuration |
@nporter-adbe The report suite seems to be capturing the traffic for the native-android app for the original ADBMobileConfig.json, but isn't functional for the ACPAnalytics SDK. |
@Vishal7591 Are you trying to use v5 of the SDK or v4? Also please provide some logs. v4: https://github.com/Adobe-Marketing-Cloud/mobile-services |
@nporter-adbe The sample app we're trying to use has been downloaded from Adobe Mobile Marketing Dashboard and seems to have a structure similar to v4. |
Logs: 2020-01-08 12:40:40.611 2864-2864/com.acpanalyticssample W/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (com.adobe.eventtype.configuration, com.adobe.eventsource.requestcontent) was dispatched before module registration was finished |
@Vishal7591 It sounds like you have configured an SDK installation for v4 but are trying to use that configuration for v5. This package only supports the v5 AEP SDK, and any v4 configuration will not be compatible. Please ensure you have followed the steps to configure a Launch property to obtain your app id. https://aep-sdks.gitbook.io/docs/getting-started/create-a-mobile-property |
@nporter-adbe My organization doesn't use Adobe Launch as a product. Though we use Adobe DTM for tagging plans. Can you suggest any way using Adobe DTM to publish our config file on https://assets.adobedtm.com/yourAppId.json ?? |
@Vishal7591 Adobe Launch is recommended to use and configure this SDK, but you can always configure the SDK manually. I'd recommend checking out the docs on manual config for v5: |
@nporter-adbe Can you illustrate further on manual configuration? In addition, will that manual configuration allow me to use the ACPAnalytics SDK javascript functions? |
Closing as there is no further activity. |
Expected Behaviour
Should be able to view track events on Adobe Mobile Services Dashboard
Actual Behaviour
Unable to see any events triggered using ACPAnalytics Sample App on Mobile Services Dashboard
Reproduce Scenario (including but not limited to)
Step 1- Cloned the Sample App
Step 2- Updated the appId in MobileCore.configureWithAppID(appId) in MainApplication.java and
[ACPCore configureWithAppId:@"appId"] in AppDelegate.m
Step 3- Built the android and iOS Applications
Step 4- Installed the signed apk on Android Device
Step 5- Triggered the Events trackState(), trackAction() using the list of buttons on the
Application Interface
Step 6- Observed the Abode Mobile Services Dashboard to see the logs
Steps to Reproduce
Same as above
Platform and Version
React-Native v0.60.4
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: