Page 1 of 1

Analytics plugin not working on Phoca Cart component pages.

Posted: 27 Sep 2023, 22:26
by frighten
Hi
Thanks for creating all these extensions throughout the years. You are awesome.

I have created a plugin to run Adobe Analytics tracking Code (or Adobe Launch) on my site. It works perfectly on all normal pages putting the Adobe script just before the closing Head tag, as expected. It also rendering the Data Layer at the end of the Body.

However, on the Phoca Cart pages my Adobe plugin simply does not work. Instead I find two scripts for Phoca Cart. I am cluless why this behaviour is and even more cluless in what to do. I had a friend reviewing my code and he thinks it could be Phoca Cart doing some override.

The version of Phoca Cart is 4.0.8 on Joomla 4.3.4
My Sandbox where I play: gyank.martechnm.se/

I would really apreciate any help provided.

Best regards,
Ante

Re: Analytics plugin not working on Phoca Cart component pages.

Posted: 27 Sep 2023, 22:40
by Nidzo
Try to install Phoca Site Plugin https://www.phoca.cz/download/78-phoca- ... ite-plugin
and put there your Adobe Analytics tracking Code.
It should cover entire site even when you change template.

Re: Analytics plugin not working on Phoca Cart component pages.

Posted: 28 Sep 2023, 15:55
by frighten
Thanks. This plugin works :-)

Re: Analytics plugin not working on Phoca Cart component pages.

Posted: 28 Sep 2023, 16:29
by Nidzo
Great 👍🏻