Setting up custom audiences based on website visitors for TikTok ads requires a precise, multi-step approach that aligns with the platform’s unique tracking and targeting capabilities. For business leaders and innovators who want to scale with precision, this process is less about flipping a switch and more about building a reliable data pipeline. Here’s how to do it effectively, drawing on the kind of rigor we apply at Sagum.
Step 1: Install the TikTok Pixel Correctly
Before you can create any audience, the TikTok pixel must be properly installed on your website. This is non-negotiable. The pixel tracks visitor behavior and sends that data back to TikTok for audience building.
- Manual installation: Copy the pixel code from your TikTok Ads Manager under Assets > Events > Web Events. Paste it into the
<head>section of your website’s global template. Use a tag manager like Google Tag Manager if you prefer a more flexible, centralized setup. - Partner integrations: If you use Shopify, WooCommerce, SquareSpace, or similar platforms, TikTok offers direct integrations. These are faster but less customizable. For complex funnels, the manual or GTM route is superior.
- Event tracking: Beyond the base pixel, set up standard events like ViewContent, AddToCart, Purchase, and CompletePayment. These events are the building blocks for granular audiences, not just broad “all visitors” lists.
- Test the pixel: Use the TikTok Pixel Helper browser extension or the Test Events feature in Ads Manager to confirm the pixel is firing and registering events correctly. Without this validation, your audiences will be empty or inaccurate.
Step 2: Create the Custom Audience in TikTok Ads Manager
Once the pixel is live and collecting data for at least a few hours (ideally a few days for robust data), you can build your audience.
- Navigate to Assets and click Audiences.
- Select Create Audience and choose Custom Audience.
- Select Website Traffic as the source. This tells TikTok to pull data from your pixel.
- Define the audience rules: This is where strategy comes in. You have several options:
- All visitors: Everyone who visited your site in a set time frame. Useful for broad retargeting but often too generic for high-performance campaigns.
- Visitors of specific pages: Target people who visited a particular URL (e.g., a product page or a pricing page). Use this for high-intent retargeting.
- Visitors who completed specific events: Target users who triggered an event like AddToCart or Purchase. This is the most powerful option for e-commerce or lead gen. You can combine multiple events using AND or OR logic.
- Set the retention period: Choose how long a visitor stays in the audience (from 1 to 180 days). Shorter windows (7-30 days) work best for hot leads. Longer windows (90-180 days) are better for top-of-funnel awareness or nurturing colder traffic.
- Name your audience clearly (e.g., “Visitors – Add to Cart – Last 30 Days”) and click Create.
Step 3: Refine Your Audience with Strategic Segmentation
A custom audience is only as good as the segmentation behind it. We apply the same lean, data-first approach here that we use for all campaigns.
- Exclude converters: Add an exclusion rule for users who have already completed a Purchase event. This prevents wasted spend on customers who have already converted.
- Use inclusion/exclusion logic: For example, create an audience of users who visited the pricing page but not the checkout page. This signals interest without purchase intent-ideal for a follow-up ad sequence.
- Layer with demographics or interests (optional): While custom audiences are already highly targeted, you can further refine them by adding demographics like age, gender, or interests in TikTok’s ad set settings. But use this sparingly-over-narrowing can kill scale.
Step 4: Let the Audience Populate Before You Launch
Custom audiences need time to build. TikTok’s algorithm typically requires at least 1,000 users in an audience for it to be effective for retargeting. This is especially important on TikTok, where the content is fast-paced and the algorithm relies on pattern recognition.
- Be patient: Wait at least 24-48 hours after creating the audience before building your ad set. Check the audience size in the Audiences tab-it should show a number greater than zero.
- Scale with lookalikes: Once your custom audience is populated (ideally with 5,000+ users), create a lookalike audience [LAL] from it. In TikTok, go to Create Audience > Lookalike Audience and select your custom audience as the source. Choose a percentage (1% is most similar, 10% is broader). This is a proven way to find new users who behave like your best website visitors.
Step 5: Monitor and Optimize the Audience Performance
Creating the audience is just the beginning. We treat this as a continuous process, not a one-time task.
- Check audience freshness: Stale audiences lead to ad fatigue. Refresh your audiences every 30-60 days by creating new ones with updated date ranges or event criteria.
- Analyze overlap: Use the Audience Overlap tool in TikTok to check if your custom audiences are competing with each other. If they overlap by more than 30%, combine them or adjust the rules to avoid cannibalization.
- Test different retention periods: Run A/B tests with the same audience segment but different retention windows (e.g., 7 days vs. 30 days). Monitor which window drives better ROAS and adjust accordingly.
- Align with your 30/60/90 day goals: In our experience, the first 30 days should focus on building a foundational audience (e.g., all visitors with high-intent events). Days 30-60 refine that audience with exclusions and segment-specific messaging. Days 60-90 scale into lookalikes and new creative angles based on what the data tells you.
Key Pitfalls to Avoid
- Inaccurate pixel setup: A misconfigured pixel is the number one reason custom audiences fail. Use the Test Events feature religiously, and consider using server-side tracking for complex funnels (especially if you have high traffic volume).
- Too broad an audience: An “all visitors” audience with a 180-day retention window often includes a lot of accidental traffic or one-time visitors. Start with high-intent events like AddToCart or ViewContent for the best results.
- Ignoring frequency: Retargeting too often on TikTok can be annoying due to the platform’s immersive nature. Keep frequency under 3-5 impressions per user per week, and use creative rotation to keep the ads fresh.
- Relying solely on TikTok’s interface: For advanced clients, we use a BI dashboard (like the ones we build with Grow) to track audience performance across platforms. This gives us a unified view of how website visitors behave and which segments are most profitable, beyond what TikTok’s native reporting shows.
Final note: Custom audiences based on website visitors on TikTok are a powerful tool, but they work best when integrated into a broader, data-first strategy. At Sagum, we’ve spent over $2 million on TikTok ads and have found that the most successful campaigns combine these retargeting audiences with fresh creative, precise event tracking, and constant iteration. The technology is the foundation-your strategy and execution determine the results.