Documentation
Everything you need to get Microlens up and running on your site.
Get started
Learn how to set up your project and get started with Microlens.
1
Copy your script
Go to your analytics dashboard. You will find your unique Microlens script there.
2
Paste it in your site
Copy the script and paste it right before the closing
</body> tag in your HTML.
3
Watch data flow in
Go to the dashboard page and check your analytics data in real time.
<!-- paste before </body> -->
<script src="https://micro-lens.gigalixirapp.com/events.js/" data-id="your-site-id" defer></script>
Exclude specific URLs
Exclude URLs you do not want to track from your analytics.
Go to your site's settings page. You can specify URL patterns to exclude using * and ** wildcards.
Single wildcard
/admin/*
Matches one path segment
Double wildcard
/admin/**
Matches all nested paths
You can find more examples on your site's settings page.