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

#   Google Ecommerce Tracking Fault

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 3 months ago [\#162781](#162781) by [dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")  *[Google Ecommerce Tracking Fault](/forum/30-integrations/869465-google-ecommerce-tracking-fault#162781 "-- url of the page with the problem -- :   www.birthdaycakeshop.com.au  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.2.17 -- Browser(s) name and version -- : Chrome 35.0.1916.153 m -- Error-message(debug-mod must be tuned on) -- : No Error&#95;message  Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.  I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.  We are using the offline credit card payment option and orders are set to &quot;confirmed&quot; status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record &quot;created&quot; status of orders instead of confirmed it would work properly?  I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.")* was created by *[dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")*

-- url of the page with the problem -- : [ www.birthdaycakeshop.com.au](http://www.birthdaycakeshop.com.au)
-- HikaShop version -- : Business 2.3.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.2.17
-- Browser(s) name and version -- : Chrome 35.0.1916.153 m
-- Error-message(debug-mod must be tuned on) -- : No Error_message

Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.

I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.

We are using the offline credit card payment option and orders are set to "confirmed" status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record "created" status of orders instead of confirmed it would work properly?

I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84Njk0NjUtZ29vZ2xlLWVjb21tZXJjZS10cmFja2luZy1mYXVsdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 3 months ago [\#163034](#163034) 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 Tracking Fault](/forum/30-integrations/869465-google-ecommerce-tracking-fault#163034 "-- url of the page with the problem -- :   www.birthdaycakeshop.com.au  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.2.17 -- Browser(s) name and version -- : Chrome 35.0.1916.153 m -- Error-message(debug-mod must be tuned on) -- : No Error&#95;message  Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.  I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.  We are using the offline credit card payment option and orders are set to &quot;confirmed&quot; status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record &quot;created&quot; status of orders instead of confirmed it would work properly?  I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.")*

Hi,

In order to record the sales the Google analytics plugin has to display javascript code in a page that is displayed on a browser.
So when you confirm an order in the backend, unless you display another page after do that, the sale won't be taken into account as the plugin doesn't have the possibility to add that javascript with the status change procedure.
So make sure that when an order status is changed to confirmed, you display another page on your backend and it will take the sale into account on that page automatically.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 3 months ago [\#163066](#163066) by [dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")  Replied by *[dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")* on topic *[Google Ecommerce Tracking Fault](/forum/30-integrations/869465-google-ecommerce-tracking-fault#163066 "-- url of the page with the problem -- :   www.birthdaycakeshop.com.au  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.2.17 -- Browser(s) name and version -- : Chrome 35.0.1916.153 m -- Error-message(debug-mod must be tuned on) -- : No Error&#95;message  Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.  I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.  We are using the offline credit card payment option and orders are set to &quot;confirmed&quot; status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record &quot;created&quot; status of orders instead of confirmed it would work properly?  I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.")*

Understood.

It sounds easier to track orders as they are created. So what do I need to change in the Hikashop Google Analytics plugin tracking code to successfully track orders at the "created" status?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84Njk0NjUtZ29vZ2xlLWVjb21tZXJjZS10cmFja2luZy1mYXVsdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 3 months ago [\#163094](#163094) 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 Tracking Fault](/forum/30-integrations/869465-google-ecommerce-tracking-fault#163094 "-- url of the page with the problem -- :   www.birthdaycakeshop.com.au  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.2.17 -- Browser(s) name and version -- : Chrome 35.0.1916.153 m -- Error-message(debug-mod must be tuned on) -- : No Error&#95;message  Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.  I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.  We are using the offline credit card payment option and orders are set to &quot;confirmed&quot; status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record &quot;created&quot; status of orders instead of confirmed it would work properly?  I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.")*

Hi,

Tracking them on the creation is possible.
For that, you need to change the line:
if($order-&gt;order_status!=$confirmed){
to:
if($order-&gt;order_status!='created'){
in the file plugins/system/hikashopanalytics/hikashopanalytics.php
That however will lead to having orders taken into avvount even though you didn't receive payment for them (and that's why we do it on the confirmation of the order).

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 3 months ago [\#163421](#163421) by [dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")  Replied by *[dlosolutions](/forum/user/29503-dlosolutions "View dlosolutions's Profile")* on topic *[Google Ecommerce Tracking Fault](/forum/30-integrations/869465-google-ecommerce-tracking-fault#163421 "-- url of the page with the problem -- :   www.birthdaycakeshop.com.au  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.2.17 -- Browser(s) name and version -- : Chrome 35.0.1916.153 m -- Error-message(debug-mod must be tuned on) -- : No Error&#95;message  Hi, I set up Hikashop back in January and everything seems fine other than the fact that only a very small percentage of sales are being recorded via the Google Analytics plugin. It appears that only direct traffic is being recorded as sales.  I am running a google adwords campaign as well as SEO for this client and not being able to record all sales from all sources is becoming very frustrating. I rely on the Hikashop google analytics plugin to report to Google Analytics and then import this to Google Adwords because conversions between the two are linked.  We are using the offline credit card payment option and orders are set to &quot;confirmed&quot; status manually. I state this because this may be the reason why conversions are not being reported in Google analytics. Perhaps if I change the ecommerce tracking plugin to record &quot;created&quot; status of orders instead of confirmed it would work properly?  I would greatly appreciate some support on this matter. My lack of reporting ability has become embarrassing.")*

Ok thanks. I'll see if this makes a difference and let you know

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84Njk0NjUtZ29vZ2xlLWVjb21tZXJjZS10cmFja2luZy1mYXVsdD90bXBsPW1hcmtkb3du) 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.114 seconds

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

[](#top)
