Hello and thanks for your wonderful theme!
We had the following question: we need to put a tracking code in our thank-you page on our website. (See the code in the private area below) When we put it in a code block on the page it seems to work with errors. I wonder if we even can put Javascript in that part of the site or would we need to place it somewhere else and call it on this page? Would you be able to help us with it?
Thank you,
Karina
Hi gearouthere,
I’m not sure what you mean by it seems to work with errors? What errors are you getting? Send us an admin login in private and we’ll have a look.
Thanks,
Rikard
Hi Rikard! thanks for looking into this. The message that I got from our ad campaign person says that Google sees that the code is there but it works with errors which was detected by the tool that checks the correct work of the code, such error as:
“Data layer variable name in wrong case: “conversionID” Data layer variable name in wrong case: “PageCategory” Data layer variable name in wrong case: “pageSubcategory””
I’m sure it’s not something the theme is doing, etc, I was just wondering if pasting javascript code into the page works at all or if there was a better way to do it. Maybe the theme is stripping the code? The page we are talking about is the thank-you page https://aquaquestonline.com/thank-you/
Thank you,
Karina,
Gear Out Here