Aggregating multiple Wix accounts into a single BI report

The existing Wix reporting tools are numerous and comprehensive. But if you're running multiple accounts and need to consolidate data across your entire organization, things get a little more difficult.

Ben Liebert Developer & Data Specialist LinkedIn

In this walkthrough, we'll use SyncHub to take you through the process of syncing your various Wix accounts to a single location, then aggregating your data to build a comprehensive view across your entire business.

Download your Wix data

Head over to your Connection Dashboard in SyncHub and follow the instructions to connect your first Wix account, which will take just a few mouseclicks and a couple of minutes.

As part of the connection process, you're asked to provide details of the database where you'd like us to sync your data. We currently support Snowflake, BigQuery, Redshift, Postgres and SQL Server/Azure.

Once completed, SyncHub creates a unique database schema inside your data store, then immediately starts syncing your Wix data from the cloud. This results in various database tables, such as this example from the Product table:

Name NumericID Handle
Ceramic Flower Vase 1737889414721000 Product_6ed1f001-ec1a-4fb7-8187-39e3f60cdbd8
Knitted Golf Sweater 1737889225263000 Product_9d6f95b0-b08e-45d0-a4cc-dc276565d668
Round Eyeglasses 1737888979244000 Product_1515c6dc-51be-487d-b83c-73fb3639e7d6

Connect your other accounts

Now, follow a similar process to connect your other Wix accounts. SyncHub will store the data in the same database, but in different database schemas. This gives you the best of both worlds, where your data is demarcated at the connection level, but you can access everything from within a single query.

Consolidating your schemas

Now that you have your data in your database, we need a way to merge it into a single consolidated view. This is where our Insights platform comes into play. Using Insights, we can write a simple SQL query that merges the data from all of our schemas. Because each schema has an identical format, this is trivial:



select 'Wix 1' as [ConnectionName], [Name], [NumericID], [Handle]
from schema_wix_1.Product
UNION
select 'Wix 2' as [ConnectionName], [Name], [NumericID], [Handle]
from schema_wix_2.Product
UNION
select 'Wix 3' as [ConnectionName], [Name], [NumericID], [Handle]
from schema_wix_3.Product

Insights stores your query results in a database table under the sh_report_cache schema alongside the raw data we've downloaded from Wix. You can call this table whatever you like, so let's use something self-explanatory like wix_product_consolidated. We can then query it from our reporting tool as simply as this:


select * from sh_report_cache.wix_product_consolidated

Conclusion

As you've seen, SyncHub's consistent data structure and background syncing makes it trivial to report from multiple Wix accounts. You can use your new consolidated database table directly from your reporting tool, or use our own Insights platform to build charts and dashboards from within SyncHub itself.

SyncHub offers a fully functional free trial, so feel free to try out this walkthrough for yourself, using your own data.

Happy reporting everybody.

Keen to try SYNCHUB for yourself? Grab a free trial or book a demo.