This article is also available in:
If you have a store on ShopBase or other platforms (such as Shopify), the advertising account you run for that store assigns tracking code to each product, which is optimized over time. When you want to migrate to a new ShopBase store, product information will be updated again, and the tracking code of each product will be renewed. This can affect the store's ability to optimize ads and revenue. Therefore, stores should use old tracking codes for products as guided in this article to send information to advertising platforms (such as Facebook Ads, GMC, etc.), especially if the products are selling well. This can definitely help with store migration while preserving sales.

In this article

A. Maintain the tracking code when switching stores from other platforms
B. Maintain the tracking code for the old product when switching from one ShopBase store to another

A. Maintain the tracking code when switching stores from other platforms

In case you want to customize the product IDs that are sent to marketing services (Facebook, Google, etc.), please add a tag to your product in the format track-id-XXXX. ShopBase will use XXXX as the product ID to send to marketing services when buyers perform actions like view product, add to cart, or purchase. This tag is also applied in your product feeds and will be used for item_group_id field in your feed file or through API feed.

Add product tag

From your ShopBase admin, go to Products > All products, and click on the product you want to add tag.


Add track-id-XXXX tag to the product. In which, XXXX is the product ID on another platform (e.g. Shopify) on which this product is running ads. Please refer to this article for more information on how to add product tags.


Click Save changes.

Add product tag by CSV file

Refer to this article on how to import products to ShopBase by CSV file

In the CSV file, add the product tag in track-id-XXXX format into the Tags column. Save your file, then import to ShopBase according to the article above.



Once you've finished adding tags for your products, you can submit your product feed information to Google and Facebook. Then, Google and Facebook will recognize your product tracking code based on the information of the tag you created and perform user behavior assessment, thereby helping you improve and optimize your revenue.

B. Maintain the tracking code for the old product when switching from one ShopBase store to another

Keeping IDs when exporting products will assist you in quickly transitioning from your old ShopBase store to a new one. It is also convenient for Google or Facebook to recognize your store's products and optimize those products based on the old data. This feature is especially useful, in case an old ShopBase store has a large number of products.

From your ShopBase admin site, go to Products > All products. Select the products you want to migrate to another store and click Export to export the product information from the store to a CSV file.


In the dialog, if you want to reuse the tracking code of a product when migrating to a new store, check the box Use IDs from exported products for ads optimization (Facebook Ads, GMC, ...) on your other stores. Choose Selected products under Export. Select the file type to export in the section Export as. Click Export to export the file.


In the file containing the product information exported above, a tag will be automatically added to each product in the track-id-XXXX format in the Tag column. XXXX is the tracking code of the product.


In the ShopBase admin of the new store, go to Products > All products. Click Import. In the dialog box, click Choose file to select the exported file in step 2. Click Upload file.



Products uploaded to the new store will have tags in the form of track-id-XXXX with XXXX as the product's tracking code. When you submit product feed information to Google and Facebook, product's tracking codes will be used for the item_group_id field. However, in case the product has multiple tags in the form of track-id-XXXX, tags will be prioritized on Google and Facebook based on the order in which they were added to the product.

For example: You have a product with the tag track-id-XXXX in the current store. When exporting this product, a new tag is created in the form track-id-YYYY. When you upload a file containing this product information to a new store, that store will use track-id-XXXX instead of track-id-YYYY, as the track-id-XXXX tag was created beforehand.

Related articles

Add a new product
Import products to ShopBase by CSV file
Search and filter products on ShopBase admin
Edit a product
Add or remove product tags
Was this article helpful?
Cancel
Thank you!