Commit 320283a
committed
fix(meta-ads): use unique gradient IDs and filter conversion actions
- Use useId() for MetaAdsIcon SVG gradient IDs to prevent collisions when multiple instances render on the same page
- Filter conversions to only count actual conversion action types (offsite_conversion, onsite_conversion, app_custom_event) instead of summing all actions1 parent bb8b314 commit 320283a
File tree
3 files changed
+25
-9
lines changed- apps
- docs/components
- sim
- components
- tools/meta_ads
3 files changed
+25
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4136 | 4136 | | |
4137 | 4137 | | |
4138 | 4138 | | |
| 4139 | + | |
| 4140 | + | |
| 4141 | + | |
4139 | 4142 | | |
4140 | 4143 | | |
4141 | 4144 | | |
4142 | 4145 | | |
4143 | | - | |
| 4146 | + | |
4144 | 4147 | | |
4145 | 4148 | | |
4146 | 4149 | | |
| |||
4154 | 4157 | | |
4155 | 4158 | | |
4156 | 4159 | | |
4157 | | - | |
| 4160 | + | |
4158 | 4161 | | |
4159 | 4162 | | |
4160 | 4163 | | |
| |||
4171 | 4174 | | |
4172 | 4175 | | |
4173 | 4176 | | |
4174 | | - | |
| 4177 | + | |
4175 | 4178 | | |
4176 | 4179 | | |
4177 | 4180 | | |
4178 | | - | |
| 4181 | + | |
4179 | 4182 | | |
4180 | 4183 | | |
4181 | 4184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4136 | 4136 | | |
4137 | 4137 | | |
4138 | 4138 | | |
| 4139 | + | |
| 4140 | + | |
| 4141 | + | |
4139 | 4142 | | |
4140 | 4143 | | |
4141 | 4144 | | |
4142 | 4145 | | |
4143 | | - | |
| 4146 | + | |
4144 | 4147 | | |
4145 | 4148 | | |
4146 | 4149 | | |
| |||
4154 | 4157 | | |
4155 | 4158 | | |
4156 | 4159 | | |
4157 | | - | |
| 4160 | + | |
4158 | 4161 | | |
4159 | 4162 | | |
4160 | 4163 | | |
| |||
4171 | 4174 | | |
4172 | 4175 | | |
4173 | 4176 | | |
4174 | | - | |
| 4177 | + | |
4175 | 4178 | | |
4176 | 4179 | | |
4177 | 4180 | | |
4178 | | - | |
| 4181 | + | |
4179 | 4182 | | |
4180 | 4183 | | |
4181 | 4184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
131 | 141 | | |
132 | 142 | | |
133 | 143 | | |
| |||
0 commit comments