[Skip to main content](#vessel-content)

#   Google Ecommerce not tracking where customers have come

##

- **[dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")**
- [![dancingkazzaf's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile") Topic Author
- [ Offline](/forum/user/31984-dancingkazzaf)

Less More

- Posts: 256
- Thank you received: 2
-
-

9 years 2 months ago [\#276887](#276887) by [dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")  *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#276887 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")* was created by *[dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")*

-- url of the page with the problem -- : restorationuk.com
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 5.6.31
-- Browser(s) name and version -- : Chrome

Hello,
I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 2 months ago [\#276897](#276897) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#276897 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

You're talking about this issue:
[ www.hikashop.com/forum/integrations/8892...complete.html#265590](https://www.hikashop.com/forum/integrations/889299-google-analytics-information-is-incomplete.html#265590)
We've actually worked on that for the next release of HikaShop and we'll be getting the uuid in the order params so that it can then be used by the plugin when sending the GA ecommerce data after the confirmation of the order.
That should fix that "source" issue.

The following user(s) said Thank You: [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")**
- [![dancingkazzaf's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile") Topic Author
- [ Offline](/forum/user/31984-dancingkazzaf)

Less More

- Posts: 256
- Thank you received: 2
-
-

9 years 2 months ago [\#277108](#277108) by [dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")  Replied by *[dancingkazzaf](/forum/user/31984-dancingkazzaf "View dancingkazzaf's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#277108 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hello, when will the new update be out to fix this issue with the Google Analytics Commerce source tracking?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 2 months ago [\#277109](#277109) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#277109 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hello,

The next hikashop version will probably be released this week.

Best regards,
Mohamed Thelji.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 1 month ago -  9 years 1 month ago [\#279613](#279613) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279613 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Did this make it into version 3.2.0?

I'm using 3.2.0 and I'm still only seeing direct as the only source/medium for transactions.

Last edit: 9 years 1 month ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile"). Reason: grammar

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#279664](#279664) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279664 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hello,

Yes, my patch regarding the uuid passed to the plugin to be used afterwards by the Direct Call API is in the plugin of HikaShop 3.2.0.
Afterwards, we do not have feedback on that feature for the moment.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 1 month ago [\#279683](#279683) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279683 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

I have 4 different sites that are all running 3.2.0, all upgraded in the last week of Sept. that have received orders with Direct Call enabled.

All of the orders so far from all 4 sites still show source/medium for the transaction as direct in Google Analytics reports. I have manually reviewed the server logs to track down where the customers came from and they are defiantly not all direct visits.

So at least from my 4 site sample so far, it isn't working.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 1 month ago [\#279916](#279916) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279916 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

I've looked into it and found out that the uuid system added by Jerome was only added on the new checkout, not on the legacy checkout.
So if you're using the legacy checkout, it's normal that you're not seing any change.
I've added a patch to make it work with the legacy checkout too in the package that you can download on our website. However, this requires that you don't have a view override on the file "step" of the view "checkout" as I had to add some code in that view file.

So please try again after installing again the install package.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 1 month ago [\#279920](#279920) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279920 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Yeah, so far Legacy has had better luck for us across the board.

I've downloaded the latest build today (HikaShop Business 3.2.0 [1710051818]).

I've installed it on two of the sites to test with that should get orders today so I should know by tomorrow if it is working.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#279922](#279922) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#279922 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hello,

If you want to check if the plugin is recording the information ; you have to check the orders in your database.
For the field "order_payment_params" you will have some serialized data and the Analytics plugin will store the customer tracker ID in there. So, once the order is confirmed, it can read the ID to perform the server-to-server call.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 1 month ago -  9 years 1 month ago [\#280102](#280102) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280102 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

OK, it has been several days and I've monitored nothing but "direct" for Source/Medium on both sites.

I've gone to the web logs and confirmed that we are getting orders that are originating from sources such as Google and Yahoo; not direct only (looking at IP address and referrers the tracking all the way from entry point to after_end view checkout URL).

The order_payment_params field in the orders table are empty in those orders I have manually reviewed too.
In fact, I cannot find any order with entry in the order_payment_params field.

And doesn't matter if the person is paying via PayPal or Authorize.net payment methods.

It is interesting to note that I can see in Google Analytics things like which domain the transactions come from.
And the one site that has AdWords conversion tracking code in the after_end file is registering conversions there.

I'm thinking of trying to put Nicolas's code from the step field in the after_end file just to see if I get anything but not sure how that will interact with the direct call, I'm worried I get duplicates. Beyond that, I'm not sure what else to look at.

We never have touched the "step" file and I see the code added in the default one Nicolas added.

Hoping to get this figured out as we head into heart of online shopping season since this information is important when trying to decide where to put SEO and advertising efforts.

Last edit: 9 years 1 month ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 1 month ago [\#280104](#280104) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280104 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

When you click on the "finish" button at the end of the checkout (new or legacy), you should normally have a parameter named checkout[analytics][ga] passed in the POST request to the server.
Do you see that parameter if you look at the request with your browser's network tool ?
It should contain the clientId from GA which is then pushed by the GA plugin in the order in the onBeforeOrderCreate trigger.
If it's there, then it must be an issue with the filtering on the server side, mainly with that line from the plugin:
$formData = hikaInput::get()-&gt;get('checkout', array(), 'array');
If it's missing, then it must be an issue with the hidden input field added to the checkout by the onHikashopBeforeDisplayView function of the GA plugin.
Ideally, we would need a link to the shop and instructions to reproduce so that we could check on that hidden input field and the POST request, and maybe a FTP access if the issue is on the server side so that we can debug the filtering.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 1 month ago [\#280277](#280277) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280277 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

I capture the network via Chrome Developer Tools and I cannot find a parameter named checkout[analytics][ga].

Closest thing I can see in the Request Payload is:
Code:

checkout ------WebKitFormBoundary Content-Disposition: form-data; name="task"

It goes from /cart/checkout/task-step/step-4.html to /index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=##&amp;Itemid=##

I've tried this with and without JCH Optimize turned on - same results.

I'll submit you some details privately to see if you can see it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 4 weeks ago [\#280315](#280315) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280315 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

We got your message, thanks.
Checking your website checkout, I see that the HTML that should be added to it just before the "next"/"finish" button isn't added.
The causes can be:
- That the file plugins/system/hikashopanalytics/hikashopanalytics.php hasn't been updated and that its version isn't 3.2.0 (check at the top of that file), which would indicate that the overwrite of the file wasn't possible during the update due to permission issues on the file. Fixing the permission on it and installing again the install package would fix it.
- That the file "step" of the view "checkout" has a view override and thus the code added in it to support the addition of that extra HTML is not in the override view file. You can check that via the menu Display&gt;Views.
- a bug somewhere that we can't understand without debugging.

So please check the 2 first points. If you don't see any problem there, we'll need a backend and FTP access in order to better understand the situation you have.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 4 weeks ago [\#280339](#280339) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280339 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Like I said, we have never have touched the "step" file.
[ ![Clipboard01.jpg](/forum/attachment/40851) ](/forum/attachment/40851 "Clipboard01.jpg")

And I just checked the date on plugins/system/hikashopanalytics/hikashopanalytics.php, and it is 10/5/2017.

Same with components/com_hikashop/views/checkout/tmpl/step.php.

That matches the Build # - HikaShop Business 3.2.0 [1710051818]

That is also the same date I upgraded to the latest version after Nicolas made the changes for legacy.

Is there a later version than that that I need to be using?

Attached are the two files for your review.

- [ ![Clipboard01.jpg](/forum/attachment/40851) ](/forum/attachment/40851 "Clipboard01.jpg") [ ](/forum/attachment/40851?download=1 "Clipboard01.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 4 weeks ago [\#280341](#280341) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280341 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

These look fine. could you provide a FTP access ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 4 weeks ago [\#280408](#280408) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280408 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

FTP information sent.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 4 weeks ago [\#280410](#280410) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280410 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Hi,

I've found the issue. I've added a patch on your website and on our end which should help.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 4 weeks ago [\#280427](#280427) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280427 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

Great.

I need to apply it to 3 other sites however.

Is it in the latest build download?
If not, which file(s) do I need to copy over?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 4 weeks ago [\#280429](#280429) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Google Ecommerce not tracking where customers have come](/forum/33-customers/891680-google-ecommerce-not-tracking-where-customers-have-come#280429 "-- url of the page with the problem -- : restorationuk.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.31 -- Browser(s) name and version -- : Chrome  Hello, I have been running Analytics and Ecommerce Tracking but I have noticed in Analytics Ecommerce that its not displaying the Source/Medium in which means for some reason its not tracking where people have come from after completing a purchase. Everything else seems to be tracking though. Is there something in Hikashop I am missing to enable this?")*

FYI can confirm too in Analytics reports that a recent order was tagged as something other than direct.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTE2ODAtZ29vZ2xlLWVjb21tZXJjZS1ub3QtdHJhY2tpbmctd2hlcmUtY3VzdG9tZXJzLWhhdmUtY29tZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.136 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
