This article is also available in:
You can integrate Twitter conversion tracking ID into your online store to help you understand more about customer behaviors and the traffic sources. This tag collects data about how customers are using your online store pages, so that you can more effectively plan your ad campaigns to find new customers.

In this section

A. Get your Twitter conversion tracking ID
B. Install the Twitter Pixel ID on ShopBase store
C. Verify your Twitter Pixel
D. Troubleshoot duplicated events
E. Twitter Pixel events

A. Get your Twitter conversion tracking ID

Log into your Twitter account, go to Twitter Ads in tab More.

At the top of the screen, click Tools > Conversion tracking and press Create new conversion event by following step 3 of this guideline.

To get the Twitter Pixel ID, click on View code and installation instructions.


Copy Twitter Pixel ID from the line that resembles “twq(‘init’,‘twitter_pixel_id’);”



B. Install the Twitter Pixel ID on ShopBase store

From your ShopBase admin site, go to Settings > Sales channels.


Select Twitter.


Paste the Twitter Pixel ID that you have previously copied in part A.


Click Save changes.

C. Verify your Twitter Pixel

Install Twitter Pixel Helper for Chrome. Once installed, you will see the Twitter Pixel Helper icon in Chrome.

Go to any product pages on your online store, click on the icon to check if your tag is working correctly. For more information on this extension, please read this article.

D. Troubleshoot duplicated events

Along with the above method, you can track your customer behaviors by manually adding the Twitter Pixel tracking script to Additional Script. However, if the two methods are applied simultaneously, each event will be sent more than once, leading to the data duplication.

To solve this problem, go to Preferences > Additional scripts and delete the Twitter Pixel script added before.

E. Twitter Pixel events
When an action happens on your online store after you've added a Twitter Pixel in ShopBase, Twitter counts the action as an event. You can use event data to learn more about how customers interact with your store.

After you integrate a Twitter Pixel with your online store, it automatically tracks 4 events, with their descriptions as follows:

ViewProduct: When a visitor views a product page.
AddToCart: When a visitor adds a product to the shopping cart.
InitiateCheckout: When a visitor clicks on the checkout button.
Purchase: When a visitor completes a purchase and views the thank you page in the checkout.

Related articles

Overview of Sales channels
Set up Facebook Pixel IDs and Conversions API in ShopBase
Set up Google Analytics
Track Google Ads Conversions with ShopBase
Install Hotjar Tracking Code
Add codes of other tracking tools to ShopBase store
Was this article helpful?
Cancel
Thank you!