To add Obsidesk to WordPress, paste the script tag into the site header, either through a header-scripts plugin or your theme's header file. You get visitors, sources, signups and, with a revenue source connected, revenue by landing page.
What you get
- Visitors, posts, referrers and campaigns
- Signups from forms with an email field
- Revenue per blog post or landing page
- Stripe Payment Link attribution
- Cookieless tracking
Set it up
- 1Create your account and add your domain
Sign up, add the domain you want to track and copy your site ID from Settings. Every plan has a 14-day money-back guarantee; there is no free trial.
- 2Choose where to paste
Easiest: a plugin that inserts code in the header, such as WPCode. Or add the tag to your theme's
header.phpbeforewp_head(); use a child theme so updates do not erase it. - 3Paste the script
Add it to the site-wide header.
<script defer src="https://obsidesk.com/script.js" data-site="YOUR_SITE_ID"></script>
- 4Clear caches and check
Purge your page cache, then: open your site in a normal browser window and check that the visit appears in the live view. Visits on localhost are not counted unless you add
data-allow-localhost, and your own visits can be excluded by opening#obsidesk-ignoreonce.
Blogs that sell
Content sites usually know which posts get traffic and nothing about which posts get customers. With a revenue source connected you see revenue per landing page. Pair it with Search Console for keyword-level data.
Logged-in editors
Open #obsidesk-ignore on your site once per browser to exclude your own visits.
FAQ
How do I add analytics to WordPress without a plugin?
Paste the Obsidesk script into your child theme's header.php before wp_head().
Does it need cookies or a consent banner?
It sets no cookies. See the cookieless analytics guide for what that means in practice.
Can I track WooCommerce orders?
Not as orders. WooCommerce is not a supported revenue source; you get traffic and signups, and revenue only for sources Obsidesk connects to.
Works with
Connect WordPress in about a minute.
14-day money-back guarantee. Installed in 30 seconds. Read-only revenue connections.