Monday, January 2, 2017

Google Analytics eCommerce Tracking for OpenCart


Approximately

OpenCart is an ideal loose, open source PHP cart device.
Unfortunately there is no integration for the ecommerce a part of Google Analytics and your are most probably getting this message if you happen to permit ecommerce information:

Lacking Ecommerce Knowledge
Website Online Knowledge is configured for Ecommerce, however no data is flowing.

This add-on script will clear up this issue and add a wide collection of statistical data from your web site’s conversions for your Google Analytics account.

This upload-on uses the new Universal Analytics code (analytics.js).
Please observe that it's now not compatible out-of-the-field with the vintage analytics code (ga.js).
For Those Who need to use the old code this upload-on can also be changed (i will do it for you) but i truly recommend the use of the new Universal Analytics code.

Deploy is straightforward and the script comes with full directions.
There isn't any wish to adjust any core information. The script is a vQmod XML.

What the script does

Google Analytics ecommerce data adds details about your transactions that it sends to the Analytics server.
this information is used by Google Analytics to build ecommerce records which can be very useful for you as a site owner.

the next info is driven to Google Analytics for each order:

Order general:
  • Order IDENTITY (Transaction IDENTITY in Google Analytics language)
  • Store Name
  • Order Total (Grand Total Revenue in Google Analytics language)
  • Transport Price
  • Tax Price
For Every product inside the order:
  • Order IDENTIFICATION (the order the product is part of)
  • Identify (the identify of the product)
  • SKU (product model / unique code)
  • Value (the fee of this product by myself)
  • Quantity (the volume of this particular product that was once ordered)

after all all that is in addition to your standard Google Analytics tracking.
With this additional data you can for instance see what campaigns are actually bringing income, what merchandise certain types of visitors are buying, and so much more.

base line: this upload-on script lets in you to dig much deeper into the Analytics effects to see what if truth be told brings your cash from the web store.

As against other add-ons of this kind this one in fact works :) and exams if there is a real purchase being made. It doesn't stir up while the average good fortune page gets caused by an account registration.
In case those roughly upload-ons would stir up upon a registration (no longer a purchase) there's in most cases an error message proven to the tip-use – which isn't that great.
This is not the case with this script.

how one can set up

Sooner Than putting in, make sure that you may have vQmod installed. It’s easy to install and is needed for nearly all OpenCart plugins.
If You Happen To don’t have already got it, it will also be downloaded here: https://code.google.com/p/vqmod/

  1. Check to make certain you've gotten the Google Common Analytics code inserted in “Settings” -> “Server” -> Google Analytics code out of your OpenCart admin interface.
    The add-on is determined by the code that you just outlined within the settings and there's no use to offer you Google Analytics Monitoring IDENTIFICATION any place else. Having the right kind code in the settings is sufficient.
    Should You didn’t placed the code there yet take it out of your Google Analytics account from the menu Admin -> Monitoring Information -> Monitoring Code, replica the whole lot in the box (begins with <script>, ends with </scrips>) and paste it in the OpenCart menu mentioned above. Don’t omit to avoid wasting the adjustments.
  2. Unzip the provided ecomm.zip archive record in your computer.
  3. The archive accommodates 2 information, a xml file (the script) and a pdf guide.
  4. Use your FTP client to copy the xml report (considered one of the recordsdata within the archive that you just unzipped at point 2.) to your vqmod/xml/ directory

The script will start operating instantly after it is brought about by way of a purchase order to your website.
since it does not want to do complex searches (like different plugins on the similar matter) it will work with such a lot themes. It principally simply provides information and pushes it to Google Analytics.
It doesn’t remove or exchange anything and doesn’t contact your center information.
Tested on Open Cart 1.5.6.4 with Default and Sellya theme.

To Test the script’s capability

Choice A – for the fewer technical inclined:
Test the Ecommerce component to your Google Analytics in about 1 hour after a transaction.
Ahead Of doing this make sure that your Google Analytics account is setup to just accept ecommerce knowledge (it'll be).
You Wish To get started seeing conversion statistical information in Google Analytics in a short while.

Alternative B – for the more technically prone:

  1. Set Up Google Analytics Debugger
    (get it from here https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna)
  2. Make a check acquire out of your site and keep at the luck web page
  3. Even As at the success web page allow Google Analytics Debugger and fire up the JS console (Ctrl + Shift + J on Windows)
  4. You should be able to look the whole lot that is getting pushed to Google Analytics.
  5. make sure that you scroll in the course of the console in case you can’t find the knowledge in the beginning on script heavy sites.
    It need to be underneath ga(“require”, “ecommerce”, “ecommerce.js”)

Troubleshooting

If the script doesn’t appear to be operating accurately, please take a look at the next steps:

  1. be certain you’re the use of OpenCart model 1.5.6.x
  2. Take A Look At /vqmod/logs/xxxx.log (the place the xxxx is the current day of the week). Ceaselessly helpful errors messages can seem here.
  3. ensure vqmod is correctly put in, that /vqmod/logs, /vqmod/vqcache, and /vqmod/mods.cache have 777 global-writable permissions. Additionally load http://www.yoursite.com/vqmod/set up in a browser to make sure that it’s correctly installed.
  4. Try clearing the vqmod cache by deleting all information in /vqmod/vqcache. Additionally transparent your browser cache ahead of reloading.
  5. Every Now And Then, poorly written modules can conflict with Google Analytics ecommerce knowledge. to see if that is the case, create a folder /vqmod/xml/disabled and transfer ALL of the XML recordsdata into it with the exception of the equipped xml record and vqmod_opencart.xml. If Google Analytics ecommerce knowledge begins operating, you'll be able to move every of the XML information again one by way of one until you locate the module causing the struggle. you'll then disable most effective this module.

Give A Boost To

Because Of the low cost of the script (of which the author handiest receives an element), in-intensity toughen is not always to be had, however if you have any questions tips or malicious program reports, you can send me a message the usage of envato’s messaging machine.
For malicious program experiences, please include the relevant log report from /vqmod/logs


FULL DOWNLOAD

No comments:

Post a Comment

Trik tersembunyi Bermain Slither.io agar menjadi no 1 | cara tau ampuh

Slither.io Unblocked Play Engaging in online game playing avails a chance for one to have a great experience. This opens up an enormous amo...