Statistics and connecting Google Analytics

Back

Statistics

Google Analytics:


You can enable visitor tracking using Google Analytics on the Settings page, in the Statistics/Google Analytics tab.

When using tracking tags, standard e-commerce events will be transmitted for Google Analytics 4 or Google Tag Manager. Additionally, on the order checkout page or form submission page, you can additionally install custom conversion codes.
Event descriptions:
Google Analytics 4: https://developers.google.com/analytics/devguides/collection/ga4/events
Google Tag Manager: https://developers.google.com/tag-platform/tag-manager/datalayer
Additionally, you can implement custom tag transmission using JavaScript, Short codes and hotengine-markers Microdata, which allow replacing dynamic data.

  • add_to_cart – adding a product to the cart
  • add_to_wishlist – adding a product to favorites
  • begin_checkout – beginning the checkout process
  • purchase – successful order placement
  • remove_from_cart – removing a product from the cart
  • search – site search
  • select_item – selecting a product variant
  • generate_lead – sending data through a form
  • sign_up – registration
  • view_cart – viewing the cart
  • view_item – viewing a product card
  • view_item_list – viewing a product list (category, selection, recommendations, etc.)

Facebook Pixel:


 The Facebook Pixel tracking ID can be specified in the general site settings, in the «Statistics» tab. The pixel will transmit data about page visits (PageView), add to cart events (AddToCart), product view (ViewContent), checkout initiation (InitiateCheckout) and order completion (Purchase). The product price is formed in USD at your site's exchange rate.

Additionally, you can create a menu block to generate the pixel with product data yourself.
Instructions

Attention! When creating pixel code not through the site settings, you must first add the main pixel code beforehand. To do this, create a block/menu with the main pixel code and place it in service tags, displayed on all pages. In this case, you do not need to specify the pixel code in the general site settings. If the pixel code is specified in the main settings, then the Facebook Products Merchant code is already installed on the site.

Menu block for generating pixel with product data


Create a block/menu with the following code:
Code: JavaScript
<script>
fbq('track', 'ViewContent', {
content_name: '{HOTENGINE-SC:shop_cat_page_title}',
content_ids: ['{HOTENGINE-SC:shop_cat_page_id}'],
content_type: 'product',
value: {HOTENGINE-SC:shop_cat_page_price},
currency: '{HOTENGINE-SC:shop_cat_page_currency_iso}'
});
</script>


Show Block/Menu on pages: Only on Store pages
Enter characters upon detection of which to display Block/Menu: htm
Enter characters upon detection of which NOT to display Block/Menu: cart



If you need to add an event after submitting a request through a Form, then after the successful data submission text, add the following code:
Code: html
<script>
fbq('track', 'Purchase');
</script>

Referral tails:

    The site supports the use of Referral tails. When ordering products or sending an email through the feedback form, data about the source of transition to your site will be added to the email. Also when using UTM parameters (URL Builder), this data will be added to the email.
    In addition to standard URL builder data, source separation by groups is available, which are used in sales statistics to separate sources and make conversion counting more convenient. The group value can be set using the GET variable "hotengine_referral_group". If the value is not specified, and utm_source is specified, it will be used to specify the hotengine_referral_group.
    Data about the transition source may be hidden by the visitor's browser settings or by the source site's secure protocol. Additionally, you can group orders using the "shop_cart_statistic_group" variable in the link, or manually after order placement.

    You can enable Referral tails on the Settings page, in the Statistics tab.

    Example link with UTM markup:
    https://boostore.pro/?utm_source=google&utm_medium=cpc&utm_term=slova&utm_content=soderjimoe&utm_campaign=nazvnie

    Example link with Yandex Direct auto-markup and UTM markup:
    https://boostore.pro/?utm_source=yandex_{source_type}&utm_medium=cpc&utm_term={keyword}&utm_campaign=id:{campaign_id}&utm_content=ad:{ad_id}|gbid:{gbid}|phrase:{phrase_id}|param1:{param1}|position_type:{position_type}|position:{position}|source:{source}|source_type:{source_type}|param2:{param2}
    Full instructions

    Example link with Google Adwords auto-markup and UTM markup:
    https://boostore.pro/?utm_source=google_adwords_{network}&utm_medium=cpc&utm_term={keyword}&utm_campaign={campaignid}&utm_content=creative:{creative}|from:{ifsearch:search}{ifcontent:content}|matchtype:{matchtype}|adgroupid:{adgroupid}|feeditemid:{feeditemid}|targetid:{targetid}|device:{device}|adposition:{adposition}|placement:{placement}|network:{network}|param1:{param1}|param2:{param2}
    Full instructions

Back