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

#   Problem HikaShop Google Analytics plugin

##

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

Less More

- Posts: 177
- Thank you received: 4
-
-

8 years 6 months ago -  8 years 6 months ago [\#292960](#292960) by [kchahine](/forum/user/6872-kchahine "View kchahine's Profile")  *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#292960 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")* was created by *[kchahine](/forum/user/6872-kchahine "View kchahine's Profile")*

-- url of the page with the problem -- : [ morenadancewear.com.au/](https://morenadancewear.com.au/)
-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 7

Hi,

I am trying to track my sales through Google Analytics and I therefore enabled the plugin "Hikashop Google Analytics" and setup the fields as necessary (see attachment). [attachment=43742]2018-05-21.png

I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?

(Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)

Your help is much appreciated.

- [ ![2018-05-21.png](/forum/attachment/43742) ](/forum/attachment/43742 "2018-05-21.png") [ ](/forum/attachment/43742?download=1 "2018-05-21.png")

Last edit: 8 years 6 months ago by [kchahine](/forum/user/6872-kchahine "View kchahine's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDc2MC1wcm9ibGVtLWhpa2FzaG9wLWdvb2dsZS1hbmFseXRpY3MtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

8 years 6 months ago [\#292961](#292961) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#292961 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")*

Hi,

You've configured the plugin with the "always use direct call" setting activated.
In that case, the plugin will notify GA upon receiving the payment notification from the payment gateway via a cURL request.
It's possible that this request is block by a firewall of your hosting forbidding outgoing connections. It's happens quite often and I suppose that's why the GA support told you to add javascript to the thank you page.
If you turn off that option, the GA plugin will add such javascript on the thank you page of HikaShop.
With some payment gateways, you'll want to configure your merchant account settings so that it automatically redirects back to the website after the payment. Otherwise, the sale won't be counted if the customer doesn't click on the button to go back to the shop.

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

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

Less More

- Posts: 177
- Thank you received: 4
-
-

8 years 6 months ago [\#293024](#293024) by [kchahine](/forum/user/6872-kchahine "View kchahine's Profile")  Replied by *[kchahine](/forum/user/6872-kchahine "View kchahine's Profile")* on topic *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#293024 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")*

Hi,
If I understood properly I need to set my payment gateway to automatically redirect user back to my webiste. I am using PayPal and I set it up to direct the user back to website, however PayPal request a specific page. I created a page ([ morenadancewear.com.au/thank-you.html](https://morenadancewear.com.au/thank-you.html)) where the user is directed to after a successful PayPal payment.
Also, as advised by you, I disabled "always use direct call". My question, do I need to do any thing else to ensure this is working properly?
Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDc2MC1wcm9ibGVtLWhpa2FzaG9wLWdvb2dsZS1hbmFseXRpY3MtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

8 years 6 months ago [\#293025](#293025) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#293025 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")*

Hi,

You shouldn't have to specify a page as HikaShop already sends to PayPal the URL of the page to redirect back the customer.
Also, it would be better to use the normal thank you page of HikaShop in your PayPal merchant account if you want GA to work.
If you use your own thank you page, then the GA code from HikaShop won't be added to the page.
Then, you can enter your own thank you page in the "return URL" setting of the payment method. That way, after displaying the HikaShop thank you page (with the GA code on it), HikaShop will redirect to your return URL.
The normal thank you page of HikaShop is: yourwebsite.com/index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end

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

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

Less More

- Posts: 177
- Thank you received: 4
-
-

8 years 6 months ago [\#293054](#293054) by [kchahine](/forum/user/6872-kchahine "View kchahine's Profile")  Replied by *[kchahine](/forum/user/6872-kchahine "View kchahine's Profile")* on topic *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#293054 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")*

Hi Nicolas,
If I understood correctly, my problem will be resolved by setting up my PayPal to auto direct to my website on completion of payment to the following page:
[ morenadancewear.com.au/index.php?option=...ckout&amp;task=after\_end](https://morenadancewear.com.au/index.php?option=com_hikashop&ctrl=checkout&task=after_end)
Please let me know if any further action is needed.
Regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NDc2MC1wcm9ibGVtLWhpa2FzaG9wLWdvb2dsZS1hbmFseXRpY3MtcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

8 years 6 months ago [\#293073](#293073) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem HikaShop Google Analytics plugin](/forum/27-checkout/894760-problem-hikashop-google-analytics-plugin#293073 "-- url of the page with the problem -- :   morenadancewear.com.au/  -- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I am trying to track my sales through Google Analytics and I therefore enabled the plugin &quot;Hikashop Google Analytics&quot; and setup the fields as necessary (see attachment). &#91;attachment=43742&#93;2018-05-21.png  I am working closely with Google team to get the sales tracking happening, however it seems that the plugin is not recording the sales as it should be. Is there anything that can be done?  (Note that Google team advised me that one solution would be if a Thank you page is created and the user is directed to it as soon as payment is made, any suggestion here?)  Your help is much appreciated.")*

Hi,

Yes that will redirect back to the thank you page of HikaShop and you should see the order in Google Analytics after that (there might be some delay).

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

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

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