LogoLogo
  • Getting Started
    • What is Growify?
    • Getting Started: Your Guided Onboarding Tutorial
  • Growify Academy
    • What is Pixel Connection?
    • Attribution Model
      • First Touch
      • Last Touch
      • Last Non Direct
      • Linear
  • Dashboards
    • Overview
    • Attribution
  • Customers
    • Journey
    • Profiles
  • Creatives
    • Images
    • Videos
    • Copies
  • Onboarding
    • Welcome to Growify
    • 1. Create Workspace
    • 2. Install Pixel
      • Ecommerce
        • Shopify Integration
        • Shopify Legacy
        • WooCommerce
        • Google Tag Manager
        • Other Ecommerce Platforms
      • Lead Generation
        • Google Tag Manager
        • WordPress
        • Go High Level
        • Other
    • 3. Connect Ad Channels
    • 4. Add UTMs
      • Tracking for Meta Ads
      • Tracking for Google Ads
      • Tracking for Klaviyo
      • Tracking for TikTok Ads
      • Tracking for Pinterest Ads
      • Tracking for Microsoft Ads
      • Tracking for LinkedIn Ads
      • Tracking for Reddit Ads
      • Tracking for Snapchat Ads
      • Tracking for Applovin
      • Tracking for PostScript
      • Tracking for Attentive
      • Tracking for X Ads
      • Tracking for Adroll
      • Tracking for Taboola
      • Tracking for Outbrain
      • Tracking for ShareASale
Powered by GitBook
On this page
  • 1. Header Footer Code Manager (HFCM) Plugin Installation
  • 2. Pixel Installation. Start tracking View Events
  • 3. Verify PowerPixel Connection and Status
  • 4. Conversion Events
Export as PDF
  1. Onboarding
  2. 2. Install Pixel
  3. Ecommerce

WooCommerce

PreviousShopify LegacyNextGoogle Tag Manager

Last updated 8 days ago

Growify’s WooCommerce integration allows you to track customer events and gain deeper insights into your store’s performance.


1. Installation

This setup include an optional to make the process easier and minimize the need for technical assistance. Alternatively, you can manually add the necessary PHP and Javascript code if you prefer.

  1. Log in to your WordPress dashboard

  2. Navigate to Plugins → Add New Plugin on the left sidebar (1)

  3. In the search bar, enter 'HFCM' (Header Footer Code Manager) (2)

  4. Locate Header Footer Code Manager by DraftPress, then click Install Now (3)

  5. Once installed, click Activate to enable the plugin (4)


2. Pixel Installation. Start tracking View Events

The Growify PowerPixel is a code snippet that enables us to gather behavioral data about your website visitors. The data feeds into our backend graph, allowing us to track customer journeys from site visit to purchase, along with marketing touchpoints in between.

  1. In the WordPress dashboard, go to HFCM in the left menu (5)

  2. Click HFCM → Add New Snippet to create a new code snippet (6)

  1. Complete the form (Snippet Name, Snippet Type, Site Display ... ) as required for your snippet (screen below)

  2. Copy and insert the script into the Snippet/Code section (7)

  3. Click Update to save the snippet. (8)

<script
            src="https://cdn.growify.ai/pixel.min.js"
            data-website-id="378a11639e0be4d594163bbfebc09b02:beef7043e56f95858e96c5a29b3bf5f5f90a6d05967d18f13dcd56797a2d8df496c27ca7527d2af11e3bbd0e0b8b030a"
            data-endpoint="api_v2"
            data-platform="web"
        ></script>

3. Verify PowerPixel Connection and Status

  1. Ensure the code snippet is active (9)

  1. Navigate to your store's homepage

  2. Open a DevTools

  • Windows: Ctrl + Shift + I or F12

  • macOS: ⌘ + ⌥ + I

  1. Refresh the page, then go to the Network Tab. Filter by the keyword 'grpV2' and locate the event

  1. If the event has been located, the status will be updated as soon as the data is indexed (which takes around 10-15 minutes) on the Growify dashboard. (10)


4. Conversion Events

  1. In the WordPress dashboard, navigate to HFCM in the left menu (5)

  2. Click HFCM → Add New Snippet to create a new code snippet (6)

Note: The SDK should be configured to run on your Order Details page. Ensure that Steps 2 and 3 are properly set up.

  1. Complete the form (Snippet Name, Snippet Type, Site Display ... ) as required for your snippet (screen below)

  2. Copy and insert the script into the Snippet/Code section (11)

  3. Click Update to save the snippet. (12)

<script type="application/javascript">
	window.grpQueue = window.grpQueue || [];
	  if (!window.grp) {
	    window.grp = function () {
	      window.grpQueue.push(arguments);
	    };
	  }
	window.grp('conversion', {
                userEmail: 'john@example.com',
                userFirstName: 'John',
                userLastName: 'Doe',
                userId: 'test-user',
                orderId: 'ORD122',
                tax: 2,
                shipping: 5,
                products: [
                    {
                    productId: 'SKU123',
                    productName: 'Pixel Shirt',
                    productPrice: 20,
                    productBrand: 'Growify',
                    productQuantity: 1,
                    purchaseValue: 20
                    }
                ]
        })
</script>

Align the code snippet with your Order Details page structure

Since each WordPress/WooCommerce page may have a custom structure, we highly recommend having someone with basic JavaScript knowledge align the script.

If you need assistance updating the snippet, reach out to us via chat and share the link to your Order Received page

  1. Update the condition for when to fire a conversion event

  • In the WordPress dashboard, navigate to Woocommerce → Settings in the left menu (13)

  • Switch to Advanced tab (14)

  • Find out Order Received endpoint and copy the value (15)

  • Navigate to your snippet and replace 'order-received' with your value (16)

  1. Replace the CSS selectors with the appropriate ones according to your page structure. (17)

  • productQuantity: Required; Integer; Should be greater than 0;

  • productPrice: Required; Number; Should be greater than 0;

  1. Click Update to save the snippet. (18)

Header Footer Code Manager (HFCM) Plugin
Header Footer Code Management plugin (HFCM)