Hi! I was trying to add user properties to an event and I tried doing the following:
var userProperties = {<br /> city: "San Francisco"<br />};<br />// @ts-ignore<br />var amp = amplitude.getInstance();<br />amp.logEvent(eventName);<br />amp.setUserProperties(userProperties);However, this event tracked twice: as a “Continue button clicked” event without user properties and also as a $identify event with user properties. Is there a specific way I should be configuring the user properties to add them to the specific event, rather than tracking as a separate $identify event? Thanks in advance!