Troubleshooting Google Analytics and Cashier

Follow

Bold Cashier allows you to utilize Google Analytics to track information about the purchases that are  made on your site.

Unfortunately, there can be some situations that affect Google's ability to track this information correctly.

Note: If the following fixes do not correct your analytics tracking, please contact our Merchant Success team for further assistance.

To correct this issue, please attempt the following fixes:

Wrapping your analytics tracking code in script tags (<script> & </script>) will cause errors and actually prevent this script from running.

To fix this, please follow these steps:

  1. From Shopify's admin, select Apps.

    Select Apps

  2. Select Bold Cashier.

    Select Bold Cashier

  3. Select Settings, then Analytics.

    Select Settings/Analytics

  4. Under "Google Analytics and Tracking Scripts", delete the <script> and </script> tags.

    Remove Script Tags

  5. Select Save.

    Select Save

That's it! You'll need to now place a test order on your site in order to check this adjustment. Please visit Place a Test Order in Cashier for more information.

Liquid is a coding language that is specific to Shopify. Placing Liquid variables or tags within your analytics code will not work correctly.

Note: You'll need to change each of the Liquid variables in your tracking script to the Bold version of that code for it to work correctly.

Here are some common Liquid variables and their Bold equivalent:

Liquid Variable Bold Coding What does this code do?

{{subtotal_price}}

BOLD.order.subtotal

Subtotal amount in cents, pre-tax, pre-shipping, and pre-discount

{{shop.currency}}

BOLD.order.currency

The currency the order was processed in 

{{order_name}}

BOLD.order.id

The identifier for the order (Bold order ID, not Shopify order ID)

{{order.total_price}} & {{total_price}}

BOLD.order.total

The total price (post-tax and post-shipping)

{{line_item.product_id}}

BOLD.order.line_items[].platform_product_id

Shopify's product ID for the line item

{{line_item.title}}

BOLD.order.line_items[].title

The title of the line item

{{line_item.variant_id}}

BOLD.order.line_items[].platform_variant_id

Shopify's variant ID for the line item 

{{customer.email}}

BOLD.order.customer.email

The email of the customer who placed the order

{{discount.code}}

BOLD.order.discounts.lines[].lineText

The discount code that was used

{{discount.amount}}

BOLD.order.discounts.lines[].value

Value, in cents, of the discount

To correct this issue, please follow these steps:

  1. From Shopify's admin, select Apps.

    Select Apps

  2. Select Bold Cashier.

    Select Bold Cashier

  3. Select Settings, then Analytics.

    Select Settings/Analytics

  4. Under "Google Analytics and Tracking Scripts", find and replace all of the Shopify code.

    Replace Shopify Code

  5. Select Save.

    Select Save

That's it! You'll need to now place a test order on your site in order to check this adjustment. Please visit Place a Test Order in Cashier for more information.

Custom tracking scripts for Google Analytics and Facebook Pixel will overwrite the default tracking scripts that Cashier sends.

If the custom tracking scripts are enabled, but no coding has been placed within the box, then no information will be sent.

To correct the issue you can, please follow these steps:

  1. From Shopify's admin, select Apps.

    Select Apps

  2. Select Bold Cashier.

    Select Bold Cashier

  3. Select Settings, then Analytics.

    Select Settings/Analytics

  4. Under "Facebook Pixel and Tracking Script", disable the toggle switch.

    Disable Facebook Pixel

  5. Under "Custom Script", disable the toggle switch.

    Disable Custom Script

  6. Select Save.

    Select Save

That's it! You'll need to now place a test order on your site in order to check this adjustment. Please visit Place a Test Order in Cashier for more information.

Next Steps:

Blog Posts:

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.