Our documentation - for the time being. If you have any questions, please don't hesitate to email support@userpath.co - we will get back to you as quickly as possible!
These instructions guide you through setup for our most common platforms as well as plain HTML setup. If we're missing a platform, please email us at support@userpath.co. The other thing is that if you want to contribute to these docs, feel free to make a pull request, we will review it.
Also, remember: You must drop the URL of your tumblr blog into your allowed domains in the widget configuration.
- Google Tag Manager Instructions
- Tumblr Instructions
- WordPress Instructions
- Plain HTML Instructions
- Squarespace Instructions
- Weebly Instructions
- Shopify Instructions
- Go to the container you'd like to add the plugin to
- Click "Add new tag"
- Click "Custom HTML Tag"
- Paste in your UserPath code
- Check the "Support document.write" option
- Click continue
- Select "All Pages"
- Click "Create Tag"
- Go to the profile icon in the top right
- Click on the Tumblr you want to add the UserPath plugin to
- Click "edit appearance"
- Click "edit theme"
- At the top on the left click on the tiny "Edit HTML" link
- Scroll to bottom of code
- Paste in your UserPath code
REMEMBER: You must drop the URL of your tumblr blog into your allowed domains in the widget configuration.
- Sign in to your WordPress installation
- On the left hand menu hover over "Appearance"
- Then click "Widgets"
- Make sure you have a "Text" widget available in your available widget area (most common is sidebar) or add one
- Enter "UserPath plugin" as the title
- Paste your UserPath code into the "Content" box
- Click the "save" button
- Sign in to your Shopify account
- On the left hand menu click "Online Store"
- Then click "Themes" at the top
- Click the three dots "..."
- Then click "Edit HTML/CSS"
- Next scroll in sidebar with the folders/files that end with .liquid until you see "Snippets"
- Click that folder name
- Click the "Add New Snippet" link
- Enter "userpath.liquid" in the popup box
- Paste your UserPath code into the textarea
- Click the "save" button
- Sign in to your Weebly account
- Click "Edit Site" for the site you'd like to add UserPath too
- Drag and drop an "Embed Code" element
- Click to set Custom HTML
- Paste your UserPath code into the editor
- Click out of the editor - it saves automatically
- Sign in to your SquareSpace account
- Start editing the site you want to add UserPath too
- In the left bar click "Settings"
- Scroll down to the "Website" section and click "Advanced"
- Then click "Code Injection"
- Scroll down to the text box titled "FOOTER"
- Paste your UserPath code into the editor
- Click "Save" at the top
- Open your text editor of choice
- Paste your UserPath code on every page or if using a template engine, just drop it in the master layout
- It should go right before the
</body>end tag.
Coming soonish... Want it sooner? Email us!
Coming soonish... Want it sooner? Email us!
Coming soonish... Want it sooner? Email us!
Coming soonish... Want it sooner? Email us!
If you're trying to use the drop-in layout so you can place the app download form where ever you want on your page, then you must place the snippet provided to you in the HTML, like so:
<!-- begin UserPath embed code -->
<script type="text/javascript" src="//alpha.userpath.co/w/get/ability.js"></script>
<!-- end UserPath embed code -->
<div class="userpath-plug-f4a1aedz66"></div> <!-- place this where you want the form to show up -->If you'd like to place the form in more than one place on the same page, simply copy the line with the div tag and place it multiple times in your HTML where ever you would like it to appear. For instance, say you have a header, a main section, a download section and footer. Let's say you want to have your App Download widget in the header and the download section and this is your HTML:
<!DOCTYPE html>
<html>
<head>
<title>My App Homepage</title>
</head>
<body>
<header>
<button>Download for iOS</button>
<button>Download for Android</button>
</header>
<section id="main">
<ul>
<li>It's free</li>
<li>It's live streaming</li>
<li>It's social</li>
<li>It's local</li>
<li>It's viral</li>
<li>It's gamified</li>
</ul>
</section>
<section id="download">
<button>Download for iOS</button>
<button>Download for Android</button>
</section>
<footer>
<p>© 2016 My App Homepage</p>
<a href="#">about</a>
<a href="#">contact</a>
</footer>
</body>
</html>You would simply add the script tag to the bottom, like so:
<!DOCTYPE html>
<html>
<head>
<title>My App Homepage</title>
</head>
<body>
... <!-- your code above this -->
<!-- begin UserPath embed code -->
<script type="text/javascript" src="//app.userpath.co/w/get/f4a1aedz66.js"></script>
<!-- end UserPath embed code -->
</body>
</html>and finally, drop the divs in the appropriate sections (header and download) like this:
<!DOCTYPE html>
<html>
<head>
<title>My App Homepage</title>
</head>
<body>
<header>
...
<div class="userpath-plug-f4a1aedz66"></div> <!-- place this where you want the form to show up -->
</header>
<section id="main">
<ul>
...
</ul>
</section>
<section id="download">
<div class="userpath-plug-f4a1aedz66"></div> <!-- place this where you want the form to show up -->
...
</section>
<footer>
...
</footer>
<!-- begin UserPath embed code -->
<script type="text/javascript" src="//app.userpath.co/w/get/f4a1aedz66.js"></script>
<!-- end UserPath embed code -->
</body>
</html>





