This article covers the following:
- Overview
- Before You Begin
- Create a Matomo Connection in Wingify
- Verify the Integration Setup
- Create Report in Matomo Using Wingify Data
Overview
Matomo, formerly known as Piwik, is an open-source web analytics platform that helps track user data such as visitor details, page views, goals, e-commerce activity, and traffic sources. Matomo allows hosting data on your servers and offers customizable dashboards, reports, and plugins for tailored insights, enabling informed decisions to enhance websites and user experiences.
By integrating Wingify with Matomo, the Wingify campaign-specific data is pushed to your Matomo account for the visitors of your website. Afterward, this data could be employed to form separate segments within Matomo. This would enable you to assess visitors' performance across different parameters in Matomo, applicable to both the control and the variation group.
Before You Begin
- You have an active Matomo account.
- The Wingify SmartCode and Matomo analytics code are implemented on your webpage.
Create a Matomo Connection in Wingify
Wingify supports the following Matomo connection type:
- Send campaign data to Matomo (Push based): Allows you to track and analyze Wingify campaign data in Matomo using campaign and variation details.
To create a Matomo connection in your Wingify account:
- Log in to your Wingify account.
- From the left panel, navigate to Configurations > Integrations.
- Click the Matomo integration tile and click Create Connection.
- Select Send campaign data to Matomo.
- In the Create Connection form, enter a name in the Connection Name field (for example, "Matomo - Production").
- Click Create Connection.
Once created, the connection appears under Config > Active Connections on the Matomo integration page.
Once the connection is created, you can enable the integration at the campaign level using the following steps:
- Navigate to Web Experimentation.
- Select the desired campaign and go to Configuration > Integrations.
- Select Matomo from the list of available integrations.
Specifications of Wingify Experiment Data Sent to Matomo
When a visitor becomes part of a Wingify campaign, Wingify sends the following event to Matomo:
Event category: wingify
Event data:
["trackEvent", "wingify", "{CAMPAIGN_ID}:{CAMPAIGN_NAME}", "{VARIATION_ID}:{VARIATION_NAME}" ]
Where:
-
{CAMPAIGN_ID}:{CAMPAIGN_NAME}represents the campaign information. -
{VARIATION_ID}:{VARIATION_NAME}represents the variation information.
Verify the Integration Setup
You can check if the integration setup is complete or troubleshoot the setup by verifying the network calls to identify the data pushed from Wingify to Matomo by performing the following steps in your browser:
- Right-click on the page where your test campaign is running and select Inspect Element.
- Under the Network tab, search for “matomo” to filter the network calls for Matomo.
- The network calls get populated as the page loads. You may reload the page to view the network calls.
- Select a network call to view further details.
-
Go to the Payload tab, where you can find the data being pushed in the following format
- e_c: VWO
- e_a: <campaign ID>:<campaign name>
- e_n: <variation ID>:<variation name>
Note: e_c, e_a, and e_n refer to Event Category, Event Action, and Event Name in Matomo, using which you can fetch the Wingify campaign and the subsequent variation data appropriately.
- Event Category: wingify
- Event Action: {CAMPAIGN_ID}:{CAMPAIGN_NAME}
- Event Name: {VARIATION_ID}:{VARIATION_NAME}
Note: Event Category, Event Action, and Event Name are Matomo event parameters that identify the Wingify campaign and variation associated with the visitor.
These indicate that the values are being pushed by Wingify to Matomo.
Create Report in Matomo Using Wingify Data
Matomo provides you with a plethora of different preset parameters that help you measure almost every significant event on your website. You can simply import your Wingify data into Matomo and create a custom report using the preset report options in a few easy steps.
Let's say you're looking to access the net purchase value as sourced from the variations of a certain Wingify campaign. To fetch the report for this case, perform the following steps:
- Go to Custom Reports > Manage Reports and click on the CREATE NEW REPORT button.
- In the Create new report page that appears, supply a name for the report and an appropriate description for the report, if necessary.
-
Configure the website to which this report should be applicable.
- Under the Report content section, select the report type.
- Under Dimensions, you can configure the parameters that form the first column of your report table. Essentially, these become the variables for which you can view the corresponding values in each row. Now that you need to view the data for the different variations, you need to select Event Name under Events as the dimension. You can further configure this dimension to fetch your Wingify campaign variations using the Filter option, as explained in step 7.
-
You can now set the evaluation factor under Metrics. To evaluate the net purchase value from individual variations, select the Total Order Value option.
Note: If you're looking to match the visit results from Wingify, you need to select Unique Visits.
-
Using Filter, you can filter the data from Wingify by clicking on +Add condition and configuring it using the following parameters with AND condition:
Parameter Value Event Category VWO Event Action <campaign ID>:<campaign name> (for fetching campaign-specific data) Event Name <variation ID>:<variation name> (for fetching variation-specific data) Parameter Value Event Category wingify Event Action {CAMPAIGN_ID}:{CAMPAIGN_NAME} (for fetching campaign-specific data) Event Name {VARIATION_ID}:{VARIATION_NAME} (for fetching variation-specific data) -
Click CREATE NEW REPORT. This generates the report like this:
Need more help?
For more information or further assistance, contact Wingify Support.