The Performance Center enables you to monitor the size of your AB Tasty generic tag.
It displays a list of seven guidelines to follow to enhance the tag performance on your account.
⭐ Good to know
You can also check the tag’s size in the network tab of your browser by searching for the try.abtasty.com/identifier.js file.
On the top right of the screen, you can see the global performance of your AB Tasty tag:
All guidelines are respected (the two optional points are not taken into account).
0 improvements to go
At least one guideline is not respected (the two optional points are not taken into account).
Between 1 and 5 improvements to go
Each guideline displays a status, showing whether it is currently respected () or not ().
Here are the 7 points you must monitor to ensure good tag performance:
- Tag weight
- Old campaigns running
- jQuery injection
- Global Code size
- Campaigns loading
- Enablement of framework auto-reload (optional)
- Activation of Cross-Domain Tracking (optional)
✅ Guideline: tag weight should be under 125 kB.
📝Explanation: a heavy tag is mechanically slower to download and thus may affect your website performances.
⚙️Process: respect the guidelines listed below.
Old campaigns running
✅ Guideline: no old campaign should be running on your account.
📝Explanation: usually, letting a campaign run for several months is not good practice for the following reasons:
- The changes you made in your old campaigns may be different from what is hard-coded on your website and you may have forgotten that these campaigns are still running.
- Old campaigns add up with current campaigns’ weight, and the sum of these campaigns will increase over time.
⚙️Process: hardcoding the modifications of your campaign(s) on your website, pause the campaign(s) or replace them.
✅ Guideline: if you don't need jQuery, you should remove jQuery injection.
📝Explanation: using AB Tasty, you might want to create your campaigns using jQuery. To do so, you can either use your own version of jQuery already implemented on your website or use AB Tasty to inject its own version directly into the tag (approximately 40 kB). We highly recommend you don't choose this last option as it will add a lot of weight to your tag.
⚙️Process: go to your account settings and select Do not use jQuery or Use my own jQuery.
Global Code size
✅ Guideline: global code should not contain more than 1,000 characters.
⚙️Process: go to your Global code and remove code that is not used.
✅ Guideline: set each individual campaign to be downloaded only once their targeting is valid (deferred campaign feature).
📝Explanation: by default, all your live campaigns are included in the tag. You may not want all your visitors to download all the campaigns. Using the deferred campaign feature allows you to purposely delay a campaign so that it is not included in the tag. For more information, refer to Using deferred campaigns.
⚙️Process: for each campaign you want to defer, go to Advanced options (step 6) and select Deferred in the Tag Performance Optimisation section.
Enablement of framework auto-reload (optional)
✅ Guideline: if you don't need this feature, you should disable it.
📝Explanation: to handle Single Page Applications (SPA) and some other website technologies, the framework auto-reload feature is activated by default. This means the tag is looping every 100 ms to make sure your visitors haven't switched pages, which would lead to a reassessment of the targeting.
⚙️Process: go to your account settings and select Enable the automatic reload of the framework > No.
Activation of Cross-Domain Tracking (optional)
✅ Guideline: if you are not running your tag on several domains, you should disable this feature.
📝Explanation: cross-domain tracking can be useful if you are running the AB Tasty tag on several domains (not including subdomains) but having this feature enabled means adding an additional piece of code into your tag.
⚙️Process: go to your account settings and delete Cross-domain tracking (if you don’t need it).
Need additional information?
Submit your request at email@example.com
Always happy to help!