Page 1 of 2

Conversion tracking GA4

Posted: 08 Jun 2024, 13:14
by landed
Hi All
I am looking into ways to get GA4 and Google Ads to do better tracking. I do get purchases but GA4 is not seeing them and doesn't understand them. So I feel like this is something we all could do better at- or just me :)

Thanks for sharing your insight into this tricky and evolving setup as Google changes so darn fast.

Re: Conversion tracking GA4

Posted: 11 Jun 2024, 09:10
by keep2000

Re: Conversion tracking GA4

Posted: 11 Jun 2024, 10:55
by landed
There is no documentation so I am wondering if it works with GA4. I have looked through the code.

Re: Conversion tracking GA4

Posted: 11 Jun 2024, 16:02
by Jan
This is the base plugin which tracks only orders, following plugin should be more advanced:
https://www.minijoomla.org/cs/joomla-ro ... phoca-cart

but no idea if it is still active :idea:

Jan

Re: Conversion tracking GA4

Posted: 11 Jun 2024, 17:28
by landed
Thanks Jan.

I'd maybe like to understand how I can achieve it myself. I would want to just track orders which you say the other one does and also track initiate checkout which is probably easy since its a page load and can be done without inserting a tracking code. Maybe add to cart there is the need to add something like this:
<!-- Event snippet for Phone call lead conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-yoyoyo',
'event_callback': callback
});
return false;
}
</script>

Re: Conversion tracking GA4

Posted: 18 Jun 2024, 16:31
by Jan
Hi, then you can just try to extend this plugin: https://www.phoca.cz/phocacart-extensio ... ion-plugin but for now I don't know the actual code which is valid for GA4

Jan

Re: Conversion tracking GA4

Posted: 23 Jun 2024, 21:29
by vlada83
sorry but eshop solution without valid ga4 metrics is useless...

Re: Conversion tracking GA4

Posted: 26 Jun 2024, 01:17
by Jan
Then you have tree options:

- to ask the developer of the plugin if they have some new version
- or to write own plugin or improve the basic one
- or to use another ecommerce extension.

Unfortunately, I don't have any other clue advice here :-(

Jan

Re: Conversion tracking GA4

Posted: 26 Jun 2024, 10:54
by landed
Jan perhaps look to charge more and then get more help to keep this great product going. I get the feeling of having to do it all yourself. I would happily pay for things if they are going to work.

Re: Conversion tracking GA4

Posted: 26 Jun 2024, 11:55
by Nidzo
Honestly, to create a project like this and maintain it completely for free is admirable. Thanks to Jan for being so patient with us who come here with ideas and expect him to make them as quickly as possible. And we are the ones making money from what Jan did for free. Especially when it comes to Phoca Cart.