Google Analytics 4 (GA4) Integration Enhanced Ecommerce with BigCommerce

Standard

Google Analytics 4 (GA4) Integration Enhanced Ecommerce with BigCommerce is a way of setting up and tracking ecommerce data in Google Analytics 4. Enhanced Ecommerce tracking allows you to track detailed information about user interactions on your ecommerce website, such as product views, add-to-carts, and purchases. By integrating GA4 with BigCommerce, you can ensure that this data is accurately recorded and analyzed in your GA4 reports.

The integration involves setting up a data layer on your BigCommerce website that captures the relevant ecommerce data and passes it to GA4 via Google Tag Manager (GTM). This data can then be used to gain deeper insights into your customers’ shopping behavior, identify which products are most popular, and optimize your marketing efforts.

Setting up GA4 Integration Enhanced Ecommerce with BigCommerce requires some technical knowledge, but there are step-by-step guides available online to help you through the process. Once set up, you can use GA4’s advanced reporting capabilities to gain deeper insights into your ecommerce performance and improve your online sales.

Google Analytics 4 (GA4) Integration Enhanced Ecommerce with BigCommerce is important for ecommerce businesses for several reasons:

Accurate tracking of ecommerce data: Enhanced Ecommerce tracking allows you to track detailed information about user interactions on your ecommerce website, such as product views, add-to-carts, and purchases. By integrating GA4 with BigCommerce, you can ensure that this data is accurately recorded and analyzed in your GA4 reports.

Better understanding of customer behavior: By tracking ecommerce data, you can gain a better understanding of your customers’ shopping behavior and preferences. This information can be used to optimize your website design, product offerings, and marketing efforts.

Improved marketing optimization: Enhanced Ecommerce tracking can help you identify which marketing channels and campaigns are driving the most sales and revenue. By integrating GA4 with BigCommerce, you can optimize your marketing efforts based on this data and improve your ROI.

Advanced reporting capabilities: GA4 provides more advanced reporting capabilities than previous versions of Google Analytics, including machine learning-powered insights and predictive analytics. By integrating GA4 with BigCommerce, you can take advantage of these features to gain deeper insights into your online sales and customer behavior.

Integrating Google Analytics 4 (GA4) Enhanced Ecommerce with BigCommerce using Google Tag Manager (GTM) is a great option if you want to have more flexibility and control over your tracking. Here are the steps to set it up:

  1. Create a GA4 property: If you haven’t already done so, you’ll need to create a GA4 property in your Google Analytics account.

2. Set up Google Tag Manager: If you haven’t already done so, you’ll need to set up Google Tag Manager for your BigCommerce store.

3. Set up a data layer: In order to pass data from your BigCommerce store to GA4, you’ll need to set up a data layer. This is a JavaScript object that stores information about user interactions on your site, such as product views, add-to-carts, and purchases.

4. Configure your BigCommerce triggers: In GTM, create triggers to track user interactions on your BigCommerce site, such as product views, add-to-carts, and purchases.

5. Map your data layer to GA4: In GTM, create a new variable for each piece of data you want to track, such as product ID, product name, and product price. Map these variables to the corresponding GA4 fields under “Enhanced Ecommerce Settings” in your GA4 tag.

6. Test your setup: Preview and test your GTM setup to ensure that data is being passed correctly from your BigCommerce site to GA4.

With these steps completed, you should now be able to view Enhanced Ecommerce data in your GA4 reports. This will include information such as product views, add-to-carts, and purchases, as well as detailed funnel analysis to help you identify any areas of your online store that may need optimization.

In BigCommerce, you can use the “view_item_list” event to track when a user views a list of products, such as a category page or search results page. You can use this data to understand which products are most popular and which categories are getting the most traffic, as well as to optimize your site’s navigation and product display.

Bigcommerce Google Analytics 4 (GA4)

 Setting Up GA4 Enhanced eCommerce Tracking for BigCommerce

In BigCommerce, you can use the “select_item” event to track when a user selects a product on a category page, search results page, or product page. This event can help you understand which products are being viewed and selected the most, and which product attributes (such as color or size) are the most popular.

bigcommerce enhanced conversion tracking

Tracking Enhanced Ecommerce With Google Analytics 4 (GA4) in BigCommerce

In BigCommerce, you can use the “view_item” event to track when a user views a product detail page. This event can help you understand which products are being viewed the most, how long users spend on each product page, and which product attributes (such as color or size) are the most popular.

BigCommerce Google Analytics 4 (GA4) through Google Tag Manager

BigCommerce Google Analytics 4 (GA4) Enhanced Ecommerce Tracking (GTM)

In BigCommerce, you can use the “add_to_cart” event to track when a user adds a product to their shopping cart. This event can help you understand which products are being added to carts the most, how often users are abandoning their carts, and which product attributes (such as color or size) are the most popular.

