:question:when embeding how do i capture actions u...
# developers
b
when embeding how do i capture actions using the react client? i found this but trying to do it in react client i think im doing it wrong https://developer.cal.com/embed/set-up-your-embed
Im basically doing and i see nothing
Copy code
<Cal
      calLink={link}
      calOrigin={origin}
      config={{
        action: "eventTypeSelected",
        callback: (e: unknown) => {
          console.log("callback", e);
        },
      }}
    />
o
@Ben Kirchner From what i see in the docs the action capturing doesn’t go in the config section
You should capture and manage the events like the attached image https://developer.cal.com/embed/set-up-your-embed#actions
p
cc @Hariom Balhara
h
@Om Ray is right.