• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Merchant Labs

Helping online merchants succeed is what we do best!

  • About
  • Contact
  • My Account

Google Analytics, Google Tag Manager / April 30, 2017

Plans for building a JavaScript error reporting solution

I found a great resource online for a jQuery plugin that logs a javascript error via an ajax request to any site.

https://github.com/pavelpykhtin/jquery.crashreport

I liked the idea, but I would change a few things, such as:

  1. Instead of building my own reporting tool for this data, I’m going to log the data using GA (Google Analytics). GA uses a dimension called Client ID to track the session so when an error occurs, I’m going to also log the Client ID in order to corrilate both the User Explorer data with the Javascript error. This should give me more information regarding the users actions, environment, etc. I believe there is already a type of event in GA for tracking errors on a site.
  2. Implement via Google Tag Manager.

 

 

Filed Under: Google Analytics, Google Tag Manager Tagged With: Coding, Javascript

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Footer

Shopify Partner

Let Merchant Labs, with over 15 years experience in ecommerce, help you SUCCEED online! From …

Read More about Shopify Development Services

  • Twitter
  • YouTube

Ajax-Cart Coming Soon

What is Ajax-cart for Shopify? Ajax-cart for Shopify is a big project to bring some of the most wanted features to the Shopify cart page. This page is also known as the basket screen. Its …

more about Ajax-Cart for Shopify

Tags

Apps Script Coding Documentation Javascript MySQL PHP Shopify Liquid

Contact Us

Merchant Labs
Los Angeles, California

P: 424-236-0372
E: mngr@merchantlabs.com

Proud Partners For

Copyright © 2025 · Digital Pro on Genesis Framework · WordPress · Log in