Install Google Analytics 4 (GA4) on BigCommerce

Google Analytics 4 (GA4) BigCommerce Integration Enhanced Ecommerce using Google Tag Manager

In BigCommerce, you can use the “add_to_wishlist” event to track when a user adds a product to their wishlist. This event can help you understand which products are being added to wishlists the most, which users are adding products to wishlists, and how often users are coming back to their wishlist to complete a purchase.

Connect Google Analytics 4 to BigCommerce

Implement Google Analytics 4 (GA4) for Enhanced E-commerce on BigCommerce

In BigCommerce, you can use the “view_cart” event to track when a user views their shopping cart. This event can help you understand how many users are adding products to their cart, how often they’re viewing their cart, and how many users are abandoning their carts.

BigCommerce GA4 Google Tag Manager Enhanced Ecommerce Tracking

Setup BigCommerce Enhanced Ecommerce GA4 using Google Tag Manager

In BigCommerce, you can use the “begin_checkout” event to track when a user starts the checkout process. This event can help you understand how many users are starting the checkout process, how many steps are in your checkout flow, and how long it takes for users to complete the checkout process.

GA4 Upgrade Enhanced Ecommerce for BigCommerce

Google Analytics 4 (GA4) Enhanced eCommerce Tracking set up for BigCommerce using Google Tag Manager

In BigCommerce, you can use the “add_shipping_info” event to track when a user enters their shipping information during the checkout process. This event can help you understand how many users are adding shipping information, how many users are abandoning the checkout process at this stage, and how long it takes for users to enter their shipping information.

Add Google Analytics 4 (GA4) to BigCommerce

Switching to Google Analytics 4 (GA4) Enhanced eCommerce Tracking for BigCommerce

In BigCommerce, you can use the “add_payment_info” event to track when a user enters their payment information during the checkout process. This event can help you understand how many users are adding payment information, how many users are abandoning the checkout process at this stage, and how long it takes for users to enter their payment information.

Upgrade to GA4 Enhanced eCommerce Tracking for BigCommerce

Switch from Universal Analytics to Google Analytics 4 (GA4) Enhanced eCommerce Tracking for BigCommerce

In BigCommerce, you can use the “purchase” event to track when a user completes a purchase on your website. This event can help you understand how many users are completing purchases, how much revenue your website is generating, and what products are being purchased.

Google Analytics 4 Integration for BigCommerce

Google Analytics 4 (GA4) Purchase Event Tracking for Enhanced eCommerce Tracking for BigCommerce using Google Tag Manager

Warning: If you don’t know about javascript or don’t have developing knowledge then don’t try to Google Analytics 4 (GA4) Integration Enhanced Ecommerce with BigCommerce that can break your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

Google Analytic (GA4) BigCommerce eCommerce Tracking with Data Layer using Google Tag Manager

Standard

Tracking BigCommerce with Google Analytics 4 (GA4) eCommerce Tracking using Google Tag Manager

BigCommerce GA4 Purchase Data Layer Tracking refers to the process of capturing and sending purchase data from a BigCommerce store to Google Analytics 4 (GA4) using the ecommerce dataLayer object. The dataLayer is a JavaScript object that can be used to send data to GA4 in real-time, allowing you to track and analyze your customers’ purchase behavior, such as revenue, tax, shipping, and product details.

To track purchase data with GA4 in BigCommerce, you can populate the dataLayer with purchase information such as product IDs, names, prices, and quantities, and then trigger a purchase event using the event key. The ecommerce object can then be used to include detailed information about the purchase, such as the revenue, tax, shipping, and coupon code.

With GA4 Purchase Data Layer Tracking, you can gain valuable insights into your customers’ purchase behavior and use that information to optimize your store and marketing campaigns for better performance and increased revenue.

To track custom purchase data with GA4 in BigCommerce using Google Tag Manager, you can use the dataLayer.push method to send custom events and parameters to Google Analytics. Here are the steps:

  1. Set up a GA4 property in your Google Analytics account and get the measurement ID.

2. In Google Tag Manager, create a new tag and select the GA4 Configuration tag type. Set the measurement ID and other options as needed.

3. In BigCommerce, go to Storefront > Script Manager and create a new script.

4. In the same tag, create a new GA4 Event tag and configure it to fire on the “purchase” event.

5. In the same tag, add a new field under the “Parameters” section and set the field name to “transaction_id”. Set the value to a variable that captures the order ID, such as “ecommerce.purchase.actionField.id”.

6. Add additional fields as needed to capture other purchase data, such as “value” and “currency”. Set the values to variables that capture the corresponding data from the ecommerce purchase dataLayer.

7. Save and publish your tag.

Note that you’ll need to have the ecommerce dataLayer populated with purchase data in order for the GA4 Event tag to fire properly

Google Analytics 4 Ecommerce BigCommerce

