Can I add Social Marketing (Plugin) via PHP instead of Shortcode?

I have a product and created a banner for people to click on to share and save 10%. However, I need to add this via PHP directly into the template. How do I do this?