Learn how to use the @dub/analytics script to track conversion events
@dub/analytics
is a client-side script for tracking conversion events with Dub.
By default, the script handles the detection of the dub_id
query parameter and storing it as a first-party cookie:
dub_id
cookie and attribute the conversion to the original click by tracking a lead event.