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

#   Google Analytics 4 and HikaShop Google Analytics plugin

##

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago -  4 years 6 months ago [\#341189](#341189) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341189 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")* was created by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")*

Hi,

I think I have a problem with Google Analytics 4 :

This message contains confidential information

In the "HikaShop Google Analytics plugin", we can set up an account with a format 'UA-XXXXX-X'
If I create a property with the older version (Universal Analytics), the format corresponds.

But with Google Analytics 4, I have a property with this format : XXXXXXXXX

And of course, I have this error probably because I use my account XXXXXXXXX.
**I have this error on the checkout page, not on the home or product page for example.**

Is this plugin compatible with GA4 and how do I configure it?

*Notes :
- I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics.
- The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.*This message contains confidential information

Thanks in advance for your help.

Last edit: 4 years 6 months ago by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile").

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

4 years 6 months ago -  4 years 6 months ago [\#341192](#341192) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341192 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

The "HikaShop Google Analytics plugin" is NOT compatible with Google Analytics 4.
However, you're in luck.
We released a Google Analytics plugin for Google Analytics 4 a few days ago here:
[ www.hikashop.com/marketplace/product/108...egration-google.html](https://www.hikashop.com/marketplace/product/108-integration-google.html)
So you need to disable the "HikaShop Google Analytics plugin" plugin and install this new one instead. In its settings, you can configure the "Measurement ID" of your GA4 interface and it should work fine.

Last edit: 4 years 6 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile"), [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago [\#341210](#341210) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341210 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

HI,

Nice timing !

I'll look into it, thanks.

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago -  4 years 6 months ago [\#341233](#341233) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341233 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

I noticed that my dynamic filters (products listing) no longer work when the 'Hikashop Google Analytics 4 Plugin' is activated (it seems to work again when I deactivate it).

I don't know if there are other problems elsewhere (nor why it causes this problem).

Last edit: 4 years 6 months ago by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile").

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

4 years 6 months ago [\#341235](#341235) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341235 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

That's interesting. It could be a bug in the plugin or a conflict with the filtering system. Could you provide the URL of a page with the issue so that we could look into it ?

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago -  4 years 6 months ago [\#341270](#341270) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341270 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

This message contains confidential information

Last edit: 4 years 6 months ago by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile").

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

4 years 6 months ago [\#341272](#341272) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341272 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

When I use the filters on that page, I can see an AJAX request returning with an error 500 (a fatal error):
[ i.imgur.com/ZC1mB3L.png](https://i.imgur.com/ZC1mB3L.png)
However, as the "debug system" setting is not activated in the Joomla configuration, I only see a simplified message "0 Class "JParameter" not found" instead of the full error message, with the file paths where the problem happen.
It would be important to get the full error message to understand what's going on.
Could you try with the debug system setting activated and get the full error message ?
Or if you could provide a backend access, I could do it myself ?

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago [\#341275](#341275) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341275 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Sorry, system debug is now activated.

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

4 years 6 months ago [\#341281](#341281) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341281 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

Thanks. I've made a new version of the GA4 plugin which should fix the issue.
Please download it again and install it again. It should hopefully fix the issue.

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile"), [arunas](/forum/user/58931-arunas "View arunas's Profile"), [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 6 months ago [\#341285](#341285) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#341285 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

It seems fixed, thanks !

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

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

4 years 4 months ago [\#342645](#342645) by [arunas](/forum/user/58931-arunas "View arunas's Profile")  Replied by *[arunas](/forum/user/58931-arunas "View arunas's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342645 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Looks like new plugin works, but from optimisation side ruins all pagespeed insights result significantly.
Are you going to look into this issue? With old universal analytics plugin was no problems.

Also have question is this GA4 plugin works alone or should be used with Global site tag (gtag.js) simultaneously?

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

4 years 4 months ago [\#342653](#342653) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342653 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

The plugin works alone.
Could you provide more information on the pagespeed issue ?

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

4 years 4 months ago -  4 years 4 months ago [\#342659](#342659) by [arunas](/forum/user/58931-arunas "View arunas's Profile")  Replied by *[arunas](/forum/user/58931-arunas "View arunas's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342659 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Pagespeed insights identify it as render blocking resource and sugests 1.5 savings if removed or defered:
/gtag/js?id=XXXXXXXXXXXXXXXX ([ www.googletagmanager.com](http://www.googletagmanager.com)) 69.7 KiB 1,530 ms
As mentioned before with universal analytics plugin there was no issues.

Last edit: 4 years 4 months ago by [arunas](/forum/user/58931-arunas "View arunas's Profile").

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

4 years 4 months ago [\#342672](#342672) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342672 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

Well, I think there is nothing that can be done for this unfortunately.
That file is Google Analytics 4's javascript file. It is required.
Without it, the plugin is useless and it's not possible to use GA4.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

4 years 4 months ago [\#342674](#342674) by [arunas](/forum/user/58931-arunas "View arunas's Profile")  Replied by *[arunas](/forum/user/58931-arunas "View arunas's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342674 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

But when we are using Analytics 4 Global Tag loading the same javascript file we do not get any pagespeed insights score decrease and no message about render blocking resource. When using hikashop plugin we get the big pagespeed score drop. For global taging we are using this google sugested code:
&lt;!-- Global site tag (gtag.js) - Google Analytics --&gt;
&lt;script async src="[ www.googletagmanager.com/gtag/js?id=XXXXXXXXXXXXXX](https://www.googletagmanager.com/gtag/js?id=XXXXXXXXXXXXXX)"&gt;&lt;/script&gt;
&lt;script&gt;
window.dataLayer = window.dataLayer &#124;&#124; [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'XXXXXXXXXXXXXXXXXXXX');
&lt;/script&gt;

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

4 years 4 months ago [\#342675](#342675) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342675 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

I see what you mean.
Try changing the line: Code:

$doc-&gt;addScript('https://www.googletagmanager.com/gtag/js?id='.$this-&gt;site_id);

to:
Code:

$doc-&gt;addScript('https://www.googletagmanager.com/gtag/js?id='.$this-&gt;site_id, array(), array('async'=&gt;'async'));

in the file plugins/system/hikashop_ga4/hikashop_ga4.php
That should help.
Let us know how it goes so that we can confirm it helps and include it on our end.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

4 years 4 months ago [\#342740](#342740) by [arunas](/forum/user/58931-arunas "View arunas's Profile")  Replied by *[arunas](/forum/user/58931-arunas "View arunas's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342740 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Yes, problem solved with gtag/js as "render blocking resource", no message about it and no significant score drop.
But still there is gtag/js message about "Reduce unused JavaScript".
/gtag/js?id=XXXXXXXXXXXX ([ www.googletagmanager.com](http://www.googletagmanager.com)) 69.6 KiB 29.2 KiB

With Hikashop universal analytics plugin or universal taging when loading same gtag/js file there was no such message.
Thank you.

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

4 years 4 months ago [\#342747](#342747) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342747 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

Well, it's apparently a normal result with GA4:
[ stackoverflow.com/questions/68391231/how...d-to-improve-perfoma](https://stackoverflow.com/questions/68391231/how-to-avoid-issue-related-to-google-tag-manger-in-page-speed-to-improve-perfoma)

Of course, it would be possible to circumvent this with the code provided on that link. But it's just a way to bypass the pagespeed algorithm.
Because what that code in the link does is that it manually loads the file on the page instead of letting the browser do it. So you don't gain any speed by doing the change. It's even the opposite since you do a tiny bit more processing.
So I don't think we should do the change and that you should just ignore the message.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

4 years 4 months ago [\#342864](#342864) by [arunas](/forum/user/58931-arunas "View arunas's Profile")  Replied by *[arunas](/forum/user/58931-arunas "View arunas's Profile")* on topic *[Google Analytics 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342864 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Thank you.

After implementing GA4 there's another problem with the plugin. We do not see any puchases in GA4 analytics.
And same with Universal analytics plugin sales registering perfectly.
On GA4 we see registered following events if it could help to find where to search...
begin_checkout
click
first_visit
page_view
scroll
session_start
view_cart
view_item
view_item_list

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

4 years 4 months ago [\#342868](#342868) 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 4 and HikaShop Google Analytics plugin](/forum/25-install-update/904326-google-analytics-4-and-hikashop-google-analytics-plugin#342868 "Hi,  I think I have a problem with Google Analytics 4 :  In the &quot;HikaShop Google Analytics plugin&quot;, we can set up an account with a format 'UA-XXXXX-X' If I create a property with the older version (Universal Analytics), the format corresponds.  But with Google Analytics 4, I have a property with this format : XXXXXXXXX  And of course, I have this error probably because I use my account XXXXXXXXX. I have this error on the checkout page, not on the home or product page for example.  Is this plugin compatible with GA4 and how do I configure it?  Notes : - I would like to point out that my account seems to be well connected because I'm receiving data from Google Analytics. - The first warning ( 8 ) is probaly more related to the Mondial Relay plugin.  Thanks in advance for your help.")*

Hi,

So you mean you're missing the "purchase" event at the end of the checkout.
What payment method are you using on your shop ? And how is it (are they) configured ?

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

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