Lesson 1: Setting Up Conversion Events
- Adding the Pixel to Your Site
- Access the Event Manager on your Twitter Ads account.
- Find and copy the Twitter pixel base code.
- Add the base code to the head area of your website or use Google Tag Manager.
Detailed Steps:
- Access the Event Manager: From your Twitter Ads account, go to the Event Manager.
- Find and Copy the Pixel Code: You will see your Twitter pixel. There might be a pop-up when you set up your new account, but either way, you need to get to that Twitter pixel and copy the base code.
Adding the Code to Your Website:
- If adding directly to your website, locate the head HTML section of your site. Paste the Twitter pixel code there
If using Google Tag Manager:
- Go to your Google Tag Manager account.
- Create a new tag.
- Name the tag for easy reference (e.g., Twitter Pixel).
- In the tag configuration, choose to add a custom HTML tag.
- Paste the Twitter pixel code into the custom HTML section.
- Set the trigger to fire on all pages.
- Save and publish the tag.
Important Note: If your website already uses multiple tracking codes, such as Google Analytics or Facebook pixels, it’s advisable to use Google Tag Manager to keep your website running smoothly and avoid slowing it down with too many scripts.
Optimizing for Conversions
Setting Up Events:
- Create Conversion Events: After adding the pixel code, set up conversion events based on the actions you want to track (e.g., leads, purchases, sign-ups).
- Example - Lead Event:
- Go to the Event Manager and create a new event.
- Name the event (e.g., Lead).
- Define the event by either specifying a thank-you page URL (if you use one) or letting Twitter automatically track the event.
- Save the event configuration.
- Example - Purchase Event:
- Similar steps as the lead event, but name it Purchase.
- Define the purchase event with detailed tracking parameters.
- Add the purchase code to the head section of your website or through Google Tag Manager.
Tracking and Verification:
- Verification: Ensure that the events are tracking correctly by testing the actions on your website and checking the Event Manager for recorded events.
- Monitoring: Regularly monitor the events to ensure they are firing correctly and capturing the desired actions.