A crosslinking agent of thioether containing a phosphonic acid, (3‐((11‐((1,3‐bis(methacryloyloxy)propan‐2‐yl)oxy)‐11‐oxoundecyl)thio)‐propyl)phosphonic acid (6), is synthesized. The crosslinking agent is characterized by electrospray ionization (ESI), NMR, and Fourier transform infrared (FTIR) spectroscopy. After the copolymerization with N,N'‐dimethylacrylamide, the influence of the metal ions Ca2+, Fe3+, and La3+ on the swelling behavior of these disc‐shaped samples is examined. The rheological behavior of unswollen and swollen crosslinked copolymers is also investigated with respect to the added metal ions.