Google analytics e-commerce tracking

  • Posts: 1119
  • Thank you received: 114
8 years 8 months ago #234321

Hi,

Could anyone help me to set up e-commerce tracking with google analytics?
I have been reading all hikashop topics related to this but still can't get it work. Not sure why....
I have enabled and set up google analytics plugin like on screenshot attached.
I have bank account, paypal, paysera, and cash on collection as payment methods....
Only paypal and paysera will auto confirm orders, for other 2 I do manually...
So how this is working? Cause after almost one week of waiting and having some sales I still don't see any data in e-commerce...

I also added adwords conversion tracking code to all my payment methods end.php
I also enabled remarketing plugin and added conversion ID there.
Adwords shows that everything is fine with tag and it is updated conversions...Right now its been 4 days...and still updating.

Google conversion tracking for sales and adwords is it same? I mean if adwords is working will it pass information to GA?

It is a bit complicated to me as first time.

Is there anything I should do more?

If anyone could guide/explain me how this is working and what is necessary to track sale with google analytics I would be very thankful.

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
8 years 7 months ago #234495

Hi,

The settings in your screenshot are correct.
Make sure that you install a joomla google analytics plugin, like this one:
extensions.joomla.org/extension/asynchronous-google-analytics
The ecommerce data requires also the normal analytics data for GA to use them.

Also, it could comes from the settings in the Order section of your HikaShop configuration not configured correctly.
The ecommerce data of an order will be changed when an order status change to the status selected in the "Payment confirmed order status" setting of the HikaShop configuration.

Finally, you configured the plugin only for the EUR currency. If your website is using another currency, the plugin won't do anything and you'll have to change the currency code in the plugin settings to the currency code you're using.

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #234512

Hi,

Thanks for replay Nicolas. I didn't had any of such plugin like in your link installed. I just entered my tracking id to my template settings and it worked but not for e commerce....
I do have confirmed in the "Payment confirmed order status" and we use only EUR currency.
So as I understand now that after every sale, after I manually or automatically change order status to confirmed, details will be sent to GA?
Is there a way to check if code is added/working. Like adding adwords code in thank you page and inspecting it with firebug?

Thanks again for your help.

Last edit: 8 years 7 months ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
8 years 7 months ago #234517

Hi,

You'll only see the data for new orders. And from experience, it can take one or two days to appear in GA.

Since you're using the direct call, it won't display any javascript on the pages and it will directly send the data to GA. So you can't see it with Firebug. This also means that you need to have cURL activated on your website and your website need to be able to make outbound connections. If you have PayPal payment notifications working, it should be fine on that end.

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #234633

Hi,

1. I do have curl enabled on my server... So after installation of your linked plugin I entered my GA tracking there and enabled it. Whats now? Should I remove my tracking id from template and let this plugin do the job? Had some orders yesterday and today but still no data :(

2. One more question.
I have added adwords conversion code below to my all thank you pages but after making an order in thank you page inspecting with google tag assistance it shows that conversion value is 0
How can this be fixed or it will give correct value to adwords acc? We use only EUR as payment currency.

<!-- Google Code for Pardavimai Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxx099872;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "xxx0CIDy62QQ4NeJugM";
var google_conversion_value = <?php echo round($order->order_full_price,2); ?>;
var google_conversion_currency = "EUR";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/xxx099872/?value=<?php echo round($order->order_full_price,2); ?>&amp;currency_code=EUR&amp;label=xxx0CIDy62QQ4NeJugM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

Last edit: 8 years 7 months ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
8 years 7 months ago #234664

Hi,

1. No, you need to leave the normal GA tracking on your website.

2. What do you mean by "all my thank you pages" ? Which file did you modify ?

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #234701

Hi,

1. In my template settings there is option to enter GA and Yahoo tracking id's. I did that and it was working....so i didnt need any of joomla plugins. Right now i use your provided plugin and hikashop GA plugin with settings in my first post and GA tracking is working but still no ecommerce data is coming. Does it work if i manually change order status to confirmed in back-end?

2. So I found that I had to add this conversion code to display view end file. With some modification it now works so problem 2 resolved but with some question. I have article as thank you page which is return url for paypal. Some of buyers wont wait for this page and leave after payment sent. Where I could add adwords code that it would get information before that page. Can this be display view after_end file? Or page where is redirect to paypal with spinning icon?

GA isn't working as for now, I see notification that missing e-commerce data.... :(

Thanks

Last edit: 8 years 7 months ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #234993

So after waiting i GA e-commerce isnt working. I have configured hikashop GA plugin like in my first post. I have installed GA plugin for joomla as Nicolas said. And i still see no data and notification in GA that e-commerce data is missing. Any help would be appreciated??

Just thought maybe i could try to use created not confirmed for data to be sent? How can this be changed?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #235201

Can i get help here please???

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #237147

So still waiting for any help here. Tried all possible configurations of that plugin and no luck. It is driving me crazy.... :S

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #237676

Hi,

I just had a look at the code and it seems that you have to enable the "Single submission" option else the data will not be sent on confirmed order status.

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #237693

Hi,

Thank you Xavier for support in this matter. I have enabled it.
Will wait 2-3 days and update this topic.

Regards

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 7 months ago #238140

1.So after 4 days GA still not working... is there a way I could investigate and fix it? Honestly I think I have tried all possible configurations.

2. I also have strange problem with adwords conversion tracking. Conversion tracking is working and it counts fine. However if I have 2 orders per day total conversion value will be show from first order and second one wont be added... I use code below:

<!-- Google Code for Pardavimai Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 9270998xx;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "xbf0CIDy62QQ4NeJuxx";
var google_conversion_value = "<?php echo round($order->order_full_price,2); ?>";
var google_conversion_currency = "EUR";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/927099872/?value=<?php echo round($order->order_full_price,2); ?>&amp;currency_code=EUR&amp;label=xbf0CIDy62QQ4NeJugM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

Is this adwords related or bad code?

Thanks

Last edit: 8 years 7 months ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
8 years 6 months ago #238360

Hi,

So I finally receiving e-commerce data with GTM help. It works on product created with plugin. However that plugin wasn't working on default and had to be modified. I think maybe I had same problems with hika plugin....

Anyway.

Thanks for help.

Regards

Please Log in or Create an account to join the conversation.

  • Posts: 134
  • Thank you received: 4
  • Hikashop Business
6 years 8 months ago #289640

Hello, can we have some informations to make it working ?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #289643

Hello,

It would depend on what is your issue and what is "not working".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 134
  • Thank you received: 4
  • Hikashop Business
6 years 8 months ago #289698

Hello Jérome,

Les stats analytics fonctionnent bien, nous avons bien le traffic en audience classique, mais dans conversion > commerce électronique rien ne se dégage, aucune trace

Merci d'avance

//// EN

Classic traffic Stats are working good but special ecommerce traffic doesnt record anything.

Thx

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #289700

Hello,

Please create a new topic and provide more explanation on the situation.
Without any details about how you have configured your plugin ; please understand that we can't help you much.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum