Does it work if you remove the code:
_paq.push([‘setCustomVariable’, 1, ‘ConvertroID’,$CVO.getCode(),‘visit’]); If so, then you might need to work on that piece of code.
Also, the only thing I wonder about is the “setSiteId”, “5” Is this really the correct siteID? If you just set this up, I think the siteID would be “1” or maybe "2 "or “3” if you had created DEV sites first.
Thanks for the response. Yes, the site ID is 5. We actually have over 200 different sites we use Piwik on, I just picked site 5 as it gets the least amount of traffic. We hadn’t updated Piwik in over 1.5 years, so this is the new tracking code Piwik provided when I selected “get tracking code”
You are most likely right that I need to work on that section.
I am also trying to use this in Google Tag Manager, as we have so many sites. My thinking is that it should still track, maybe just not pull in the custom variable. Thoughts?
You are very welcome! It’s nice to be able to help someone. I use this Forum often when I encounter problems, and I am always grateful to those who try to help.