Shopify theme and Pinsterest ads tracking issue

Hi ! we have created our own e-commerce theme. We have received complaints from our clients related to tracking visits via Pinterest advertising. Indeed, people who use our theme have lost tracking. For example, Pinterest shows 20 visits and Shopify only tracks 10. Is it possible that this comes from a theme?