Website Setup for App Marketing Widgets
The App Install Banner and Floating Button can be displayed on your website by adding a small script provided in the Twinr Builder. This script enables the App Marketing Widgets to load on your site and apply all the rules you configured.

How It Works
1. Copy the Embed Code
Go to App Marketing Widgets β Embed Code in Twinr Builder.
Click Copy Script to copy the generated code.
The script is unique to your app and loads all active App Marketing Widgets.
2. Add the Script to Your Website
Paste the script inside your websiteβs <body> tag.
For example:
<body>
<!-- Your website content -->
<!-- Twinr App Marketing Widget -->
<script>
// script copied from Twinr Builder
</script>
</body>π‘ The script must be placed inside
<body>(not in<head>).
Platform - Specific Website
ποΈ Shopify
Option A β Add Script to All Pages
Open Shopify Admin
Go to Online Store β Themes
Click Edit Code
Open:
theme.liquidScroll to the bottom and paste the script just before the closing
</body>tag.
Example:
<!-- Twinr App Marketing Widget -->
<script>
// paste your script here
</script>
</body>Click Save
Option B β Add Only to Specific Pages
You may also paste the script inside templates like:
product.liquidcollection.liquidpage.liquid
Paste it before </body>.
π WordPress
Option A β Using Theme Editor
Go to WordPress Admin
Navigate to: Appearance β Theme File Editor
Open:
footer.phpPaste your script above the closing
</body>tag:
<!-- Twinr App Marketing Widget -->
<script>
// paste script here
</script>
</body>Save changes.
Option B β Using Code Snippet Plugin
You can use plugins like Insert Headers & Footers or Code Snippets:
Install plugin
Add a new snippet
Set it to run in the Footer
Paste your script
Save
π» Custom HTML Website
Open your project files
Locate your main HTML file (often
index.html)Paste the script inside the
<body>tag, usually at the bottom:
<body>
<!-- Your website code -->
<!-- Twinr App Marketing Widget -->
<script>
// paste script here
</script>
</body>Save and publish your site
βοΈ Verify Installation
After installing:
Check your site on mobile and desktop
Ensure your device targeting and page targeting settings match
Wait for any delay timer if configured
Ensure the banner/button hasn't been dismissed recently (frequency rules apply)
Last updated
Was this helpful?