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

#   Google Analytics conversion code

##

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

Less More

- Posts: 45
- Thank you received: 7
-
-

7 years 7 months ago [\#304889](#304889) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#304889 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")* was created by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")*

-- HikaShop version -- : 3.2
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.1

Hello,

I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).

Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.

**When code should be displayed? On with screen?**

Thank You for help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 7 months ago [\#304897](#304897) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#304897 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

HikaShop has an integration with google analytics, not with Google Ads. So I'm not sure what "conversion code" you're talking about ?
If you want to get the transactions from Google Analytics in Google Ads, I would recommend to read this thread:
[ www.hikashop.com/forum/4-how-to/17871-go...nversion.html#304420](https://www.hikashop.com/forum/4-how-to/17871-google-adwords-conversion.html#304420)

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

7 years 7 months ago [\#304914](#304914) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#304914 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

I'm talking about code like this:

&lt;!-- Event snippet for zakup conversion page --&gt;
&lt;script&gt;
gtag('event', 'conversion', {
'send_to': '5566',
'value': 1.0,
'currency': 'USD',
'transaction_id': ''
});
&lt;/script&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 7 months ago [\#304924](#304924) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#304924 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

You'll want to add such code either in the after_end or end file of the "checkout" view via the menu Display&gt;Views based on which payment method you're using on your website. Note that this will work when the customer finishes his order on your website, not when you change the status of the order in the backend.

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

7 years 7 months ago [\#305083](#305083) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#305083 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Ok, I fought that you have already made plugin. How to add to that code value of order? ('value': 1.0)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 7 months ago [\#305085](#305085) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#305085 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

You can get the total amount of the order in the variable $this-&gt;order-&gt;order_full_price in these view files.

The following user(s) said Thank You: [Bprak](/forum/user/34235-bprak "View Bprak's Profile")

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

7 years 7 months ago [\#305100](#305100) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#305100 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Thank You. May be in future it will be good idea to create that plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 7 months ago [\#305113](#305113) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#305113 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

We have it on our todo list yes.

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago -  7 years 5 months ago [\#306530](#306530) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306530 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

How do i add the conversion code in which file?

so if possible i need the exact code and location of the file i have to put it in, also how and where :oops:

It's a very big mystery and very annoying that this will not work.

this is what we need:

The only thing that is important is the conversion value (order value). This is how we can offset the order value against the AdWords costs and, based on that, make the campaign plan with regard to positions, market share, etc etc ..

So Sales value must come in Analytics per source / medium (not everything as a set or direct).

Last edit: 7 years 5 months ago by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 5 months ago [\#306532](#306532) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306532 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

I cannot give a precise answer as it depends on how you configured your shop. Which payment plugins do you use and how are they configured ? Could you provide screenshots of the settings of your payment methods ?

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago [\#306558](#306558) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306558 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi Nicolas,

is it possible that you take a look into the website that should/could help limit the time needed for this problem ?

maybe you have the solution in a split second

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 5 months ago [\#306563](#306563) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306563 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

Without precise information, I can only give a vague answer.
If you need a precise information on what to add where exactly I need precise information regarding your setup.
While the website frontend would help (if you would give a link to it), if you could answer my questions above, it would help even more.

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago -  7 years 5 months ago [\#306588](#306588) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306588 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi Nicholas, i will sent you a super admin login is that an idea?
Will do that by PB

and done

Last edit: 7 years 5 months ago by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 5 months ago [\#306625](#306625) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306625 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

I'm not familiar with ccIdeal so I don't know what page they use for the thank you page display.
You'll have to ask the support of ccIdeal which file needs to be changed.
Such code should work there: Code:

&lt;?php if(!defined('DS')) define('DS',DIRECTORY_SEPARATOR); include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'); $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $order = null; if(!empty($order_id)) { $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;loadFullOrder($order_id); } ?&gt; &lt;script&gt; gtag('event', 'conversion', { 'send_to': 'XXXX', 'value': &lt;?php echo round($order-&gt;order_full_price,2); ?&gt;, 'currency': 'EUR', 'transaction_id': '&lt;?php echo $order-&gt;order_id; ?&gt;' }); &lt;/script&gt;

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago [\#306710](#306710) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306710 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi Nicholas,

we can use your code in the thank you page when people order with iDeal ,but when they order with some of the other payment options they get a standard Hikashop page, in that pages (for each of the payment methods) should your code (also) appear, but how and where in which file?

and &gt; are those changes overwritten when a hikashop update is done?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 5 months ago [\#306724](#306724) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306724 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

You can use the same code in the HikaShop thank you page.
To know which view file you want to edit you can activate the "Display view files" and display the page where you want to add that.
Then, you can edit the view file via the menu Display&gt;Views and add the code I gave before.
If you do the changes via the Display&gt;Views menu, you won't loose your changes when you update HikaShop.

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago -  7 years 5 months ago [\#306728](#306728) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306728 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

> nicolas wrote: Hi,
>
> You can use the same code in the HikaShop thank you page.
> To know which view file you want to edit you can activate the "Display view files" and display the page where you want to add that.
> Then, you can edit the view file via the menu Display&gt;Views and add the code I gave before.
> If you do the changes via the Display&gt;Views menu, you won't loose your changes when you update HikaShop.

Okay thank you, where and how in which files do i implement the code the right way? It has to be only in the thank you page (s) that hikashop in this website uses for the active payment options

Last edit: 7 years 5 months ago by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84OTcxMzktZ29vZ2xlLWFuYWx5dGljcy1jb252ZXJzaW9uLWNvZGU/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

7 years 5 months ago [\#306735](#306735) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306735 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

Supposing that you didn't enter a URL in the "return URL" of your payment methods, then it's either the "end" or the "after_end" file of the "checkout" view where you want to add that code. If you activate the "Display view files" setting as I was saying before and look at the thank you page, you should see which view file is used in the main area to display the thank you page and that way you'll know exactly which view file you want to change.

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

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

Less More

- Posts: 13
- Thank you received: 0
-

7 years 5 months ago -  7 years 5 months ago [\#306754](#306754) by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")  Replied by *[Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306754 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

> nicolas wrote: Hi,
>
> Supposing that you didn't enter a URL in the "return URL" of your payment methods, then it's either the "end" or the "after\_end" file of the "checkout" view where you want to add that code. If you activate the "Display view files" setting as I was saying before and look at the thank you page, you should see which view file is used in the main area to display the thank you page and that way you'll know exactly which view file you want to change.

Nicolas, thanks for all your answers. How can i check if the end or after end file is in use as they have both the same content and both have the remove modifications sign. I can't find which one is attached to each payment method is there an easy way to find out or is it trial and error?
The message which appears after the order is done is nowhere to be found, searched for template overrides etc but nowhere to be seen. We are working a long time already to get this working but somehow it won't succeed ![:(](/media/kunena/emoticons/5.png ":(")
Can you help one time to find this?

Last edit: 7 years 5 months ago by [Jheroen](/forum/user/33669-jheroen "View Jheroen's Profile").

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

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

Less More

- Posts: 45
- Thank you received: 7
-
-

7 years 5 months ago [\#306773](#306773) by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")  Replied by *[Bprak](/forum/user/34235-bprak "View Bprak's Profile")* on topic *[Google Analytics conversion code](/forum/36-reports-statistics/897139-google-analytics-conversion-code#306773 "-- HikaShop version -- : 3.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.1  Hello,  I’m using HikaShop Business 3.2 and I have problem with Google Analytics Plugin. I need to count conversions from Google Ads campaign but conversion code is not displayed on any page (on any status).  Offer order was made status is Created. After we change status to Confirmed in backend still conversion is not counting.  When code should be displayed? On with screen?  Thank You for help.")*

Hi,

do you have some plugin that will display that aditional GA code: [ developers.google.com/analytics/devguide...s/enhanced-ecommerce](https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce)? Thank You for help.

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

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

[](#top)
