Installation guides
Podia
Add ProductLense to a Podia site with the custom code setting, and attribute sales when your Podia store takes payments through Stripe.
Podia lets you add code to the head of your site's pages. ProductLense goes there and runs on your storefront, product pages and landing pages.
Add the script
- In Podia, open your website settings and find the custom code field for the page head. Podia offers custom code on plans that include third-party code.
- Paste the two tags below. Replace
SITE_IDwith the id from Settings → Sites in the ProductLense dashboard. - Save and publish.
<script>window.productlense=window.productlense||function(){(window.productlense.q=window.productlense.q||[]).push(arguments)}</script>
<script defer data-site="SITE_ID" src="https://api.productlense.app/a.js"></script>Add your Podia domain (for example example.podia.com) and your custom domain, if you use one, to the site's hostnames in the ProductLense dashboard.
Revenue
Podia takes payments through a Stripe or PayPal account you connect. When it uses your own Stripe account, connect Stripe to ProductLense; buyers are matched to visitors by the email they used, sent with identify where you know it. ProductLense has no Podia connector, so PayPal sales are not imported unless you send them with the Payment API.
Verify your installation
- Open your Podia site in a normal browser window, logged out of Podia.
- Open the Live page in the ProductLense dashboard. Your visit appears within a few seconds.
- In the browser's developer tools, the Network tab shows a
POSTtohttps://api.productlense.app/api/ewith status204.
If the visit does not appear, follow Verify your installation.