Integrations
Integrations
External services that power the platform.
Edge & DNS
| Service | Purpose | Documentation |
|---|---|---|
| Cloudflare | DNS, TLS, Tunnels, Pages, Access | Primary edge layer |
Cloud Services
| Service | Purpose | Documentation |
|---|---|---|
| AWS | S3 storage, SES email | Object storage, transactional email |
| GCP | Google Cloud APIs | OAuth, various APIs |
Developer Tools
| Service | Purpose | Documentation |
|---|---|---|
| GitHub | Source control, CI/CD, GHCR | Code hosting, Actions, Container Registry |
| Stripe | Payments | Billing for SaaS products |
Platform Services
| Service | Purpose | Documentation |
|---|---|---|
| WHM | cPanel API | Account management, hosting |
| PostHog | Analytics | Product analytics (self-hosted) |
PostHog Analytics
Shared analytics platform for all app brands.
| Attribute | Value |
|---|---|
| URL | https://data.philoveracity.com |
| Type | Self-hosted (Podman) |
| Purpose | Multi-brand product analytics |
| Project API Key | phc_VJTJuEEcwsoV2ZWOWn7CivOsaOK92ZI9g9fynVcRoUZ |
| Project ID | 2 |
API Keys
| Key Type | Prefix | Use Case |
|---|---|---|
| Project API Key | phc_* | Client-side event capture (safe to expose) |
| Personal API Key | phx_* | Server-side admin operations (keep secret) |
Features
- Event Tracking — User actions, funnels, retention
- Feature Flags — A/B testing, gradual rollouts
- Session Recording — Visual debugging (opt-in)
- Dashboards — Per-brand and cross-brand analytics
Quick Integration
JavaScript (Frontend):
<script>!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);posthog.init('phc_VJTJuEEcwsoV2ZWOWn7CivOsaOK92ZI9g9fynVcRoUZ', { api_host: 'https://data.philoveracity.com', person_profiles: 'identified_only'})</script>Environment Variables (Server-side):
pvdify config:set myapp \ POSTHOG_HOST=https://data.philoveracity.com \ POSTHOG_KEY=phc_VJTJuEEcwsoV2ZWOWn7CivOsaOK92ZI9g9fynVcRoUZPython:
from posthog import Posthogposthog = Posthog('phc_VJTJuEEcwsoV2ZWOWn7CivOsaOK92ZI9g9fynVcRoUZ', host='https://data.philoveracity.com')posthog.capture('user_123', 'signup_completed')Node.js:
const { PostHog } = require('posthog-node')const posthog = new PostHog('phc_VJTJuEEcwsoV2ZWOWn7CivOsaOK92ZI9g9fynVcRoUZ', { host: 'https://data.philoveracity.com' })posthog.capture({ distinctId: 'user_123', event: 'signup_completed' })Multi-Brand Setup
Each brand/product gets its own PostHog project:
sendykit— SendyKit analyticswpuiai— WP UI AI analyticsasapdigest— ASAP Digest analyticspvdify— Platform analytics
Integration Architecture
┌─────────────────────────────────────────────────────────────┐│ Pvdify │└───────────────────────────┬─────────────────────────────────┘ │ ┌───────────────┬───────┼───────┬───────────────┐ ▼ ▼ ▼ ▼ ▼┌─────────┐ ┌─────────┐ ┌───────┐ ┌─────────┐ ┌─────────┐│Cloudflare│ │ GitHub │ │PostHog│ │ AWS │ │ Stripe ││DNS/TLS │ │CI/GHCR │ │Analytics│ │ S3/SES │ │Payments │└─────────┘ └─────────┘ └───────┘ └─────────┘ └─────────┘