This is the action for the 1+1 dimensional interacting electron system;
$$S_{cl}[\theta , \phi]= \frac{1}{2\pi} \int dxd\tau \left(g^{-1}v(\partial_x \theta)^2 + gv(\partial_x \phi)^2 + 2i\partial_{\tau} \theta \partial_x \phi \right).$$
I want to integrate out the Gaussian field $\phi$. This book says that it is just an "elementary" Gaussian integration. So, I tried some modification to this action;
$$S_{cl}[\theta , \phi]= \frac{1}{2\pi} \int dxd\tau \left(g^{-1}v(\partial_x \theta)^2 + (\sqrt{gv}\partial_x \phi + \frac{i}{\sqrt{gv}}\partial_{\tau} \theta)^2 + \frac{1}{gv}(\partial_{\tau} \theta)^2 \right).$$
For this action, partition function is given by
$$\int D\theta D\phi \exp[-S_{cl}].$$
Maybe, the second term in the action is related to Gaussian integral. But, I don't know how to calculate it.
How can I calculate this?