using the following I can successfully set user properties:
<script>amplitude.getInstance().setUserProperties({{userProperties}});</script>
however I cant seem to be able to set userId using the code below:
<script>amplitude.getInstance().setUserId('{{userId}}');</script>
The userId remains the generic assigned by amplitude
using the following I can successfully set user properties:
<script>amplitude.getInstance().setUserProperties({{userProperties}});</script>
however I cant seem to be able to set userId using the code below:<script>amplitude.getInstance().setUserId('{{userId}}');</script>
The userId remains the generic assigned by amplitude