Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alquemie/cdp-analytics/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
CDP Analytics (Segment) for WordPress
Twilio Segment is the leading CDP utilized by over 20,000+ businesses. This plugin automates the implementation of Segment's Analytics.JS code snippet and provides additional support for tracking links and social sharing.
Installation
- Install this plugin in your WordPress wp-content/plugins folder
- Activate the plugin via the WordPress dashboard
- Create a new Website Javascript source from your Segment Dashboard
- Open the configuration page in WordPress under Settings -> Segment
- Copy the WriteKey from the Segment Dashboard into WordPress
Plugin Features
- Adds analytics.js to the site
- Adds analytics.page() call to all pages on the WP site (Segment default behavior)
- Ability to add 'Link Clicked' track call on external, download, mailto and tel links
- Ability to add 'Content Shared' track call on social share buttons
Change Log
v2.2.5
- Fixes to accordian tracking
v2.2.4
- Fixes to click tracking
v2.2.0
- Added campaign and ad click tracking
- Updated code to prevent library conflicts
v1.6.0
- Added Category, Tag tracking to AJS Page Context
v1.5.0
- JS Code refactor to WP coding standards
v1.3.0 - Full Refactor
- Code Cleanup
- Added Link Clicked event (external, mailto, tel)
- Added Content Shared event (social share links)
- Added Support for Addons
v1.0.0 - Initial Release
- Places analytics.js code in
<head>of all pages
Releases
5 releases.
Tag
Published
v2.3.1
latest
Feb 20, 2024 2 years ago
Feb 24, 2023 3 years ago
Feb 19, 2023 3 years ago
Feb 18, 2023 3 years ago
Dec 1, 2022 3 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.