We analyze a Hamiltonian model with five wire loops that delineates the magnetic surfaces of the tokamak ITER, including a similar safety factor profile and the X-point related to the presence of a poloidal divertor. Non-axisymmetric magnetic perturbations are added by external coils, similar to the correction coils installed at the tokamak DIII-D and those that will be installed at ITER. To show the influence of magnetic perturbations on the field line escape, we integrate numerically the field line differential equations and obtain the footprints and deposition patterns on the divertor plate.Moreover, we show that the homoclinic tangle describes the deposition patterns in the divertor plate, agreeing with results observed in sophisticated simulation codes. Additionally, we show that while chaotic lines escape to the divertor plates, some of them are trapped, for many toroidal turns, in complex structures around magnetic islands, embedded in the chaotic region, giving rise to the so called stickiness effect characteristic of chaotic Hamiltonian systems. Finally, we introduce a random collisional term to the field line mapping to investigate stickiness alterations due to particle collisions. Within this model, we conclude that, even reduced by collisions, stickiness still influences the field line transport.