Hi all, I want to replace GA4 and Amplite with ru...
# support
f
Hi all, I want to replace GA4 and Amplite with rudderstack , to make the site faster, but i cannot find any documentation how to to the right way to simulate the same behavior i have in GA4 with RD
s
Hi @full-napkin-56745 can you provide some samples of the events you are trying to replace with RS. You can replace this
Copy code
gtag('event', <action>, {
  'event_category': <event_category>,
  'event_label': <event_label>,
   'value': <value>
});
by this
Copy code
rudderanalytics.track(<action>, {
   'event_category': <event_category>,
   'event_label': <event_label>,
   'value': <value>
});
Thanks
Here is a list of transformations you can checkout https://github.com/rudderlabs/sample-user-transformers