Answer the question
In order to leave comments, you need to log in
What are the ways to get the contents of __utmz from a cookie?
I am currently solving the problem of collecting data about the user's visit to complete the order fields. I ran into a problem how to gracefully pull out the content from __utmz when a user enters the site. I couldn't find clear code examples. If anyone has done this, please share your experience. And given the general trend to refuse cookies, how can this data be replaced? (maybe where else can I get data on the source of the transition?)
Answer the question
In order to leave comments, you need to log in
In the line of code sliderImages.forEach(slideImage => { .. a character was missing. I
also followed Alex 's advice and changed it. Now everything is ok! Thanks everyone!
querySelectorAll returns a collection of elements. The collection does not have a classList property.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question