How do I find my Twitter Pixel ID?
Updated over a week ago

To find your Twitter Pixel ID (also known as Twitter Universal Website Tag or Twitter conversion tracking pixel), follow these steps:

  1. Sign in to your Twitter Ads account: Go to https://ads.twitter.com/ and enter your login credentials.

  2. Access the 'Tools' menu: Once you're logged in, click on the 'Tools' menu located in the top right corner of the dashboard.

  3. Select 'Conversion tracking': In the 'Tools' dropdown menu, click on 'Conversion tracking' to open the conversion tracking page.

  4. Create or locate your Twitter Universal Website Tag: If you have already created a Twitter Universal Website Tag, you will see it listed on this page. If not, click on the 'Generate website tag' button to create a new tag.

  5. Find your Twitter Pixel ID: Your Twitter Pixel ID is the numeric value within the Universal Website Tag code snippet. The code snippet should look like this:

<!-- Twitter universal website tag code -->

<script>

!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);

},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js',

a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');

// Insert Twitter Pixel ID and Initialize the Universal Website Tag

twq('init','YOUR_TWITTER_PIXEL_ID');

// Track a pageview event (default)

twq('track','PageView');

</script>

<!-- End Twitter universal website tag code -->

Replace 'YOUR_TWITTER_PIXEL_ID' with your actual Twitter Pixel ID, which is a series of numbers. Make sure to keep your Twitter Pixel ID confidential, as it is a unique identifier for your account and can be used to track conversions and user behavior on your website.

Did this answer your question?