<!channel> what is the tracking function for ampli...
# announcements
l
<!channel> what is the tracking function for amplitude. I see the example only sites segment.io like this but i want rto do it for amplitude
Copy code
analytics.track("Experiment Viewed", {
      experimentId: experiment.key,
      variationId: result.variationId,
    });
f
Please refrain from using the
@channel
command.
f
Hi Angella, what language are you using? JS?
for amplitude it would be something like:
Copy code
amplitude.getInstance().logEvent("Experiment Viewed",
    { experimentId: experiment.key,
      variationId: result.variationId });
👍 1
l
I am using react