Skip to main content
Apr 25, 2019 11:57 AM UTC
Solved

react with adobe analytics

hi team,

how can i use my react webapp with adobe analytics, any help will be appriciated.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
isinhaAccepted solution
Adobe Employee
Apr 25, 2019 1:16 PM UTC

HI vipinj47308355​,

You may want to check the following doc: react-native-adbmobile - npm

Thanks!

8 replies

isinhaAdobe EmployeeAccepted solution
Adobe Employee
Apr 25, 2019 1:16 PM UTC

HI vipinj47308355​,

You may want to check the following doc: react-native-adbmobile - npm

Thanks!

Translate
Jul 17, 2020 4:26 AM UTC
Do you refer to a non-official NPM library even you have an official one? Is there limitations in official library provide by ADOBE
Translate
Apr 25, 2019 1:28 PM UTC

hi ishans9314858,

the link you have provided is for react-native, i want it be applied in my web site which is built in reactJS or a javascript implimentation would be helpfull, please send link of the tutorials for the same.

thnks!

Translate
Adobe Employee
Apr 25, 2019 1:39 PM UTC

Hi vipinj47308355​,

Not sure about the reactJS website, but the below doc will help in Analytics implementation using Javascript:

Implement Analytics using JavaScript

Hope this helps! Thank you!

Translate
Jun 5, 2021 12:55 PM UTC
Link doesn't work
Translate
Asheesh_Pandey
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
May 1, 2019 11:35 AM UTC

Hi Vipin,

You can see all the steps/best practices required for SPA (react native) tracking on this page Adobe Analytics Help | Using best practices when tracking SPA in Adobe Analytics 

Thanks,

Asheesh

Translate
- Asheesh
salimj
Level 3
May 1, 2019 12:21 PM UTC

I'd recommend (at a high level, without knowing your exact app) that for most Single Page Applications (SPA), utilizing a combination of DTM/Launch, Data Layer and Direct Call rules. Timing is almost always an issue for SPA's so fine control of when things are happening are probably the best way of tackling this.

The DTM/Launch script still needs to be added as per normal by the developer.

Since SPA's don't follow the usual convention for setting a data layer on the page, you could ask your developers to set your data layer object first, then when the object is ready, issue a _satellite.track('your-string-here') which would trigger your rule in the tag manager to send your values to Analytics. The track call would typically be set in the code after the success callback of the page being rendered.

There are likely other modules and tools which people have created on Github to help, but the above method would adapt if you should decide to change your framework in the future.

Translate
scecomm48295826
Sep 8, 2019 7:48 PM UTC

I wanted to integrate Adobe Analytics with React NAtive mobile application(Android + IOS)

Found 2 ways to implement:

1. react-native-adobe-analytics - npm

It's library is not downloading.

npm install react-native-adobe-analytics --save · Issue #10 · smalltownheroes/react-native-adobe-analytics · GitHub

2. react-native-adbmobile - npm

Now trying to implement this one.

Kindly assist which one is right way and why?

Translate