Skip to main content

Pixel - Set up the conversion pixel and check that it fires

Create a Flowcode pixel for your website, choose what counts as a conversion, turn it on for a flow, and check that conversions show up.

User Permissions

Organization Admins create and edit pixels.
Anyone who can edit a flow can turn a pixel on for it.

Note: Pixels are in Organization admin > Settings > Pixels. The pixel isn't on for every organization. If you don't see Pixels, contact your Flowcode CSM.

Find Pixels in Organization admin

  1. At the top right of any page, click Organization admin.

  2. At the bottom left, click Settings.

  3. Click the Pixels tab, between Domains and Terms & conditions. Your pixels are listed with their domains and conversion type.

The Pixels tab in Organization settings, with the Create Pixel button, numbered 3

Create a pixel

  1. On the Pixels tab, click Create Pixel (Create pixel if you have none yet).

  2. Enter a Pixel name, up to 25 characters, such as "Harbor Lights website". You can't change the name later.

  3. Leave Workspace (optional) empty to use the pixel in every workspace, or pick one workspace to limit it.

  4. Enter your Root domain with https:// and no path, such as https://harborlights.example.com. Subdomains are included.

  5. (Optional) Click + to add domains, up to 10.

  6. Click Next.

Create a pixel, Step 1, with Pixel name, Workspace (optional), Root domain, and Next, numbered 2 to 4 and 6

Choose what counts as a conversion

Under Step 2: Choose a conversion type, turn on a type. One type per pixel keeps reports clear.

Type

Counts

You set

Page view

A page load

Only pages where path contains... or All pages except where path contains..., then up to 10 paths such as /rewards/thanks

Form submission

A submitted form

Attribute (Class or ID), Condition (Matches, Does not match, Contains, Does not contain, or Starts with), and Value

Button click

A clicked button

The same Attribute, Condition, and Value

Shopify

A Shopify purchase

Nothing; you get a Shopify snippet

Purchase

A purchase and its value

Nothing; you get a purchase snippet

Then click Save and preview.

Install the pixel on your site

  1. Under Step 3: Copy and install your pixel, copy the Base pixel.

  2. Add it before </head> on every page you track, or in Google Tag Manager as a Custom HTML tag with an All Pages trigger.

  3. For Purchase or Shopify, also install the extra snippet and replace its placeholder values (order ID, value, and currency) with your site's variables.

  4. Click Exit.

To change a pixel's domains, workspace, or types, click its name on the Pixels tab. You don't reinstall the code.

Turn the pixel on for a flow

  1. In the Flow Editor, select the External URL destination that goes to your site (on the canvas it's named, for example, External destination 1).

  2. Under Pixel configuration, turn on Enable Pixel Tracking.

  3. In Pixel, choose your pixel.

  4. Under Mark as conversion:, keep on the events to count: Page view, Button click, Form submit, or the purchase trigger.

Publish and test

After you click Publish, check that the pixel fires:

  1. On your site, view the page source and search for conversions.flowcode.com/pixel-tracker. In your browser's developer tools, the network list shows that request with status 200.

  2. Scan the flow's QR code or open its short URL, then complete the action in the same browser tab (for example, reach /rewards/thanks).

  3. Open the flow's Analytics tab and check Pixel conversions (purchases show as Purchases).

Pixel conversions also show in workspace and organization Analytics. Exports call them External Pixel Conversions.

Troubleshooting

"Pixel conversions shows 0."
Check that Enable Pixel Tracking is on and the flow was published after; the event is on under Mark as conversion:; the visit started from a scan or short URL click in the same tab (typed URLs and later visits don't count); the page's domain is one of the pixel's domains; and the path, class, or ID matches exactly. Flows without a pixel also show 0.

"I don't see Pixel configuration on my external link."
No pixel is available to this workspace. Ask an Organization Admin to create one, or to clear its Workspace so every workspace can use it.

"I see 'Use a valid URL with http:// or https://' or 'Please remove paths or queries from the domain.'"
Enter only the root domain with its protocol, such as https://harborlights.example.com.

"Conversions don't count for a form inside an embedded frame."
The pixel can't see inside a frame from another page. Install the pixel inside the frame too, and have your developer pass the tracking parameter into it.

"Conversions stopped after we changed our site."
Check the base pixel is on every page and your paths, classes, or IDs still match. Redirects must keep the link's query parameters.

FAQs

Can I delete a pixel?
No. To deactivate one, contact your Flowcode CSM.

Do I need one pixel per website?
We recommend one per domain. A pixel covers all subdomains and can list up to 10 domains.

Does the pixel work for email, phone, or text destinations?
No. It tracks conversions on websites only.

Does my Flowcode 1 pixel work in Flowcode 2?
No. Create a new pixel. Both can run on the same site.

Related articles

Did this answer your question?