Deprecated! I am no longer updating / maintaining this code. Use at your own risk! UPDATE Oct 10, 2019: I have switched to using the Shopify Facebook Marketing App (but not the Shopify Facebook Sales Channel which should be avoided) to sync my product catalogs with Facebook. Although not perfect, it does the job well […]
The Problem: By default Shopify includes product variant details in the product’s name when it sends e-commerce data to Google Analytics, . If you sell clothing ,or shoes, or other products with color and size variants, then your Product Performance Report becomes too granular. This is a bug, because there already exists a “Product Variant” field in Analytics, […]
Submit your own product feed to Google Shopping including all variants by generating an xml feed directly by way of a custom xml collection template.
By default, when you cancel an order in Shopify, that transaction remains as positive revenue in your Google Analytics. To “cancel” the transaction in Google Analytics you have to send a negated version of the transaction. To do this in Shopify you have to create a Webhook on Order Cancelled that hits a script (located on […]
If you are running a Display or Retargeting campaign you have probably been exposed to View Through Conversions (VTC): View Through Conversions are conversions where a customer saw — but did not click — a display ad on the display network before completing a conversion. There is a lot of debate on if you should count View Through […]
Back in February 2012, Tom Anthony wrote a couple of great posts on how to detect if visitors were logged into a social network and then how to use Google Analytics to track this information. Here is a modification of the original code and steps to track everything in a single CustomVar slot. 1. Read […]
DEPRECATED: Please note that the code below is no longer supported. I am unfortunately not in a position to help troubleshoot any implementation issues you may have. Below is some code for your Shopify store that will display color swatches for your products. Install this on your Collections page within your Product Loop. If your theme has […]