Analytics plugin not working on Phoca Cart component pages.

Phoca Cart - complex e-commerce extension
frighten
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 19 May 2014, 21:46

Analytics plugin not working on Phoca Cart component pages.

Post 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

Tags:
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

Post 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.
frighten
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 19 May 2014, 21:46

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

Post by frighten »

Thanks. This plugin works :-)
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

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

Post by Nidzo »

Great 👍🏻
Post Reply