Bigcommerce Google Analytics 4 (GA4) Ecommerce Tracking with Google Tag Manager

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Google Analytic (GA4) BigCommerce eCommerce Tracking with Data Layer using Google Tag Manager that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

GA4 Enhanced Ecommerce Tracking for BigCommerce

Standard

BigCommerce for GA4 Enhanced Ecommerce Tracking using Google Tag Manager

Recently one of Client me to Implement GA4 Enhanced E-commerce tracking for BigCommerce using Google Tag Manager, I wrote a couple of Javascript to get require variable to pass int GA4 to see all the event parameters into GA4 BigCommerce for Enhanced Ecommerce Tracking using Google Tag Manager.

BigCommerce GA4 Enhanced Ecommerce Tracking

GA4 Ecommerce Tracking BigCommerce using Google Tag Manager

GA4 (Google Analytics 4) Enhanced Ecommerce Tracking using Google Tag Manager 

Paste this code as high in the <head> of the page as possible:

<!– Google Tag Manager –>

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>

Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>

Note: Make you will replace GTM Tracking Code with your GTM ID XXXXX

BigCommerce GA4 Enhanced Ecommerce Events for view_item_list: To Track when user reach out category pages where list of product listed on the Page for GA4 (Google Analytics 4) Enhanced Ecommerce Tracking for BigCommerce using Google Tag Manager 

GA4 BigCommerce Enhanced Ecommerce Tracking

GA4 BigCommerce Enhanced Ecommerce Tracking using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for select_item: To Track when user click on list of product listed on the pages using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager

GA4 eCommerce Tracking for BigCommerce

GA4 Ecommerce Enhanced Tracking setup for BigCommerce using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for view_item: To Track when user visit a product details page using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

 GA4 Enhanced eCommerce for BigCommerce

Google Analytics 4 (GA4) with Enhanced eCommerce for BigCommerce using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for add_to_cart: To Track when user visit a product details page then Click on AddtoCart using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

Enhanced Ecommerce Google Analytics 4 (GA4) BigCommerce

Enhanced Ecommerce Google Analytics 4 (GA4) to BigCommerce

BigCommerce GA4 Enhanced Ecommerce Events for add_to_wishlist: To Track when Add a product into Add to Wishlist using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

GA4 integration Enhanced Ecommerce Tracking

BigCommerce GA4 integration Enhanced Ecommerce Tracking using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for view_cart: To Track when user entered to View Cart using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

Migration GA4 BigCommerce Enhanced Ecommerce Tracking

GA4 Migration for BigCommerce for Enhanced Ecommerce Tracking using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for begin_checkout: To Track when user entered to begin_checkout using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

GA4 BigCommerce Enhanced Ecommerce Tracking

Google Tag Manager With GA4 BigCommerce Enhanced Ecommerce Tracking

BigCommerce GA4 Enhanced Ecommerce Events for add_shipping_info: To Track when user entered to selected a Shipping Method using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

BigCommerce Ecommerce Analytics to GA4

BigCommerce Google Tag Manager Integration Enhanced Ecommerce Tracking for GA4

BigCommerce GA4 Enhanced Ecommerce Events for add_payment_info: To Track when user entered to selected a Payment Method using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager 

 BigCommerce GA4 for Enhanced Ecommerce

Integration BigCommerce GA4 for Enhanced Ecommerce Tracking using Google Tag Manager

BigCommerce GA4 Enhanced Ecommerce Events for purchase: To Track when user completed purchase using GA4 Enhanced Ecommerce Tracking for BigCommerce Via Google Tag Manager

Setting Up Google Analytics 4 (GA4) Purchase Event

Google Analytics 4 (GA4) Purchase event to BigCommerce using Google Tag Manager

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to GA4 Enhanced Ecommerce Tracking for BigCommerce using Google Tag Manager that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

Implement Google Analytics 4 (GA4) For Ecommerce & Enhanced Ecommerce using Google Tag Manager

Standard

Without Touch Back-end Code Google Analytics 4 (GA4) For Ecommerce & Enhanced Ecommerce

Recently Google release Google Analytics 4 (GA4) After that so many request to implement Google Analytics 4 (GA4) For Ecommerce & Enhanced Ecommerce using Google Tag Manager on Magento, Woocommerce, Volusion, Bigcommerce, Neto, Shopify, Custom Website, SquareSpace, Opencart, Wix, weebly, osCommerce, Joomla, Drupal, OpenCart, PestaShop, ClickFunnels, SamCart and also comfortable to any other Plateform

  1. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Woocommerce using Google Tag Manager
  2. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for BigCommerce using Google Tag Manager
  3. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Shopify using Google Tag Manager
  4. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Wix using Google Tag Manager
  5. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Squarespace using Google Tag Manager
  6. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Weebly using Google Tag Manager
  7. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Magento & Magento 2 using Google Tag Manager
  8. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Volusion using Google Tag Manager
  9. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Shopify Plus using Google Tag Manager
  10. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for OpenCart using Google Tag Manager
  11. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for nopCommerce using Google Tag Manager
  12. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Netsuite using Google Tag Manager
  13. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for 1ShoppingCart using Google Tag Manager
  14. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for 3dcart using Google Tag Manager
  15. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for Ecwid using Google Tag Manager
  16. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for PrestaShop using Google Tag Manager
  17. Recently implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce for X- Cart using Google Tag Manager

