Recall that an integer $n$ is called squareful if for every prime $p$ with $p \mid n$, we also have $p^2 \mid n$.
Any squareful number can be written uniquely as $n= x^2 y^3$ where $y$ is squarefree. From this, it is easy to see that $$\#\{ n \in \mathbb{Z}: |n| \leq X, \, n \text{ is squareful} \} \ll X^{1/2}.$$
I would like a version of this for polynomials.
Let $f \in \mathbb{Z}[x]$ be non-constant and separable. Then does there exist $\delta > 0$ such that $$\#\{ n \in \mathbb{Z}: |n| \leq X, \, f(n) \text{ is squareful} \} \ll X^{1 - \delta} \quad ?$$
Hopefully there are not some necessary local conditions here that I overlooked. In my application I am happy to change $f$ as required so that one can assume that $f$ is sufficiently "general". Moreover, I can even assume that $f$ is of very large degree if necessary to simplify things.
I would normally try to prove something like this using the large sieve, however the large sieve gives the poor upper bound $X/(\log X)$, whereas I would like a power saving.
If necessary, I'm happy to assume some standard conjectures (e.g. the abc conjecture).