How to Set Up X (Twitter) as a Server-Side Destination
Follow the step by step guide to launching your X (Twitter) server-side tracking
Overview
Follow this guide to learn how to set up X (Twitter) as a server side destination.
Prerequisites
Before you can enable your X (Twitter) Server-Side Destination, you will need to:
- Install the Shopify Source on your store. Follow this guide to learn how to install the Shopify Source.
Add X (Twitter) as a Server-Side Destination
Add Destination:
- On the homepage of your Elevar Account, locate and click on the "My Tracking" tab from the left-hand menu.
- Once in "My Tracking" section, select the "Add Destination" button in the upper right hand corner of the page.
- A side bar pop-up window will appear, titled "Add Destination".
- Within this pop-up, use the search function and type "X (Twitter)".
- Once the X (Twitter) destination appears from the search function, click on it.
- (See Figure 1)
Figure 1
Get Started:
- After locating and clicking on the X (Twitter) destination, you will be taken to overview screen.
- After reading the "Integration Notes", click the "Get Started" button located in the lower left-hand corner of the Overview section.
- (See Figure 2)
Figure 2
Entering X (Twitter) Settings
Connect X (Twiter) Account:
- Navigate to the section of the page titled "General Settings" and click on the "Connect X (Twitter) Account". Follow the required steps to link your X (Twitter) account.
- Once you have connected your X (Twitter) account, navigate to the section of the page titled "X (Twitter) Pixel ID" and use the text box to enter your pixel ID. Follow this guide to learn how to locate your X (Twitter) pixel ID.
- If you have "Markets" enabled in your Shopify Source, you will see the "Markets" section in your Mixpanel destination.
- Select either the "All Markets", "Specific market(s)", or the "No Market ID" button to specify which markets will send data to Mixpanel.
- If you have selected "All Markets" navigate to the section titled "Destination Label" and use the text box to enter a label. This is how your destination name will appear across the Elevar app (e.g., My Tracking, Reports, History) and helps to identify your destination across our app, especially when you have multiple instances of the same destination.
- If you have selected "Specific market(s)", navigate to the section titled "Market Groups" and use the drop down menu to select the market groups to specify which market's data will be sent to this destination. Then, navigate to the box titled "Destination Label" and use the text box to enter a label. This is how your destination name will appear across the Elevar app (e.g., My Tracking, Reports, History) and helps to identify your destination across our app, especially when you have multiple instances of the same destination.
- Once you have entered all of the required information for the Mixpanel settings, click on the "Save and Continue" button located at the bottom of this section.
- (See Figure 3)
Figure 3
Select Events:
- Once you have entered your X (Twitter) general settings, you have to select what events the Events settings.
- Click on the button labeled "Use best practices". By default, we have enabled all the events we support and have provided an event name for each.
- If you would like to adjust the events sent, select "Customize settings". Then use the boxes to check off which events you would like to send to X (Twitter).
- Ensure that you have entered all of the required Event IDs.
- After selecting what the events click on the "Save and Continue" button located at the bottom of this section.
- (See Figure 4)
_Figure 4_
Consent Mode:
- After selecting what events you want to send to X (Twitter), you will be prompted to enable Consent Mode.
- Enabling Consent Mode: To enable Consent Mode, click on the "Yes, enable for this destination" button. Then navigate to the section of the page titled "What consent categories should a shopper accept before tracking fires" and use the checkbox to enable the desires consent categories. The "Ad Storage" and "Analytics Storage" options are the most popular consent categories for X (Twitter).
- By enabling Consent mode, your destination will be made "consent aware". This allows you to adjust when data gets sent to this destination based on the consent choices of your users.
- If you've configured consent mode in your data layer settings for cookie compliance, then you can configure this option here as well. [How to make sure my server-side tracking adheres to my consent rules]
- Enabling Consent Mode: To enable Consent Mode, click on the "Yes, enable for this destination" button. Then navigate to the section of the page titled "What consent categories should a shopper accept before tracking fires" and use the checkbox to enable the desires consent categories. The "Ad Storage" and "Analytics Storage" options are the most popular consent categories for X (Twitter).
- If you do not want to enable Consent Mode in your data layer settings, click on the "No" button.
- Once you have all of selected all of the information for enabling Consent Mode, click on the "Save and Continue" button located at the bottom of this section.
- (See Figure 5)
_Figure 5_
Filter Transactions:
- After selecting details for Consent Mode, you need to choose whether or not to filter transactions.
- Currently, our recommended practices suggests selecting the "Yes, block" button which blocks exchange and historical import orders.
- Or if you would like to allow specific transactions, click on the "Yes, allow specific transactions" button which includes the "web" sales channel to allow orders created on your website to be sent to this destination.
- If you do not want to filter transactions, click on the "No, send" button.
- Once you have all of selected all of the information for Filtered Transactions, click on the "Save and Continue" button at the bottom of this section.
- (See Figure 6)
_Figure 6_
Going Live:
- After completing all of the previous X (Twitter) Setup Steps, an Overview page will appear.
- If all of the details within the Configuration Summary look correct, then click on the button labeled "Go Live" at the bottom of this section.
- A pop-up window will appear, asking for a confirmation of your changes.
- Click on the "Yes, Go Live" bottom located in the right-hand corner of the confirmation window.
- (See Figure 7)
_Figure 7_
Updated 21 days ago