Any other eCommerce Platforms for implement Google Analytics 4 (GA4) For eCommerce & Enhanced eCommerce using Google Tag Manager

Google Analytics 4 (GA4) ecommerce

Google Analytics 4 (GA4) For Enhanced Ecommerce using Google Tag Manager

1. Ecommerce (GA4) to measure product/item list views/impressions using Google Tag Manager without touching website code 

To measure item list views/impressions using Google Tag Manager

// Measure product views / impressions
dataLayer.push({
  'event': 'view_item_list',
  'ecommerce': {
    'items': [
     {
       'item_name': 'Triblend Android T-Shirt',       // Name or ID is required.
       'item_id': '12345',
       'price': '15.25',
       'item_brand': 'Google',
       'item_category': 'Apparel',
       'item_category_2': 'Mens',
       'item_category_3': 'Shirts',
       'item_category_4': 'Tshirts',
       'item_variant': 'Gray',
       'item_list_name': 'Search Results',
       'item_list_id': 'SR123',
       'index': 1,
       'quantity': '1'
     },
     {
       'item_name': 'Donut Friday Scented T-Shirt',
       'item_id': '67890',
       'price': '33.75',
       'item_brand': 'Google',
       'item_category': 'Apparel',
       'item_category_2': 'Mens',
       'item_category_3': 'Shirts',
       'item_category_4': 'Tshirts',
       'item_variant': 'Black',
       'item_list_name': 'Search Results',
       'item_list_id': 'SR123',
       'index': 2,
       'quantity': '1'
     }]
  }
});

To verify measure item list views/impressions – implement Google Analytics 4 (GA4) ecommerce using Google Tag Manager

Enhanced Ecommerce to GA4 Ecommerce using Google Tag Manager

GA4 Enhanced Ecommerce and Purchase Event Setup using Google Tag Manager

2. Ecommerce (GA4) To measure product/item list clicks using Google Tag Manager without touching website code 

To measure product/item list clicks using Google Tag Manager

/**
 * Call this function when a user clicks on a product link.
 * @param {Object} productObj An object that represents the product that is clicked.
 */
function(productObj) {
  dataLayer.push({
    'event': 'select_item',
    'ecommerce': {
      'items': [{
        'item_name': productObj.name, // Name or ID is required.
        'item_id': productObj.id,
        'item_brand': productObj.brand,
        'item_category': productObj.category,
        'item_category_2': productObj.category_2,
        'item_category_3': productObj.category_3,
        'item_category_4': productObj.category_4,
        'item_variant': productObj.variant,
        'item_list_name': productObj.list_name,
        'item_list_id': productObj.list_id,
        'index': productObj.index,
        'quantity': productObj.quantity,
        'price': productObj.price
      }]
    }
  });
}

To verify measure item list views/impressions – implement Google Analytics 4 (GA4) Ecommerce & Enhanced Ecommerce using Google Tag Manager

Google Analytics 4 ecommerce

Set Up Ecommerce Tracking in GA4 for Google Tag Manager

3. Ecommerce (GA4) To measure views/impressions of product/item details using Google Tag Manager without touching website code 

To measure views/impressions of product/item details using Google Tag Manager

// Measure a view of product details. This example assumes the detail view occurs on pageload,
dataLayer.push({
  'event': 'view_item',
  'ecommerce': {
    'items': [{
      'item_name': 'Donut Friday Scented T-Shirt', // Name or ID is required.
      'item_id': '67890',
      'price': '33.75',
      'item_brand': 'Google',
      'item_category': 'Apparel',
      'item_category_2': 'Mens',
      'item_category_3': 'Shirts',
      'item_category_4': 'Tshirts',
      'item_variant': 'Black',
      'item_list_name': 'Search Results',  // If associated with a list selection.
      'item_list_id': 'SR123',  // If associated with a list selection.
      'index': 1,  // If associated with a list selection.
      'quantity': '1'
    }]
  }
});

To verify measure views/impressions of product/item details – implement Google Analytics 4 (GA4) Ecommerce & Enhanced Ecommerce using Google Tag Manager

Google Analytics 4 Events

GA4 Ecommerce and Purchase using Google Tag Manager

4. Ecommerce (GA4) To add a product to a shopping cart using Google Tag Manager without touching website code

To add a product to a shopping cart using Google Tag Manager

// Measure a view of product details. This example assumes the detail view occurs on pageload,
dataLayer.push({
  'event': 'view_item',
  'ecommerce': {
    'items': [{
      'item_name': 'Donut Friday Scented T-Shirt', // Name or ID is required.
      'item_id': '67890',
      'price': '33.75',
      'item_brand': 'Google',
      'item_category': 'Apparel',
      'item_category_2': 'Mens',
      'item_category_3': 'Shirts',
      'item_category_4': 'Tshirts',
      'item_variant': 'Black',
      'item_list_name': 'Search Results',  // If associated with a list selection.
      'item_list_id': 'SR123',  // If associated with a list selection.
      'index': 1,  // If associated with a list selection.
      'quantity': '1'
    }]
  }
});

To verify add a product to a shopping cart – Implement Google Analytics 4 (GA4) Ecommerce & Enhanced Ecommerce using Google Tag Manager

Track Events with Google Analytics 4(GA4)

Ecommerce (GA4) Tracking using Google Tag Manager

5. Ecommerce (GA4) To measure a checkout using Google Tag Manager without touching website code

/**
 * A function to handle a click on a checkout button.
 */
function onCheckout() {
  dataLayer.push({
    'event': 'begin_checkout',
    'ecommerce': {
      'items': [{
        'item_name': 'Donut Friday Scented T-Shirt', // Name or ID is required.
        'item_id': '67890',
        'price': '33.75',
        'item_brand': 'Google',
        'item_category': 'Apparel',
        'item_category_2': 'Mens',
        'item_category_3': 'Shirts',
        'item_category_4': 'Tshirts',
        'item_variant': 'Black',
        'item_list_name': 'Search Results',
        'item_list_id': 'SR123',
        'index': 1,
        'quantity': '1'
      }]
    }
  });
}

To verify measure a checkout – Implement Google Analytics 4 (GA4) Ecommerce & Enhanced Ecommerce using Google Tag Manager

Google Analytics 4 (GA4) For Ecommerce

GA4 Ecommerce Purchase using Google Tag Manager

6. Ecommerce (GA4) To measure purchases using Google Tag Manager without touching website code

dataLayer.push({
  'event': 'purchase',
  'ecommerce': {
    'purchase': {
      'transaction_id': 'T12345',
      'affiliation': 'Online Store',
      'value': '35.43',
      'tax': '4.90',
      'shipping': '5.99',
      'currency': 'EUR',
      'coupon': 'SUMMER_SALE',
      'items': [{
        'item_name': 'Triblend Android T-Shirt',
        'item_id': '12345',
        'item_price': '15.25',
        'item_brand': 'Google',
        'item_category': 'Apparel',
        'item_variant': 'Gray',
        'quantity': 1,
        'item_coupon': ''
      }, {
        'item_name': 'Donut Friday Scented T-Shirt',
        'item_id': '67890',
        'item_price': '33.75',
        'item_brand': 'Google',
        'item_category': 'Apparel',
        'item_variant': 'Black',
        'quantity': 1
      }]
    }
  }
});

To verify measure purchases and Google Analytic – Implement Google Analytics 4 (GA4) Ecommerce & Enhanced Ecommerce using Google Tag Manager

GA4 Ecommerce Tracking

Implement GA4 Ecommerce Tracking with Google Tag Manager for GA4

Ecommerce to GA4 Ecommerce

Enhanced Ecommerce to GA4 Ecommerce using Google Tag Manager

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Implement Google Analytics 4 (GA4) For Ecommerce & Enhanced Ecommerce using Google Tag Manager that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

AdWords Dynamic Remarketing Tags in BigCommerce for Stencil Themes

Standard

Setting up AdWords Dynamic Remarketing Tags in BigCommerce for Stencil Themes 

Recently once of client ask to set up Adword Dynamic Remarketing in BigCommerce for Stencil themes with Updated Event snippet for dynamic remarketing page with Custom Parameters.

Recently Google Adword Updated Dynamic Remarketing tag with Global Tag with Dynamic Remarketing event snippets with Custom parameters for all the pages of your website.

Setting Up Dynamic Remarketing Tags for Stencil Themes

What is Adwords Dynamic Remarketing?

To show ads to people visit your website previously using custom parameters for Dynamic Remarketing show ads. and remind visitor they have already visited your website with help of remarketing tags.

Step 1 Insert your custom tag to all your web pages, right before the closing </body> tag.

Put Code on /manage/storefront-manager/scripts

<!-- Global Site Tag (gtag.js) - Google AdWords: xxxxxxxxx -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-xxxxxxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());

  gtag('config', 'AW-123456789');
</script>
<!-- Event snippet for Example dynamic remarketing page -->
<script>
gtag('event', 'page_view', {'send_to': 'AW-123456789',
'ecomm_prodid': 'REPLACE_WITH_STRING_VALUE',
'ecomm_pagetype': 'REPLACE_WITH_STRING_VALUE',
'ecomm_totalvalue': 'REPLACE_WITH_STRING_VALUE'
});
</script>

