You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[✅ Option: Custom alt text for tracking pixel 🏷️](https://github.com/ViorelMocanu/astro-simpleanalytics-plugin/blob/main/FEATURES.md#user-content--option-custom-alt-text-for-tracking-pixel-️)
17
18
-[💡 Feature: Embed chart on your site 📈](https://github.com/ViorelMocanu/astro-simpleanalytics-plugin/blob/main/FEATURES.md#user-content--feature-embed-chart-on-your-site-)
18
19
19
20
Once you [install it](README.md#🚀-installation), the Astro Simple Analytics Plugin should be ready to go with zero config.
@@ -40,6 +41,7 @@ These are all the available parameter options for this plugin where you choose t
@@ -250,6 +252,18 @@ So if, for example, you'd like to ignore `timeonpage` and `scrolled`, you should
250
252
251
253
You can add any number of metrics to this list if you want to ignore them.
252
254
255
+
## ✅ Option: Custom alt text for tracking pixel 🏷️
256
+
257
+
By default, the tracking pixel in the noscript fallback has an empty alt attribute (`alt=""`), which is appropriate for decorative images. However, you may want to provide custom alternative text for accessibility or other reasons.
258
+
259
+
You can customize the alt text by passing the `altText` parameter:
If you don't provide the `altText` parameter, it will default to an empty string, keeping the original behavior.
266
+
253
267
## 💡 Feature: Embed chart on your site 📈
254
268
255
269
The Astro Simple Analytics Plugin allows you to [embed a chart of your public website statistics](https://docs.simpleanalytics.com/embed-chart-on-your-site) on your website.
0 commit comments