<commit_before>import { currentStoreView } from '@vue-storefront/core/lib/multistore'

export function afterRegistration (Vue, config, store, isServer) {
  if (config.googleTagManager.id && !isServer) {
    const storeView = currentStoreView()
    const currencyCode = storeView.i18n.currencyCode

    const getProduct = (item) => {
      const { name, id, sku, priceInclTax: price, category, qty: quantity } = item
      let product = {
        name,
        id,
        sku,
        price
      }
      if (quantity) {
        product['quantity'] = quantity
      }
      if (category && category.length > 0) {
        product['category'] = category.slice(-1)[0].name
      }
<commit_msg>priceInclTax -> price_incl_tax<commit_after>import { currentStoreView } from '@vue-storefront/core/lib/multistore'

export function afterRegistration (Vue, config, store, isServer) {
  if (config.googleTagManager.id && !isServer) {
    const storeView = currentStoreView()
    const currencyCode = storeView.i18n.currencyCode

    const getProduct = (item) => {
      const { name, id, sku, price_incl_tax: price, category, qty: quantity } = item
      let product = {
        name,
        id,
        sku,
        price
      }
      if (quantity) {
        product['quantity'] = quantity
      }
      if (category && category.length > 0) {
        product['category'] = category.slice(-1)[0].name
      }

{'fraction_non_alphanumeric': 0.12008577555396711, 'fraction_numerical': 0.007147962830593281, 'mean_word_length': 2.626943005181347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2272961', 'n_tokens_mistral': 427, 'n_tokens_neox': 418, 'n_words': 99}