Note: Make Sure you will replace Dynamic Remarketing Tracking Code with your Dynamic Remarketing Pixel AW- XXXXXXXX

Step 2 – Home Page – Setup Dynamic Remarketing Pixel in Bigcommerce for Stencil Themes

Dynamic Remarketing Tags for Stencil Theme

BigCommerce Google Adwords Dynamic Remarketing Setup for Stencil

Step 3 – Product Page – Setup  Adword Dynamic Remarketing Pixel Tags in Bigcommerce for Stencil Theme

Dynamic Remarketing Tags in BigCommerce for Stencil

Set Up Dynamic Remarketing Tags for Product Page in BigCommerce – Stencil Themes

Step 4 – Cart Page – Setting Up on Cart Page Adword Dynamic Remarketing Pixel Tags in Bigcommerce for Stencil Theme.

For Getting Product Id You need to write a Product Array in Bigcommerce Stencil themes, without Product Array does not work Dynamic Remarketing Pixel.

Dynamic Remarketing Tags in BigCommerce for Stencil

Set Up Dynamic Remarketing Tags for Cart Pages in BigCommerce – Stencil Themes

Step 5 – Purchase – Setting Up on Purchase Adword Dynamic Remarketing Pixel Tags in Bigcommerce for Stencil Theme.

Google Adwords Remarketing Tag Stencil Theme

BigCommerce Google Adwords Dynamic Remarketing Setup for Theme

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to AdWords Dynamic Remarketing Tags in BigCommerce for Stencil Themes that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

No Fields Found.

Bigcommerce Google Tag Manager Ecommerce Tracking without touching Code

Standard

Google Tag Manager for BigCommerce Ecommerce/E-commerce Tracking without Touching Code

Recently one client asked me to track e-commerce tracking on BigCommerce on Stencil Themes using Google Tag Manager with Custom Javascript without Touching code of the big commerce. I asked to the client why you don’t want to put data layer, He said website is fully customized and also don’t want to share access of admin anybody, asked to client I need to make test order on the website, once I make a test order then see possible with custom javascript on BigCommerce (Stencil Themes).

What Challenges for E-commerce Tracking on BigCommerce (Stencil Themes) without Touching Code/ Data Layer on the website

  1. Product Array – one of that challenging to get product array on on BigCommerce (Stencil Themes).
  2. Write a Custom Javascript to Get Your order number
  3. Write a  Custom Javascript to get Total order value
  4. Write a Custom Javascript to Tax and Shipping value

First Install Google Tag Manager on Bigcommerce Google Tag Manager Ecommerce Tracking without touching Code

Paste this code as high in the <head> of the page as possible:
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>

Note: Make you will replace GTM Tracking Code with your GTM ID XXXXX

Written Javascript to get the value of product Array, total order value, Shipping value , Tax value and Order number on BigCommerce (Stencil Themes) without Touching Code/ Data Layer on the website for E-commerce/eCommerce Tracking 

Ecommerce with Google Analytics at BigCommerce

Product Array For Ecommerce Tracking using Custom Javascript on BigCommerce

google tag manager bigcommerce stencil E-commerce Tracking

Custom Javascript to Get value of E-commerce Tracking on BigCommerce Ecommerce/E-commerce Tracking without Touching Code

Written Custom E-commerce Tracking Code using Help of Custom HTML on Google Tag Manager For BigCommerce (Stencil Themes) without Touching Code/ Data Layer on the website for E-commerce/eCommerce Tracking 

Bigcommerce Google Tag Manager Ecommerce Tracking

BigCommerce ecommerce tracking with Google Tag Manager

Warning:if you do n’t know about javascript/ Datalayer/Jquery or do n’t have developing knowledge then do n’t try Bigcommerce Google Tag Manager Ecommerce Tracking without touching Codea custom javascript without using Any plugin that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

No Fields Found.

Facebook Conversion Pixel on Bigcommerce Using Google Tag Manager

Standard

Bigcommerce Facebook Conversion Pixel Implement using Google Tag Manager without touching Code on BigCommerce (with Stencil themes or Any theme of BigCommerce) 

Recently once client ask me to Facebook Standard Events pixel include ViewContent, AddtoCart, AddToWishlist, InitiateCheckout, AddPaymentInfo and Purchase Pixel etc.

To Work Advance Facebook Pixel on Bigcommerce using Google Tag Manager 

  content_name: 'Require a Product Name ',
  content_category: 'Require a Product Category',
  content_ids: ['1234'] Require a Product id that must be match with product,
  content_type: 'product',
  value: 0.50, Require a Product revenue ,
  currency: 'USD'

content_name: Require product Name get using Google Tag Manager using a custom javascript/Data Layer
content_category: Require Product Category geting using Google Tag Manager using a Custom Javascript /Data Layer
content_ids:One of toughest job getting product id using google tag manager using a custom, Probably more easier to using Data Layer , 
value: Product amount and Total order value using Google Tag Manager using a custom javascript/Data layer 

1. First Set up Facebook Basic Pixel on Bigcommerce  using Google Tag Manager

<!– Facebook Pixel Code –>
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘xxxxxxxxxxxxxxxxx’); // Insert your pixel ID here.
fbq(‘track’, ‘PageView’);
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=xxxxxxxxxxxxxxxxx&ev=PageView&noscript=1″
/></noscript>
<!– DO NOT MODIFY –>
<!– End Facebook Pixel Code –>

Facebook Pixel on Bigcommerce

Install The Facebook Pixel In Your Bigcommerce

Note: Make you will replace Facebook Pixel Id with your Facebook Pixel ID XXXXX

2. Write a custom Javascript to get all the value above described for Bigcommerce to work Facebook Pixel

Bigcommerce Facebook Dynamic Product Ads

Add dynamic conversion value, Product id , Product Name, Product Category with BigCommerce

3.ViewContent – Need to verify to facebook viewContent Pixel with facebook helper and implement through Google Tag Manager

ViewContent big commerce facebook pixel

ViewContent Facebook Pixel in Bigcommerce

4. AddToCart – When a product is added to click on add to cart button using Google Tag Manager on Bigcommerce Facebook Pixel

AddToCart facebook pixel bigcommerce

AddToCart facebook pixel bigcommerce

4. Purchase – When a Purchased completed on Bigcommerce Facebook Pixel using Google Tag Manager

Bigcommerce Facebook Conversion Tracking

Facebook Conversion Tracking on Bigcommerce

Warning:if you do n’t know about javascript/ Datalayer/Jquery or do n’t have developing knowledge then do n’t try Facebook Conversion Pixel on Bigcommerce Using Google Tag Manager a custom javascript without using Any plugin that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

No Fields Found.

Bigcommerce Dynamic Adwords Conversion Tracking using Google Tag Manager

Standard

Dynamic Adwords conversion Tracking in BigCommerce using Google Tag Manager

Recently, one of my clients asks me to implement dynamic adword conversion tracking using Google Tag Manager include an order id with Dynamic total revenue using Javascript to avoid duplicate adword Transaction.

Once I looked his website and found there was an error in Google Tag Manager code that was not placed on the right place, quite difficult to place right place because, these errors found in the most BigCommerce product Pages and Home Pages.

  1. GTM JavaScript code not found as a direct child of the <head> tag
  2. GTM no-script code not found: either missing or not in <body>

To Work Google Tag Manager in BigCommerce without any Error I modified tracking theme code of BigCommerce (Stencil)

BigCommerce Google Adwords Conversion Tracking

BigCommerce Google Adwords Conversion Tracking using Google Tag Manager

  1. First Install Google Tag Manager on Your Bigcommerce for BigCommerce Google Adwords Dynamic Conversion using Google Tag Manager
Paste this code as high in the <head> of the page as possible:
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>

Note: Make you will replace GTM Tracking Code with your GTM ID XXXXX

2. Written a Custom Javascript to get order id and Total Order value using Google Tag Manager for Adword Dynamic conversion for Bigcommerce

3.  Now it’s time to verify Dynamic Adwords conversion Tracking in BigCommerce through Google Tag Manager with help of Google Tag Assistant 

Adwords Conversion Tracking Tag Manager

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Google Analytic Dynamic Adwords conversion Tracking in BigCommerce using Google Tag Manager a custom javascript without using Any plugin that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

No Fields Found.

Bigcommerce Enhanced Ecommerce Tracking using Google Tag Manager

Standard

BigCommerce Enhanced Ecommerce Tracking using Google Tag Manager without using Any plugin or without any data layer code on the BigCommerce used only Custom Javascript

Recently I received a project from client, they asked me to implement E-commerce / Enhanced Ecommerce tracking using Google Tag Manager, when I asked to access of Bigcommerce, client said not because his website if fully customized, they don’t want touch my hand on his website. Client said he is using google tag manager then I said I can implement an enhanced Ecommerce Tracking using Google Tag Manager.

To Implement Enhanced Ecommerce Tracking on BigCommerce using Custom Javascript

BigCommerce Enhanced Ecommerce Tracking

Implement Enhanced Ecommerce Tracking on BigCommerce using Google Tag Manager

First Install Google Tag Manager on Your Bigcommerce for Set Up E-commerce Tracking using Google Tag Manager

Paste this code as high in the <head> of the page as possible:
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>

Note: Make you will replace GTM Tracking Code with your GTM ID XXXXX

  1. Product Detail Impressions: To Track product impression for BigCommerce Enhanced Ecommerce Tracking using Google Tag Manager used custom javascript to get the value of price, product and brand etc
