First, I will begin with an example: $t(x_1,x_2,x_3,x_4,x_5,x_6) = ((((x_1x_2)x_3^{-1})x_3)x_4)x_4^{-1}$ is a group term. If you want to associate this term to a particular group, let it be the free group $F_6$ on $\{x_1,\ldots,x_6\}$. The term $t$ depends on $x_1$ and $x_2$. The variables $x_3$ and $x_4$ occur, but $t$ does not depend on them. The variables $x_5$ and $x_6$ do not occur. The permutations of indices that are symmetries of the original term $t$ are those from the full permutationsymmetric group $\textrm{Sym}(\{3,4,5,6\})$. One may eliminate fictitious variables by defining a term $s(x_1,x_2,x_3,x_4) = t(x_1,x_2,x_3,x_4,x_4,x_4)$. The terms $s$ and $t$ are the same, all variables of $s$ occur in $s$, and $s$ does not depend on its last two variables. The symmetries of $s$ are $\textrm{Sym}(\{3,4\})$. The term $r(x_1,x_2) = t(x_1,x_2,x_2,x_2,x_2,x_2)$ depends on all of its variables, which are the same variables that $t$ depends on, and $r$ acts the same way as $t$ with respect to those variables. The symmetry group of $r$ is trivial.
More generally, suppose that
$t(x_1,\ldots,x_i,\ldots,x_j,\ldots,x_n)$
depends on $x_1$--$x_i$, does not depend on $x_{i+1}$--$x_j$ although these variables occur,
and the variables $x_{j+1}$--$x_n$ do not occur.
The term $s(x_1,\ldots,x_i):=t(x_1,\ldots,x_i,x_i,\ldots,x_i)$$r(x_1,\ldots,x_i):=t(x_1,\ldots,x_i,x_i,\ldots,x_i)$
will be a term that depends on all variables and will
have symmetry group equal to some $G\leq S_i$.
The term $r(x_1,\ldots,x_j):=t(x_1,\ldots,x_i,\ldots,x_j,x_j,\ldots,x_j)$$s(x_1,\ldots,x_j):=t(x_1,\ldots,x_i,\ldots,x_j,x_j,\ldots,x_j)$
will be a term equal to $t$, where all variables occur, and will
have the symmetry group $G\times S_{j-i}$.
The original term $t(x_1,\ldots,x_i,\ldots,x_j,\ldots,x_n)$
will have the symmetry group $G\times S_{n-i}$.
The symmetry groups of terms are determined, up to symmetric group factors, by the symmetry groups
of just those terms that depend on all variables. Moreover, the symmetric group factors can be determined if you know which variables of the term occur and which variables the term depends on.