@mosierdata/emdash-plugin-analytics 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +298 -0
- package/dist/admin.d.mts +21 -0
- package/dist/admin.d.mts.map +1 -0
- package/dist/admin.mjs +1545 -0
- package/dist/admin.mjs.map +1 -0
- package/dist/descriptor.d.mts +11 -0
- package/dist/descriptor.d.mts.map +1 -0
- package/dist/descriptor.mjs +35 -0
- package/dist/descriptor.mjs.map +1 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +683 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +54 -0
- package/patches/emdash+0.1.0.patch +153 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MosierData
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/banner.svg" alt="EmDash Analytics Plugin — tag management, tracking pixels, analytics, and call tracking for EmDash CMS by ROI Insights from MosierData" width="100%" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# EmDash Analytics Plugin
|
|
6
|
+
|
|
7
|
+
**Tag management, tracking pixels, analytics, and call tracking for EmDash CMS — provided by [ROI Insights](https://roiknowledge.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) from [MosierData](https://mosierdata.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics).**
|
|
8
|
+
|
|
9
|
+
Native one-toggle setup for Google Tag Manager, GA4, Meta Pixel, LinkedIn, TikTok, Microsoft Ads, Pinterest, and Nextdoor — plus call tracking, custom script injection, and an embedded analytics dashboard.
|
|
10
|
+
|
|
11
|
+
Core features are completely free — just register for a free license key (no credit card required). Premium upgrades are available when you're ready for AI-powered call analysis, lead scoring, and advanced attribution.
|
|
12
|
+
|
|
13
|
+
[](LICENSE)
|
|
14
|
+
[](https://github.com/emdash-cms/emdash)
|
|
15
|
+
[](https://www.typescriptlang.org/)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## The Problem
|
|
20
|
+
|
|
21
|
+
You just launched your EmDash site. You need Google Analytics. You need your Meta Pixel. Maybe you're running Google Ads and need Tag Manager wired up. You go looking for a way to add tracking scripts — and there isn't one. EmDash is brand new, and tag management, analytics integration, and call tracking simply aren't built in yet.
|
|
22
|
+
|
|
23
|
+
If you're spending money on marketing, that's not a minor inconvenience. Every day without tracking is a day you're paying for traffic you can't measure.
|
|
24
|
+
|
|
25
|
+
## The Fix
|
|
26
|
+
|
|
27
|
+
Install this plugin. In about 60 seconds, you'll have Google Tag Manager injecting into your `<head>` and `<body>`, Google Analytics 4 connected via one-click OAuth, and native toggles for six major ad platforms — Meta, LinkedIn, TikTok, Microsoft, Pinterest, and Nextdoor — each with built-in setup guides so you never have to leave your admin panel.
|
|
28
|
+
|
|
29
|
+
And if your business depends on phone calls, you can provision a call tracking number right from your EmDash admin. No separate vendor accounts. No code. Just a tracking number that tells you exactly which ad, campaign, or page made the phone ring.
|
|
30
|
+
|
|
31
|
+
**That's what this plugin does. And the core of it is free.**
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
<img src="assets/section-free.svg" alt="What's included for free" width="100%" />
|
|
36
|
+
|
|
37
|
+
## What's Included for Free
|
|
38
|
+
|
|
39
|
+
This isn't a demo and it doesn't expire. These features are yours to keep.
|
|
40
|
+
|
|
41
|
+
### Google Tag Manager Injection
|
|
42
|
+
Enter your GTM container ID and the plugin handles the rest — `<head>` script, `<body>` noscript fallback, automatic injection on every page. **You get proper tag management on your EmDash site** without editing a single template file.
|
|
43
|
+
|
|
44
|
+
### Google Analytics 4 (Native Toggle)
|
|
45
|
+
Enable GA4 with a single toggle and your Measurement ID — the plugin handles the script injection automatically. Then connect your GA4 property through one-click Google OAuth to see **sessions, active users, traffic sources, and lead data** right inside your EmDash admin. No more logging into a separate analytics dashboard just to check if your traffic went up.
|
|
46
|
+
|
|
47
|
+
### Google Search Console Connection
|
|
48
|
+
Link your Search Console property the same way. **You get clicks, impressions, CTR, and average position** for your top queries and pages, all in one dashboard alongside your other metrics.
|
|
49
|
+
|
|
50
|
+
### Native Ad Platform Tracking Pixels
|
|
51
|
+
Six major advertising platforms have dedicated toggles with built-in setup guides — no code, no copy-paste, no guessing which script goes where:
|
|
52
|
+
|
|
53
|
+
| Platform | What It Does |
|
|
54
|
+
|----------|-------------|
|
|
55
|
+
| **Meta (Facebook) Pixel** | Tracks conversions from Facebook and Instagram ads, builds retargeting audiences from your visitors, and helps Meta find more people like your best customers |
|
|
56
|
+
| **LinkedIn Insight Tag** | Measures conversions from LinkedIn ads and unlocks Website Demographics — see the job titles, industries, and company sizes of your visitors. Essential for B2B |
|
|
57
|
+
| **TikTok Pixel** | Tracks conversions from TikTok ads and lets the algorithm optimize toward people who actually become leads — not just clickers |
|
|
58
|
+
| **Microsoft (Bing) UET Tag** | Enables conversion tracking and remarketing for Microsoft Advertising across Bing, Yahoo, DuckDuckGo, and partner sites. Often the cheapest cost-per-lead in paid search |
|
|
59
|
+
| **Pinterest Tag** | Tracks conversions from Promoted Pins and builds audiences for Pinterest campaigns. Especially valuable for visual businesses (renovation, landscaping, design) |
|
|
60
|
+
| **Nextdoor Pixel** | Tracks conversions from Nextdoor neighborhood ads — hyper-local targeting for home services, contractors, and any business that serves a specific area |
|
|
61
|
+
|
|
62
|
+
Each platform includes an expandable help panel explaining what the pixel does, why you'd use it, when to skip it (e.g., if you're already loading it through GTM), and step-by-step instructions for finding your tracking ID.
|
|
63
|
+
|
|
64
|
+
### Header & Footer Script Injection
|
|
65
|
+
Running a platform we don't have a native toggle for? Hotjar, Clarity, CallRail, or anything else? Paste the snippet into the header or footer code fields. **If it's a tracking script, you can add it here** — no developer required.
|
|
66
|
+
|
|
67
|
+
### Call Tracking
|
|
68
|
+
Provision a local or toll-free tracking number directly from your EmDash admin panel. Calls forward to your real business number instantly. **You know exactly which marketing channel, campaign, or keyword drove each call** — no guessing, no asking "how'd you hear about us?"
|
|
69
|
+
|
|
70
|
+
### Basic Call Log
|
|
71
|
+
Every inbound call is logged with caller ID, duration, timestamp, and the attributed marketing source. **You get a clean record of every lead that came in by phone** and what brought them there.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
<img src="assets/section-premium.svg" alt="Premium upgrades" width="100%" />
|
|
76
|
+
|
|
77
|
+
## Premium Upgrades (Optional)
|
|
78
|
+
|
|
79
|
+
The free tier stays free forever. Paid tiers add AI-powered intelligence and deeper attribution for businesses that want to know more than just *that* a lead came in — they want to know whether it was any good.
|
|
80
|
+
|
|
81
|
+
| Feature | Free | Professional | Business |
|
|
82
|
+
|---------|:----:|:------------:|:--------:|
|
|
83
|
+
| | | **$39.95/mo** | **$199/mo** |
|
|
84
|
+
| GTM injection | ✅ | ✅ | ✅ |
|
|
85
|
+
| GA4 + Search Console | ✅ | ✅ | ✅ |
|
|
86
|
+
| Native ad pixels (Meta, LinkedIn, TikTok, Bing, Pinterest, Nextdoor) | ✅ | ✅ | ✅ |
|
|
87
|
+
| Header/footer scripts | ✅ | ✅ | ✅ |
|
|
88
|
+
| Call tracking provisioning | ✅ | ✅ | ✅ |
|
|
89
|
+
| Basic call log | ✅ | ✅ | ✅ |
|
|
90
|
+
| Call tracking rate (per number/month) | $15.00 | $9.00 | $6.00 |
|
|
91
|
+
| Call tracking rate (per minute) | $0.25 | $0.15 | $0.10 |
|
|
92
|
+
| AI weekly executive summary | — | ✅ | ✅ |
|
|
93
|
+
| Call audio recording | — | ✅ | ✅ |
|
|
94
|
+
| AI call transcription & scoring | — | ✅ | ✅ |
|
|
95
|
+
| Advanced UTM attribution | — | ✅ | ✅ |
|
|
96
|
+
| Ads Advisor (24/7 spend watchdog) | — | — | ✅ |
|
|
97
|
+
| Custom reporting | — | — | ✅ |
|
|
98
|
+
| MCP AI agent access | — | — | ✅ |
|
|
99
|
+
|
|
100
|
+
**Professional ($39.95/mo)** is built for businesses running paid ads. You get a weekly AI executive summary that tells you what's working, full call transcription and lead scoring, and lower call tracking rates. For a lot of businesses, the savings on call tracking alone covers the subscription — see the math below.
|
|
101
|
+
|
|
102
|
+
**Business ($199/mo)** is for high-volume advertisers and agencies. The Ads Advisor watches your Google Ads spend around the clock — alerting you to budget overruns, underperforming campaigns, and automated bidding changes that are quietly costing you money. You also get the lowest call tracking rates, custom reporting, and MCP AI agent access to query your marketing data programmatically.
|
|
103
|
+
|
|
104
|
+
**Founder's Club ($4,495 one-time)** — Lifetime access to Business tier features, available as a limited-time offer for early adopters. See [ROI Insights](https://roiknowledge.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) for availability.
|
|
105
|
+
|
|
106
|
+
### Does upgrading actually save money?
|
|
107
|
+
|
|
108
|
+
It can — and often does. Because call tracking rates drop with higher tiers, the subscription frequently pays for itself in reduced telecom costs alone.
|
|
109
|
+
|
|
110
|
+
**Small business running 120 calls/month (avg. 3 min each, 1 tracking number):**
|
|
111
|
+
|
|
112
|
+
| | Platform | Number | Minutes | Monthly Total |
|
|
113
|
+
|--|:--------:|:------:|:-------:|:-------------:|
|
|
114
|
+
| Free | $0 | $15.00 | $90.00 | **$105.00** |
|
|
115
|
+
| Professional | $39.95 | $9.00 | $54.00 | **$102.95** |
|
|
116
|
+
|
|
117
|
+
At 120 calls a month, Professional is cheaper than Free — and includes AI transcription, lead scoring, and weekly reports.
|
|
118
|
+
|
|
119
|
+
**Agency running 15 numbers, 3,000 minutes/month:**
|
|
120
|
+
|
|
121
|
+
| | Platform | Numbers | Minutes | Monthly Total |
|
|
122
|
+
|--|:--------:|:-------:|:-------:|:-------------:|
|
|
123
|
+
| Professional | $39.95 | $135.00 | $450.00 | **$624.95** |
|
|
124
|
+
| Business | $199.00 | $90.00 | $300.00 | **$589.00** |
|
|
125
|
+
|
|
126
|
+
The jump from Professional to Business saves $35/month in telecom costs alone, plus adds the Ads Advisor and custom reporting.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
<img src="assets/section-quickstart.svg" alt="Quick start" width="100%" />
|
|
131
|
+
|
|
132
|
+
## Quick Start
|
|
133
|
+
|
|
134
|
+
### Step 1 — Install the Plugin
|
|
135
|
+
|
|
136
|
+
From your EmDash project directory, install the package:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
npm install @mosierdata/emdash-plugin-analytics
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### EmDash 0.1.x — Apply the KV Patch
|
|
143
|
+
|
|
144
|
+
If you're running EmDash **0.1.x**, the analytics plugin requires KV helpers (`getRaw`, `commitIfValueUnchanged`) that aren't in the stock release yet. Apply the included patch at **your site's repo root** (not inside the plugin):
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
npm install patch-package --save
|
|
148
|
+
mkdir -p patches
|
|
149
|
+
cp node_modules/@mosierdata/emdash-plugin-analytics/patches/emdash+0.1.0.patch patches/
|
|
150
|
+
npx patch-package
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Then add a `postinstall` script to your site's `package.json` so the patch re-applies on every install:
|
|
154
|
+
|
|
155
|
+
```json
|
|
156
|
+
"scripts": {
|
|
157
|
+
"postinstall": "patch-package"
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
> This step won't be needed once EmDash ships these KV APIs natively. See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for details.
|
|
162
|
+
|
|
163
|
+
### Step 2 — Register the Plugin
|
|
164
|
+
|
|
165
|
+
Add the plugin to your `astro.config.mjs`:
|
|
166
|
+
|
|
167
|
+
```js
|
|
168
|
+
import { defineConfig } from "astro/config";
|
|
169
|
+
import emdash from "emdash/astro";
|
|
170
|
+
import roiInsights from "@mosierdata/emdash-plugin-analytics/descriptor";
|
|
171
|
+
|
|
172
|
+
export default defineConfig({
|
|
173
|
+
integrations: [
|
|
174
|
+
emdash({
|
|
175
|
+
plugins: [roiInsights()],
|
|
176
|
+
}),
|
|
177
|
+
],
|
|
178
|
+
});
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Step 3 — Deploy and Configure
|
|
182
|
+
|
|
183
|
+
Build and deploy your site, then open the EmDash admin panel. The plugin adds three tabs:
|
|
184
|
+
|
|
185
|
+
| Tab | What You'll Do There |
|
|
186
|
+
|-----|---------------------|
|
|
187
|
+
| **License & Google** | Enter your license key (required — free keys are available), connect Google Analytics and Search Console via OAuth |
|
|
188
|
+
| **Tracking Pixels** | Enable/disable GTM, GA4, Meta Pixel, LinkedIn, TikTok, Microsoft UET, Pinterest, and Nextdoor — each with a simple toggle and ID field |
|
|
189
|
+
| **Marketing ROI** | View your embedded analytics dashboard (GA4 traffic, Search Console data, call tracking) |
|
|
190
|
+
|
|
191
|
+
**Minimum setup (under 60 seconds):**
|
|
192
|
+
|
|
193
|
+
1. Go to **License & Google** — enter your license key and click **Activate**. Every account needs a key, including the free tier — [get one here](https://roiknowledge.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) if you don't have one yet
|
|
194
|
+
2. Still on **License & Google** — click **Connect Google Services** to link GA4 and Search Console via OAuth
|
|
195
|
+
3. Go to **Tracking Pixels** — toggle on Google Tag Manager, paste your GTM container ID (e.g., `GTM-XXXXXXX`), and hit **Save**
|
|
196
|
+
4. (Optional) Enable any additional ad platform pixels you're running — Meta, LinkedIn, TikTok, etc.
|
|
197
|
+
|
|
198
|
+
That's it. Your tracking is live on every page.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
<img src="assets/section-howitworks.svg" alt="How it works" width="100%" />
|
|
203
|
+
|
|
204
|
+
## How It Works
|
|
205
|
+
|
|
206
|
+
The plugin is a lightweight TypeScript package that runs inside EmDash's sandboxed plugin environment on Cloudflare Workers. All the heavy lifting — Google OAuth, call tracking provisioning, AI analysis, billing — happens on a secure backend. The only sensitive value stored locally is your license key (in EmDash's KV store, marked as a `secret` field). Google OAuth tokens are held server-side — they never touch your site's storage.
|
|
207
|
+
|
|
208
|
+
**Your tracking never breaks.** If our backend is temporarily unreachable, your tracking scripts keep running from cache. No analytics data is lost. We built it this way because a single day of broken tracking can mean missed leads and wasted ad spend you'll never recover.
|
|
209
|
+
|
|
210
|
+
**Your data stays yours.** Google connections are made through your own Google account. If you ever uninstall, your Analytics and Search Console data stay exactly where they are — in your accounts, untouched. We don't hold anything hostage.
|
|
211
|
+
|
|
212
|
+
**Sandboxed and auditable.** The plugin is fully compatible with EmDash's V8 sandboxed plugin isolates. No filesystem access, no arbitrary network calls. Every line of code is open source and inspectable.
|
|
213
|
+
|
|
214
|
+
### How call tracking credits work
|
|
215
|
+
|
|
216
|
+
Call tracking runs on a prepaid credit system, billed separately from the platform subscription. You purchase credit packages ($10–$250), and credits are deducted based on your active tracking numbers and inbound call minutes. Credits never expire while your account is active.
|
|
217
|
+
|
|
218
|
+
You can enable auto-recharge so your balance stays topped up automatically — no lead is ever lost to a disconnected number because you forgot to buy credits.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## About EmDash
|
|
223
|
+
|
|
224
|
+
New to EmDash? Here's the short version: [EmDash](https://github.com/emdash-cms/emdash) is a full-stack TypeScript CMS built on Astro by Cloudflare. It's open source (MIT license), serverless, and designed to be the modern alternative to WordPress.
|
|
225
|
+
|
|
226
|
+
It launched in April 2026 — which means the ecosystem is young and growing fast. Some things you'd expect from a mature CMS aren't built in yet. Tag management, analytics, and call tracking are three of them. That's exactly why this plugin exists.
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
<img src="assets/section-faq.svg" alt="Frequently asked questions" width="100%" />
|
|
231
|
+
|
|
232
|
+
## FAQ
|
|
233
|
+
|
|
234
|
+
### Is this really free?
|
|
235
|
+
|
|
236
|
+
Yes — genuinely free, not "free for 14 days." You do need a license key (even for the free tier), but getting one takes about 30 seconds and doesn't require a credit card. The free tier gives you GTM injection, GA4 and Search Console connections, native toggles for six ad platforms, header/footer script injection, call tracking provisioning, and a basic call log.
|
|
237
|
+
|
|
238
|
+
Paid tiers add AI transcription, lead scoring, call recording, advanced attribution, and the Ads Advisor — but the core tracking infrastructure works perfectly without them.
|
|
239
|
+
|
|
240
|
+
### Do I need a Google Tag Manager account?
|
|
241
|
+
|
|
242
|
+
Nope. GTM injection is just one of the things this plugin does. You can use it purely for Google Analytics and Search Console connections, or just for header/footer script injection, without ever setting up GTM.
|
|
243
|
+
|
|
244
|
+
### How does call tracking billing work?
|
|
245
|
+
|
|
246
|
+
Call tracking runs on a prepaid credit system, separate from your platform subscription. You buy credit packages ($10–$250), credits are deducted based on active numbers and call minutes, and they never expire while your account is active. Enable auto-recharge and you'll never have to think about it.
|
|
247
|
+
|
|
248
|
+
### Can I use this alongside other EmDash plugins?
|
|
249
|
+
|
|
250
|
+
Absolutely. The plugin uses EmDash's standard `page:fragments` hook to inject tracking scripts. It plays nicely with anything else you've installed.
|
|
251
|
+
|
|
252
|
+
### What happens if I cancel a paid subscription?
|
|
253
|
+
|
|
254
|
+
Your GTM injection, header/footer scripts, and Google connections keep working — you just drop back to the free tier. AI-powered features (transcription, lead scoring, recording) are disabled, but your tracking never breaks. We designed it that way on purpose.
|
|
255
|
+
|
|
256
|
+
### I'm not technical. Can I still use this?
|
|
257
|
+
|
|
258
|
+
Yes. If you can paste a GTM container ID and click a "Connect" button, you can set up this plugin. The entire configuration happens through a visual settings panel inside your EmDash admin — no config files, no command line, no code. If you're coming from WordPress, this will feel familiar.
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## For Developers
|
|
263
|
+
|
|
264
|
+
### Tech Stack
|
|
265
|
+
- **Plugin:** TypeScript, EmDash Plugin SDK
|
|
266
|
+
- **Admin UI:** React 18 — tracking settings, license/OAuth, and an embedded analytics dashboard
|
|
267
|
+
- **Tracking injection:** `page:fragments` hook — typed `PageFragmentContribution` objects for `head`, `body:start`, and `body:end` zones
|
|
268
|
+
- **Settings storage:** EmDash KV with compare-and-swap (CAS) for atomic saves
|
|
269
|
+
- **Dashboard:** Embedded iframe from the ROI Insights platform
|
|
270
|
+
|
|
271
|
+
### Plugin Capabilities
|
|
272
|
+
|
|
273
|
+
The plugin declares only the permissions it needs. It communicates with a single external host (`api.roiknowledge.com`) for license validation and Google OAuth, and never makes direct calls to analytics providers or payment processors. All tracking pixels are injected client-side via page fragments.
|
|
274
|
+
|
|
275
|
+
```js
|
|
276
|
+
{
|
|
277
|
+
capabilities: ['network:fetch'],
|
|
278
|
+
allowedHosts: ['api.roiknowledge.com'],
|
|
279
|
+
}
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Contributing
|
|
283
|
+
|
|
284
|
+
We'd love your help making this better. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
## License
|
|
289
|
+
|
|
290
|
+
MIT — see [LICENSE](LICENSE) for details.
|
|
291
|
+
|
|
292
|
+
## Links
|
|
293
|
+
|
|
294
|
+
- [ROI Insights](https://roiknowledge.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) — Our marketing intelligence platform
|
|
295
|
+
- [Docs & Knowledge Library](https://roiknowledge.com/library?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) — Setup guides and reference
|
|
296
|
+
- [EmDash CMS](https://github.com/emdash-cms/emdash) — The CMS this plugin is built for
|
|
297
|
+
- [MosierData](https://mosierdata.com/?utm_source=github&utm_medium=referral&utm_campaign=emdash-analytics) — The team behind ROI Insights
|
|
298
|
+
- [Report an Issue](https://github.com/MosierData/emdash-plugin-analytics/issues) — Found a bug? Let us know
|
package/dist/admin.d.mts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/admin/Dashboard.d.ts
|
|
4
|
+
declare function AdminDashboard(): react_jsx_runtime0.JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/admin/Settings.d.ts
|
|
7
|
+
declare function SettingsPage(): react_jsx_runtime0.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/admin/TrackingSettings.d.ts
|
|
10
|
+
declare function TrackingSettingsAdmin(): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/admin.d.ts
|
|
13
|
+
declare const pages: {
|
|
14
|
+
'/dashboard': typeof AdminDashboard;
|
|
15
|
+
'/settings': typeof SettingsPage;
|
|
16
|
+
'/tracking': typeof TrackingSettingsAdmin;
|
|
17
|
+
};
|
|
18
|
+
declare const widgets: {};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { pages, widgets };
|
|
21
|
+
//# sourceMappingURL=admin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin.d.mts","names":[],"sources":["../src/admin/Dashboard.tsx","../src/admin/Settings.tsx","../src/admin/TrackingSettings.tsx","../src/admin.tsx"],"mappings":";;;iBAMgB,cAAA,CAAA,GAAc,kBAAA,CAAA,GAAA,CAAA,OAAA;;;iBCFd,YAAA,CAAA,GAAY,kBAAA,CAAA,GAAA,CAAA,OAAA;;;iBCotCZ,qBAAA,CAAA,GAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;cC/sCxB,KAAA;;;;;cAMA,OAAA"}
|