Google Analytics Plugin

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #180736

-- HikaShop version -- : 2.3.6
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : None

Hello,

I've been using the plugin to track conversions, this has worked previously. However, the last two transactions on the website haven't shown up.

Any ideas?

Many thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
9 years 11 months ago #180760

Hi,

We would need more information.
Was there something different with these two transactions compared to the ones before ?
Payment method ? User group ? Specific products ?
Are you able to reproduce the issue if your try yourself ?
Did you change anything in your shop between when it was working and when it wasn't in your website backend ?

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #180853

Hi Nicolas,

Thanks for your reply, please tell me if you would like to stop one of the threads.

I don't think that theres anything different with any of the transactions. Payment method 'paypal' and user group 'registered' were the same. The products are different, but they have been set up in exactly the same way. Variants of products. The variant being the size of the shoes...

I have turned on the google dynamic remarketing plugin, but I can't think of anything else...

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #181592

Any ideas about my problem with google analytics plugin?

I've turned off the dynamic remarketing plugin, but it's still not working on analytics...

E-commerce is set to 'On' within google analytics.

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #181602

Update:

I use the Paypal website to process all my payments. I have placed a couple of dummy orders and it wasn't returning to my 'thank you' page like it used to...

The 'Return method' is set to 'on' in the paypal configuration, but I don't think it is working.

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 11 months ago #181631

Hi,

If the customer does not return to the website, the "google analytics" plugin can't be triggered.
That's why we made an update on the plugin with HikaShop 2.3.4 with the "universal analytics" mode.
This mode allow to call google analytics without javascript ; so we can do the call when paypal is confirming the order.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #181656

Hi Jerome,

Thanks for your reply. I have universal analytics and it's set to yes, but I haven't picked up any details of conversions for a while. It used to return to my thank you page automatically, but it no longer does this.

What do you think could be the problem?

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #181657

When I say 'thank you page' I mean after end :)

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 11 months ago #181699

Hi,

Does your google analytics account compatible with universal analytics ?
I know that it requires to perform a migration and when I made the implementation of U.A. ; because I didn't (and I still don't) have a U.A. account I wouldn't be able to perform tests. That's why when I deliver my modification to the HikaShop team, I recommend them to do some tests using a UA account.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 11 months ago #181703

Thanks for your quick reply.

It's definitely set up for universal analytics. Within my google account I have 'tracking info', an indication that you are running UA and within my script (analytics.js).

Ideally I would like the customer to return to my website automatically after the payment has been made. Any ideas why this wouldn't be working?

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #181817

Update:

The payment that I put through last week are now showing in my analytics account. This is because I have manually navigated back to the 'after-end' page after purchase. I think this shows that the plugin is only being triggered at the after end page?!?

Theres a couple of problems with this:

1) Auto-return isn't working. I don't think many people would manually navigate back to my website.
2) It's showing in the analytics account as a 'paypal.com' referral, rather than 'direct'...

I have attached a screenshot of the plugin set up...

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 10 months ago #181833

Hi,

In the plugin file, please replace

if(!preg_match('/UA-[0-9]{2,12}-[0-9]{1}/', $a))
By
if(!preg_match('/UA-[0-9]{2,12}-[0-9]{1}/', $a->account_id))
It should fix the direct call during the checkout notification.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #181860

Thank Jerome,

I have put through a dummy order, so hopefully will be able to see if its worked in the next 24 hours or so...

Kind Regards,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 10 months ago #181872

Hi,

I'm also trying to perform some tests but the universal analytics account I made does not want to work ; I put the official tracker JS code in my online website, it continue to tell me that it does not found the tracker.
Even if I see calls to the analytics platform, it told me that there is nothing (in the realtime interface too). I test it in several computers, several browsers, the code is the exact same, the account is the right one, the web calls are done but... It don't want to see anything.
So I can't perform any test if the basic feature is not working ; which is an absolute non-sense...

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #182253

Good Morning,

Unfortunately it hasn't worked on my end. Neither of the transactions have been recorded.

Kind Regards,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 10 months ago #182297

Hi,

I finally got a working UA account.
I made some tests using the "Measure Protocol" but I won't be able to see the results before tomorrow.
I launched the calls manually so if my results are good, I'll investigate on the checks before the "UA direct calls".

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #182305

Thats great.

I look forward to hearing your results.

Thanks,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 26146
  • Thank you received: 4026
  • MODERATOR
9 years 10 months ago #182438

Hi,

I used the "direct call" code and send some fake order manually to Google and I can know see these tests orders in my Analytics report.
So the track by direct call should work if the function is right called.

How your orders are confirmed in your website ?

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #182477

My Paypal plugin is set up to give a payment notification. It only confirms when they've made the payment.

Kind Regards,
Hal

Please Log in or Create an account to join the conversation.

  • Posts: 265
  • Thank you received: 1
9 years 10 months ago #182479

This is the specific configuration of the Paypal plugin.

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum