Skip to main content

Xpixel

Connect X Pixel to your Lasso store to measure conversions and optimize your X ad campaigns.

What This Integration Does

X Pixel lets you measure conversions and optimize ads across your Lasso store. The following events are tracked automatically:

Event

When It Fires

Required

Page View

Every time a customer visits your store page

X Pixel ID only

Initiate Checkout

Customer starts the checkout process

Pixel ID + Event ID

Purchase

Customer completes a purchase

Pixel ID + Event ID

Unique structure X (Twitter) Pixel uses a different structure compared to other integrations. You need one Pixel ID plus a separate Event ID for each conversion event. All values are found in X Ads Manager → Events Manager.

Prerequisites

Before you begin, make sure you have:

  • An X (Twitter) account

  • An X Ads account at ads.twitter.com

  • Your X Pixel ID from X Ads Manager

  • Event IDs for Initiate Checkout and Purchase (created in X Events Manager)

Step 1 Create Your X Ads Account

(a) Go to X Ads Manager

Go to ads.twitter.com and sign in with your X (Twitter) account.

(b) Set Up Your Account

If you do not have an Ads account yet, click Let's go and follow the setup steps. Select your country and time zone, then enter your billing details to activate your account.

Step 2 Find Your X Pixel ID

(a) Navigate to Events Manager

In X Ads Manager, click the Tools menu in the top navigation bar. Select Events Manager from the dropdown.

(b) Locate Your Pixel ID

In Events Manager, your X Pixel is listed at the top of the page. Your Pixel ID is the short alphanumeric code shown below the pixel name. It looks like:

qi6rx

X Ads Manager → Tools → Events Manager: your Pixel ID (e.g. qi6rx) is shown in the Your X Pixel card, with both Event IDs listed in the Conversion Events table below.

Short code, not a UUID The X Pixel ID is a short alphanumeric code (e.g. qi6rx). It is not a long UUID — just a 5–8 character code. Make sure there are no extra spaces.

Step 3 Create Your Event IDs

X Pixel requires a separate Event ID for each conversion you want to track. You need two Event IDs — one for Initiate Checkout and one for Purchase.

(a) Open Events Manager

In X Ads Manager, go to Tools → Events Manager. Click Add event source in the top right.

(b) Create Event — Initiate Checkout

Select Website as the event source and fill in the following details:

  • Event name: Initiate Checkout

  • Event type: Add to cart

  • Website URL: your store URL

Click Save and continue. Your Initiate Checkout Event ID will be generated:

tw-qi6rx-qiful

Copy this Event ID and save it somewhere safe.

X Ads Manager: the Create a new event dialog — fill in the event name, type, and website URL, then click Save and continue to generate your Event ID.

(c) Create Event — Purchase

Repeat the same process to create a second event:

  • Event name: Purchase

  • Event type: Purchase

  • Website URL: your store URL

Click Save and continue. Your Purchase Event ID will be generated:

tw-qi6rx-qifue

Event ID format

Event IDs follow the pattern: tw-[PixelID]-[unique code]. Both IDs begin with your Pixel ID as a prefix. Save both IDs before moving to the next step.

Step 4 Get Your Access Token

The Access Token enables server-side event delivery via the X Events API, improving attribution accuracy for users with ad blockers or iOS privacy restrictions.

  1. In Events Manager, click on your pixel name (Lasso Store Pixel) to open its detail page.

  2. Click the Settings tab.

  3. Scroll down to the Events API section — your Access Token is displayed there.

  4. Click Copy next to the Access Token field. Save it somewhere safe.

X Ads Manager → Pixel Settings tab: your Pixel ID is in the Pixel Information card, and your Access Token is in the Events API section below.

⚠️ Important If you click Regenerate Token, your previous token will be invalidated immediately. Update the new token in Lasso right away to avoid any disruption to event tracking.

Step 5 Connect X Pixel in Lasso

You have your Pixel ID, both Event IDs, and (optionally) your Access Token ready. Now connect everything inside your Lasso dashboard — this takes less than 2 minutes.

(a) Go to Integrations

In your Lasso dashboard, click Integrations in the left sidebar. Find X Pixel in the list and click Configure.

(b) Enter Your Pixel ID and Event IDs

  1. Paste your X Pixel ID into the X Pixel ID field (e.g. qi6rx).

  2. Check Page View — no Event ID required.

  3. Check Initiate Checkout and paste the Initiate Checkout Event ID (e.g. tw-qi6rx-qiful).

  4. Check Purchase and paste the Purchase Event ID (e.g. tw-qi6rx-qifue).

Lasso: enter your X Pixel ID, check all event boxes, fill in both Event IDs, then click Test Integration and Save Configuration.

(c) Test and Save

  1. Click Test Integration. You should see a success confirmation.

  2. Click Save Configuration. Your X Pixel is now live and tracking.

✓ After saving Visit X Ads Manager → Events Manager to verify events are being received. Page View, Initiate Checkout, and Purchase events should appear within a few minutes of test activity on your Lasso store.

⚠️ If the test fails

• Double-check your Pixel ID and both Event IDs for typos or extra spaces.

• Make sure your X Pixel is active in X Ads Manager.

• Ensure both Event IDs match the Pixel ID they were created under.

Configuring UTM Parameters for Accurate Ad Tracking

For accurate ad tracking, ensure your X ads have the proper UTM parameters configured. This allows Lasso to attribute conversions correctly to your X campaigns.

Parameter

Recommended Value

Purpose

utm_source

x

Identifies X as the traffic source

utm_medium

paid_social

Identifies it as a paid social campaign

utm_campaign

your_campaign_name

Tracks which campaign drove the visit

utm_content

tweet_creative_name

Identifies the specific tweet creative

utm_term

your_keyword

Tracks keyword targeting (optional)

Troubleshooting

(a) Pixel ID Not Accepted

The X Pixel ID is a short alphanumeric code (e.g. qi6rx). Make sure there are no extra spaces or special characters. It is NOT a long UUID.

(b) Event ID Not Accepted

Event IDs follow the format tw-[PixelID]-[unique code] (e.g. tw-qi6rx-qiful). Make sure the Event ID matches the Pixel ID you entered. Do not mix Event IDs from different pixels.

(c) Test Integration Fails

  • Double-check all three values — Pixel ID and both Event IDs — for typos.

  • Make sure your X Pixel is active in X Ads Manager.

  • Confirm your X Ads account is active and not suspended.

(d) Events Not Appearing in X Ads

  • Wait 5–10 minutes after connecting — events may take a short time to appear.

  • Make sure Integration Status is set to Enabled in Lasso.

  • Verify events are set up correctly in X Ads Manager → Events Manager.

Frequently Asked Questions

(a) Do I need an Event ID for Page View?

No. Page View only requires your X Pixel ID. Event IDs are only needed for Initiate Checkout and Purchase events.

(b) Can I use Event IDs from a different pixel?

No. Each Event ID is tied to the Pixel ID it was created under. Always use Event IDs generated from the same pixel you are connecting in Lasso.

(c) How long does it take for events to appear in X Ads Manager?

Events typically appear within 5–10 minutes of being triggered. If they do not appear after 15 minutes, revisit the troubleshooting steps above.

Need help? Reach out to our support team via the chat widget in your Lasso dashboard.

Did this answer your question?