Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Google Analytice Enchanced ECommerce


rudolfl

Recommended Posts

There is a small issue -- shopping cart events (products addition/deletion) do not work.

Code appears correct and right information is sent to Google.

I am currently engaged with Google tech support trying to sort out the issue.

Link to comment
Share on other sites

Current situation -- Google verified my code is correct and Google engineering team is looking into the issue.

So, I guess, contribution is good to go as is.

 

Rudolf

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

Hi,

Sorry, did not try on 2.2.

You can try to use current instructions and adapt them to your site.

 

I would suggest upgrading from 2.2 anyway, as it is very outdated.

 

Rudolf

Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...

Sorry, I neglected the thread for a while!

 

I did not do the Bootstrap versin of the site, but it should be easy to port. I am sure that most of the code changes in installation instructions will still be relevant.

 

Rudolf

Link to comment
Share on other sites

  • 6 months later...

I just found an incompatibility. If you use "Purchase without Account" add-on, not all transactions will be passed to Google Analytics.

 

This is the problem with "Purchase without Account". It de-registers session at the start of "checkout_success" page, well before my code runs.

In order to fix it, edit checkout_success.php Close to the top, you will find code that deletes customer details and de-registers session variables. (part of "Purchase without Account" installation).  Cut all of that code and places it at the bottom of the file after inclusion of "template_bottom.php" and before inclusion of "application_bottom.php"

 

This will fix the issue.

 

Took me a while to figure out while some orders were not recorded in GA!

 

Rudolf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...