Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrackAction method not sending data to Adobe Analytics #432

Open
3 tasks done
yunusyuksel opened this issue Feb 10, 2025 · 2 comments
Open
3 tasks done

TrackAction method not sending data to Adobe Analytics #432

yunusyuksel opened this issue Feb 10, 2025 · 2 comments

Comments

@yunusyuksel
Copy link

yunusyuksel commented Feb 10, 2025

Prerequisites

  • This is not a Security Disclosure, otherwise please follow the guidelines in Security Policy.
  • I have searched in this repository's issues to see if it has already been reported.
  • I have updated to the latest released version of the SDK and the issue still persists.

Bug summary

trackAction Not Sending Data to Adobe Analytics

Description

We integrated AEPSDK-React-Native following the documentation. The trackAction method logs the processed event, but no data is sent to Adobe Analytics. Network monitoring shows no outgoing requests.

Possible Causes

  • SDK misconfiguration.
  • Issue in trackAction implementation.
  • Network restrictions.

Any guidance would be appreciated!

Environment

  • React Native & AEPSDK versions: "@adobe/react-native-aepcore": "^6.0.2", "react-native": "0.73.8",
  • Platform: [iOS/Android]

Steps to reproduce

  1. Set up AEPSDK-React-Native.
  2. Call:
    MobileCore.trackAction("SampleAction", { "key1": "value1", "key2": "value2" });
  3. Enable verbose logging.
  4. Observe the log:
    Processed Event - [ id: XXXX name: AnalyticsTrack data: { ... } ]
    
  5. Monitor network activity (no request sent).

Current behavior

Event is logged but not sent.

Expected behavior

Event data should be transmitted to Adobe Analytics.

Anything else?

No response

@yunusyuksel yunusyuksel added bug Something isn't working triage-required Triage required on a new issue logged for this project. Used by issue templates labels Feb 10, 2025
@cacheung
Copy link
Contributor

Using trackAction API to send data to Adobe Analytics in aepsdk-react-native, you need to use edgebridge library to send data via Edge Network.
Please refer to the usage of edgebridge library.

Here is the migration doc explains the workflow.

@cacheung cacheung removed bug Something isn't working triage-required Triage required on a new issue logged for this project. Used by issue templates labels Feb 11, 2025
@emdobrin
Copy link
Contributor

Hi @yunusyuksel can you please confirm you installed the @adobe/react-native-aepedgebridge module as per Calise's recommendation and we can close this item? We'll keep #436 open until you get it solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants