1. Choose your website tag
There are two types of website tags to choose from:
Universal website tag: a single html code snippet that can be placed across your entire website to track multiple site actions or conversions. We recommend using this website tag to track multiple actions in a consistent manner.
Single-event website tag: a unique snippet of code that can be used to track a single non landing page loading action, such as a subscribe button.
For most advertisers, we recommend using the Universal Website Tag, as it simplifies the tagging process and allows for tracking of a user’s journey across your entire website.
In rare cases, you may need a Single Event Tag to track a conversion for a non-page loading event (i.e. downloading a white paper or submitting a registration form).
We have recently released an update to our Click ID functionality. Specifically, we have expanded the use of Click ID to enable measurement of conversion events beyond landing page visits by introducing the availability of first-party cookies. This first party cookie will store the Click ID parameter appended to your landing page URL in order to measure the conversion events that take place on your website.
This update is default turned on. You can choose to opt out of this functionality by going to Events Manager > visiting your pixel settings > unchecking the “Allow first party cookies” box.
With this update, if using a “Content-Security-Policy” (CSP) header on your website, ensure that you’re allowlisting “analytics.twitter.com” in “img-src” and “connect-src” directives in order to continue to see results with the Twitter Pixel.
2. Generate and install your website tag
Once you’ve decided on the type of tag you want to use, it’s time to get it generated and added to your website. To do this: