Skip to main content

How to Use Marker.io with Two Separate Accounts

More than one Marker.io account? Read this!

Joe Scanlon avatar
Written by Joe Scanlon
Updated yesterday

Need to collect feedback from two different groups β€” like your internal team and an external agency? You can use a single script to route users to the right Marker.io account using URL parameters.

Why Use Two Accounts?

  • Keep internal vs. external feedback separate

  • Route reports to the correct team

  • Avoid clutter and confusion


Setup Instructions

Add the Script

Insert this script in your site’s <head>. Replace the project IDs with your actual Marker.io project IDs:

<script>
function getProjectId() {
const urlParams = new URLSearchParams(window.location.search);
let projectId = null;

if (urlParams.has('agency')) {
// Replace with your agency ID
projectId = 'YOUR_AGENCY_PROJECT_ID';
} else if (urlParams.has('internal')) {
// Replace with your internal ID
projectId = 'YOUR_INTERNAL_PROJECT_ID';
}

if (projectId) {
localStorage.setItem('markerProjectId', projectId);
} else {
projectId = localStorage.getItem('markerProjectId');
}

return projectId;
}

const projectId = getProjectId();
if (projectId) {
window.markerConfig = {
project: projectId,
source: 'snippet'
};
}
</script>
<script async src="https://edge.marker.io/latest/shim.js"></script>


How It Works

  • Append ?agency or ?internal to your URLs

  • The script loads the correct project and remembers it across pages

  • No parameter? Marker.io won't load

Examples:

  • https://example.com/?agency β†’ Agency feedback

  • https://example.com/?internal β†’ Internal team feedback


Customize the Widget

Use clear labels and colors to show which account is active:

Account

Label

Color

Agency

Agency Feedback

Red

Internal

Internal Feedback

Blue

Customize this under Project Settings > Widget > Appearance in Marker.io.

Did this answer your question?