feat(help-center): add more analytics integrations to portal settings

Adds Google Analytics 4, Hotjar, Plausible, Amplitude, Microsoft Clarity,
and Meta Pixel alongside Google Tag Manager. Provider IDs are stored in
portal config, validated against safe formats, and rendered as official
embed snippets on the public help center.
This commit is contained in:
Pranav
2026-07-22 18:26:25 -07:00
parent 2ed7394adc
commit 7d55725780
9 changed files with 256 additions and 40 deletions
@@ -173,7 +173,14 @@ RSpec.describe 'Api::V1::Accounts::Portals', type: :request do
],
'default_locale' => 'en',
'layout' => 'classic',
'social_profiles' => {}
'social_profiles' => {},
'gtm_container_id' => nil,
'ga4_measurement_id' => nil,
'hotjar_site_id' => nil,
'plausible_domain' => nil,
'amplitude_api_key' => nil,
'clarity_project_id' => nil,
'meta_pixel_id' => nil
}
)
end