Let $(X_1 \times X_2,d\mu)$ be a measure space with $X_2$ compact. Suppose that we have a continuous (diagonal) action of a topological group $G$ on $X=X_1 \times X_2$. I know that the action of $G$ on $X_2$ is ergodic (with respect to the ''projection'' measure on $X_2$) and I would like to show that the action of $G$ on $X$ is ergodic. Are there any references or tools that might be useful here ? Any help or reference would be appreciated.
PS: We also have an action of a discreet subgroup $\Gamma \subset G$ on $X$ and $\Gamma \backslash X_1$ admits a Baily-Borel compactification. I had the idea to use Stone–Weierstrass theorem but it does not seem to work.