Measuring Product Impressions Enhanced Ecommerce

Measuring Product Impressions Enhanced Ecommerce

Product Impressions Enhanced Ecommerce output of Bigcommerce

2.  Add to Cart: To measure additions add to Cart Product added for BigCommerce Enhanced Ecommerce Tracking using Google Tag Manager used custom javascript to get the value of price, product and brand etc

shopping cart by using an add Enhanced Ecommerce Tracking on BigCommerce

Shopping Cart Enhanced Ecommerce of Bigcommerce

Adding a Product to a Shopping Cart Enhanced Ecommerce output of Bigcommerce

3.  Measuring Checkout Steps: To measure Checkout Steps that will tell us , How many people reach to till checkout and drop out and went till another step for Enhanced Ecommerce tracking in BigCommerce

Measuring Checkout Steps Enhanced Ecommerce BigCommerce

Checkout Ecommerce Measurement

Checkout Ecommerce Measurement

4.  Measuring Purchases: To track purchases details in Google Analytic using Custom Javascript and Micros

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Bigcommerce Enhanced Ecommerce Tracking using Google Tag Manager a custom javascript without using Any plugin that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

No Fields Found.

Track Ecommerce transaction with Google Tag Manager in Vb.net

Standard

Recently, one of the client has asked to implement e-commerce tracking on ASP.NET ( Vb.net) website using Google Tag Manager

E-commerce tracking is one of most challenging part to implement in ASP.NET (Vb.net)

E-Commerce tracking even allows you to see your conversions to improve. Doesn’t that sound thrilling? It is fairly easy to empower your site for creating such advice. All that you need is a couple of codes that are additional. Naturally, you even have to examine the information presented to make the most of it.Transaction data passed back by the payment gateway or is usually saved in your back end systems.

You have to pass this info to the script that is analytics. To put it differently, you will use a server side language like PHP write a JavaScript directly to the resultant HTML page and to get the data.

You can see this features set up ecommerce tracking using Google Tag Manager in .net website.

  • Transaction Revenue
  • Transaction Tax
  • Transaction Shipping
  • Item Revenue
  • Revenue per Transaction
  • Revenue per Visit
  • Total Value
  • Revenue per Item
    Implementing E-Commerce Tracking via Google Tag Manager

    E-Commerce Conversion Tracking Using Google Tag Manager

    Google Tag Manager eCommerce Tracking installation

    Google Tag Manager integration (GTM)

    Step 1. First Install Google Tag Manager on Your ASP.NET ( Vb.net) website for Setup E-commerce Tracking using Google Tag Manager

    Copy the code below and paste it onto every page of your website. Place it immediately after the opening <body> tag.

    <!– Google Tag Manager –>
    <noscript><iframe src=”//www.googletagmanager.com/ns.html?id=GTM-XXXXXX
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    ‘//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-XXXXXX‘);</script>
    <!– End Google Tag Manager –>

    Note: Make you will replace GTM Tracking Code with your GTM ID.

Step 2. Create a data layer using Custom HTML Tag 

<script type=”text/javascript”>

function read_cookie(name) {
var result = document.cookie.match(new RegExp(name + ‘=([^;]+)’));
result && (result = JSON.parse(result[1]));
return result;
}
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, “\\$&”);
var regex = new RegExp(“[?&]” + name + “(=([^&#]*)|&|#|$)”),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return ”;
return decodeURIComponent(results[2].replace(/\+/g, ” “));
}
var items = read_cookie(“ga_cart”);
var total = parseFloat(read_cookie(“ga_total”));
var products = [];
for (var i = 0; i < items.length; i++) {
var product = {
‘sku’ : items[i].TradingItem[“#text”],

 DataLayer In Custom JavaScript Variables

Google Tag Manager Data Layer ECommerce

Step 3. Create a data layer using Custom HTML Tag for Store

<script type=”text/javascript”>
function parseXML(val) {
if (document.implementation && document.implementation.createDocument) {
xmlDoc = new DOMParser().parseFromString(val, ‘text/xml’);
}
else if (window.ActiveXObject) {
xmlDoc = new ActiveXObject(“Microsoft.XMLDOM”);
xmlDoc.loadXML(val);
}
else
{
alert(‘Your browser cant handle this script’);
return null;
}
return xmlDoc;
}

function xmlToJson(xml) {

// Create the return object
var obj = {};

if (xml.nodeType == 1) { // element
// do attributes
if (xml.attributes.length > 0) {
obj[“@attributes”] = {};
for (var j = 0; j < xml.attributes.length; j++) {
var attribute = xml.attributes.item(j);
obj[“@attributes”][attribute.nodeName] = attribute.nodeValue;
}

Google Tag Manager E-commerce data Layer

Implement using the Data Layer

For Contact: mappchero@gmail.com

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to implement on ASP.NET () E-commerce  Setup using Google Tag Manager  that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property