[ad_1]
I am having a heck of a time pushing values to my data layer. I have legacy code that appears to have been worked on by several people (it’s all over the place) and I suspect a plugin may be causing issues, I have written what looks to me to be the correct code directly into the functions and footer php files but still no dice. Has anyone had these issues before? I am an entry-level web developer and totally new to WordPress. Any help would be greatly appreciated!
[ad_2]
without any examples, it is impossible to say.
is your code actually being written out to the front end? if you inspect the page, does it show up? can you get it to just console.log out some values? how about console.logging on events?
dont try to get it perfect in one go – systematically make sure each step works.
> I have legacy code that appears to have been worked on by several people
yep, that happens. and now you get to the the next one.