Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Adobe Launch for ReactJS

jorisdebeer
Level 4
Level 4

Does Adobe provide a NPM package for adding Adobe Launch to a ReactJS web application?

 

Where can I find it?

 

If not, is there any clear documentation and guide for adding Adobe Launch and tracking pages and clicks for a ReactJS web application?

1 Reply
yuhuisg
Community Advisor
Community Advisor

There are no special steps for any website framework. The implementation is almost always the same:

  1. Define a data layer, preferably an event-driven one a la GTM's dataLayer.
  2. Add the Launch <script> snippet in <head> in all pages. In your case, putting it in the index.js file should be sufficient.

If you're asking about best practices, though, then that's another topic, and depends entirely on how your website has been built. Launch's Core extension has some built in even triggers, e.g. history change, click, form submit, etc., so those might help you get going.