|
This article covers the following: |
Overview
When you install the Wingify SmartCode on your website, your pages load a JavaScript file from Wingify. This file is the Wingify tag. The tag contains the Wingify library and the settings data your campaigns need to run on that page. The larger the tag, the more the browser has to download and process before it can finish loading the page, so tag size can affect how quickly your pages load.
Tag size is not fixed and keeps evolving. It changes when the contents of the tag change, for example, when you enable or disable features in your account or update your campaigns. To manage the effect on page speed, you need to know how large your tag is, what contributes to its size, and when it changes.
Tag Monitor shows you your tag's size, what it is made of, and how it has changed over time. It helps you answer questions such as:
- How large is my tag right now?
- How much of it comes from the Wingify library, and how much from my campaigns?
- Did the tag grow recently, and when?
- Which campaigns add the most to its size?
Tag Monitor reports the size in KB and splits the total into two components. Each component grows for a different reason, so knowing which one drives the change tells you what to look at. The two components include:
-
Wingify Library size
This is the size of the Wingify JavaScript library that loads on your website. It contains the code for the Wingify features enabled on your account, so the size stays the same regardless of how many campaigns you run. It changes when you enable or disable features, because SmartCode adapts the library tailored to the features you use.
-
Campaign data & configs
This is the size of the data and configurations that your campaigns need to run on your pages. The size grows as you create more campaigns or make existing ones more complex, and it shrinks as you pause, archive, or simplify them. This is the part of the tag that you control most directly.
The two components add up to the current total size. For example, a Wingify Library size of 129.48 KB and Campaign data & configs of 15.07 KB give a current total size of 144.55 KB.
The Tag Size evolution chart tracks these values across a date range. You can use this chart to analyze when the tag size grew or shrank and correlate the change to updates in your campaigns and configurations.
The sections below explain how to launch Tag Monitor and how to analyze the data.
Prerequisites
- Data Platform is enabled on your account.
- Your website uses SmartCode 3.0. For details, see SmartCode 3.0: What’s New and How It Works.
View Your Tag Size
Step 1: Open Tag Monitor
Tag Monitor is part of the Websites and Apps section in your Wingify account. Open it when you want to check the size of your tag or find out why it changed.
To open Tag Monitor:
- From the left navigation panel of your Wingify dashboard, navigate to Settings > Configuration.
- Under Websites and Apps, click Tag Monitor.
Tag Monitor opens with the Size evolution chart set to the last 30 days. When you scroll down to the table, every product group is expanded by default so you can see your campaigns right away.
The page has three parts:
- Current total size panel: Shows the tag's current total size and the size of each component.
- Size evolution chart: Shows how those values change across a date range you choose.
- Wingify library and campaign sizes table: Shows the size of the Wingify library and of each campaign. Campaigns are grouped by product. Each product group is expanded so you can view the individual campaigns in each group right away. Each campaign has a status that rates its size as Good, Needs Improvement, or Poor. You can collapse a group to hide its campaigns.
Follow the next steps to review each of these page components in detail.
Step 2: Review the Current Total Size
The summary at the top left displays the current tag size and how that size is divided between the Wingify library and your campaigns. It is divided into:
- Current total size: Combined size of the tag.
- Campaign data & configs: Size of your campaign data and configurations.
- Wingify Library size: Size of the Wingify library.
Note:
- The component values in the summary show the latest size, not an average for the selected date range.
- The current total size may not always equal the exact sum of the two components. All sizes in the summary are compressed, and the total is calculated for the tag file after its parts are combined and compressed. Therefore, the total size may differ from the sum of the two values shown.
Step 3: Read the Size Evolution Chart
The Size evolution chart plots tag size over time so you can spot growth or reductions. The vertical axis shows size in KB, and the horizontal axis shows dates.
To analyze data on the Size evolution chart:
- Click the date range dropdown at the top right of the chart.
- Select the range to analyze, such as Last 30 days, Last 3 months, or Last 12 months.
- Hover over the chart to see the size contribution of each component for that point in time.
- Click an item in the legend, Wingify Library size or Campaign data & configs, to show or hide that component.
The chart opens to the Last 12 months view by default. If your account has less data than the selected range, the chart starts from the first available date.
Step 4: Review Library and Campaign Sizes
The Wingify library and campaign sizes table at the bottom of the page breaks the size down by campaign so you can find the campaigns that add the most weight.
- Scroll to Wingify library and campaign sizes.
- Click a product group such as Wingify Web Experimentation, Wingify Web Rollouts, or Wingify Behaviour Insights, to expand it, and view its campaigns. Each group shows the number of campaigns, their combined size, and a status count. Click the group again to collapse it.
- Use Search by campaign name or Add filter to find a specific campaign.
- Click Load more at the bottom of a group to see additional campaigns.
Each campaign has a status based on its size. The size reflects the amount of data (changes, code, assets) added by each campaign. The following table provides clear benchmarks to help you gauge the performance impact of each campaign.
The campaigns are classified into three categories:
| Status | Size | What it means |
| Good | 10 KB or less | These campaigns have a minimal impact on page load speed and are well-optimized. |
| Needs Improvement | 10 KB to 30 KB | These campaigns are moderately sized and may have minimal impact on performance. It is recommended to review them for optimization. |
| Poor | More than 30 KB | These campaigns are large and are likely to affect your page load speed and user experience. |
Tip:
- Enable lazy loading for campaigns with a Needs Improvement or Poor status. This is recommended only for campaigns that do not modify the original elements on the page. Enabling this setting defers the execution of heavy campaigns until the main page is usable. This ensures your website’s essential content (text, images, navigation) is not delayed. Instead of loading simultaneously with your page's critical content, a lazy-loaded campaign runs asynchronously (in the background) after the main page is usable. For more information on how to enable lazy loading for a campaign, see Configure Advanced Campaign Configurations.
- Tag Monitor shows what changed in the tag, and the Performance tab shows what that means for your pages. To understand how SmartCode affects page speed metrics such as First Contentful Paint (FCP), Last Contentful Paint (LCP), Thread Blocking Time (TBT), and Cumulative Layout Shift (CLS), go to Websites and Apps > Connected > your website > Performance. Use both views together. For more information, see Registering Your Websites and Apps in Wingify.
Troubleshooting
| Issue | Possible Cause | Recommended Solution |
| Tag Monitor does not appear under Websites and Apps. | Data Platform is not enabled for your account, or your website does not use SmartCode 3.0. | Confirm that your account has Data Platform and that your website uses SmartCode 3.0. Contact Wingify Support for assistance. |
| The page shows an empty state instead of a chart. | No tag size data is available for your account yet. | Check again after SmartCode has been active on your website for some time, then reload the page. |
| A component shows 0 KB. | The component currently contributes no size to the tag. | No action needed. Components with 0 KB still appear in the legend. The tag size will update automatically when they begin contributing to the tag. |
Need more help?
For more information or further assistance, contact Wingify Support.