Unidirectional ACS758 Connection

I once use a bi-directional current sensor ACS758 200U, I am working with a unidirectional model now, how will i connect the input current that i want to measure when i'm using it to measure alternating current.

A unidirectional model will not measure AC (bidirectional) current correctly.

You might be able to see one half of the waveform though. What are you trying to do?

I want to create an AC measuring device and send the result to a server as the keeps alternating real time