Overview
The Rokt Conversions Web Pixel enables accurate attribution of conversions from your Shopify store to Rokt campaigns. This helps optimize your marketing performance by tracking user activity through Shopify’s Web Pixels API.Step 1: Install the Aftersell App
You will be provided with a special installation link by your account manager.- Click the link to be redirected to the Shopify App Store.
-
You will be prompted to install the Aftersell app.

- Click Install to continue.
read_customer_events and write_pixels. Click Approve to grant these permissions. Accepting these scopes allows Aftersell to inject and activate the Rokt Web Pixel automatically.
Step 2: Accept Terms and Conditions
After granting the required permissions:-
You will be prompted to review and accept our Terms and Conditions.

- Press Enable now to proceed.
Step 3: Activate Free Plan
Following the Terms and Conditions:- You will be prompted to accept the Aftersell Free Plan (Rokt Ads).
-
Click Approve to complete the activation.

- Once approved, your onboarding is complete, and you will be redirected to the Rokt Ads dashboard, where you will see your newly created One Platform Account ID. (While it is being created the card reads Generating One Platform Account ID.)

Step 4: Web Pixel Activation
After completing onboarding, the Web Pixel installation will be triggered automatically. Please allow up to 5 minutes for the activation to complete.To Verify Pixel Activation:
- On the Rokt Ads page (inside Aftersell), click the link labeled Customer Events Page. This will take you directly to the right page in your Shopify Admin.
-
Alternatively:
Navigate manually to Shopify Admin → Settings → Customer Events. -
Once there:
Under App Pixels, look for “Aftersell”.
Ensure the status is listed as Connected.
Additional Notes:
This activated web pixel does three things:- Adds a cookie when a customer lands on your site from one of your Rokt campaigns. Rokt will automatically add the “rtid” query parameter to the URL of the landing page.
- Records conversions. If the customer has a cookie from step i) then the conversion will be attributed to your Rokt campaign.
- Forwards Shopify’s standard storefront events to Aftersell — page, product and collection views, searches, cart adds and removes, checkout steps, and checkout completion. This is the part that runs on analytics consent alone.
- Permission: Analytics. The pixel extension declares analytics consent only — marketing and preferences are both off. This is most relevant for customers in the EU and UK. Conversion sending is checked separately at runtime: if the shopper has not granted marketing consent, the Rokt conversion is skipped while the standard storefront events still flow. To learn more, see Shopify’s documentation here.
- Data sale: Data collected does not qualify as data sale. Conversion data is collected to optimize and monitor advertising campaigns and is not sold by Rokt.
- For details on the Web Pixels API, see Shopify’s developer documentation here.