{"id":114640,"date":"2020-04-20T00:59:14","date_gmt":"2020-04-20T00:59:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-active-campaign-api\/"},"modified":"2020-04-20T15:13:12","modified_gmt":"2020-04-20T15:13:12","slug":"wp-active-campaign-api","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-active-campaign-api\/","author":13741119,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.7.1","stable_tag":"trunk","tested":"5.4.19","requires":"","requires_php":"","requires_plugins":"","header_name":"WP2AC API","header_author":"Trumani","header_description":"Marketing automation plugin to automate customer acquisition, activation, retention, referrals and repeat sales","assets_banners_color":"","last_updated":"2020-04-20 15:13:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/campaignplugins.com\/downloads\/wp-activecampaign-api","header_author_uri":"https:\/\/trumani.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":446,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2287095","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2287095","resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"2287544","resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"2287544","resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"2287544","resolution":"3","location":"assets","locale":""}},"screenshots":[]},"plugin_section":[],"plugin_tags":[993],"plugin_category":[],"plugin_contributors":[159892],"plugin_business_model":[],"class_list":["post-114640","plugin","type-plugin","status-closed","hentry","plugin_tags-activecampaign","plugin_contributors-trumani","plugin_committers-trumani"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-active-campaign-api.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-active-campaign-api\/assets\/screenshot-1.jpg?rev=2287544","caption":""},{"src":"https:\/\/ps.w.org\/wp-active-campaign-api\/assets\/screenshot-2.jpg?rev=2287544","caption":""},{"src":"https:\/\/ps.w.org\/wp-active-campaign-api\/assets\/screenshot-3.jpg?rev=2287544","caption":""}],"raw_content":"<!--section=description-->\n<p>The WP ActiveCampaign API plugin integrates with Active Campaign's API which utilizes the site and event tracking and serves as a base plugin for other plugins, including our MemberMouse connector.<\/p>\n\n<h3>Requirements <\/h3>\n\n<ul>\n<li>Site Tracking and Event Tracking are enabled<\/li>\n<li>Active Campaign Url<\/li>\n<li>API Key<\/li>\n<li>Event Key<\/li>\n<li>Event ID<\/li>\n<li>Domain being whitelisted<\/li>\n<\/ul>\n\n<p><em>All of this can be manage from your site tracking and event tracking page. Which is under integration\u2014 in the sidebar's other option.<\/em><\/p>\n\n<h3>Identifying Users<\/h3>\n\n<p>In order to associate page visits and events with contacts in ActiveCampaign as soon as possible simply include the email parameter in links to your website or on thank you pages.<\/p>\n\n<p>In the case of a visit by email:\nyoursite.com\/?email=%EMAIL%<\/p>\n\n<p>Or you can pass it immediately upon subscription to your thank you page yoursite.com\/thank-you\/?email=%EMAIL%<\/p>\n\n<p>I do both so that I can make sure I\u2019m tracking users.<\/p>\n\n<p>Once you do this the plugin will create a cookie for that visitor and that cookie can be used later by our other plugins (or by yours!) for a variety of things.<\/p>\n\n<h3>Creating Events<\/h3>\n\n<p>We wanted to make tracking events on a page really easy so we added this function to the WP2AC plugin:<\/p>\n\n<p>ac_events('event','value').<\/p>\n\n<p>This makes adding events to link or button clicks or anywhere else that you can use javascript really easy.<\/p>\n\n<p>For example if you wanted to track an event when someone clicks on a link<\/p>\n\n<p>onclick=\"ac_events('Event','Value');\"<\/p>\n\n<p>You can also use this in other places like to track video actions which is something we do with Wistia in the following example.<\/p>\n\n<p>In this example we fire the event \u201cWatched 60 Seconds!\u201d with the value \u201cWhat a guy\u201d when the user has watched 60 seconds of a video.<\/p>\n\n\nwindow._wq = window._wq || [];\n\nwistiaEmbed.bind(\"secondchange\", function (s) {\n  if(s === 60) {\n    ac_events('Watched 60 seconds!', 'What a guy');\n  }\n});\n\n\n<p>Anywhere you can use Javascript you can use \u201cac_events();\u201d<\/p>\n\n<p>Premium Options<\/p>","raw_excerpt":"Stop WordPress Spam dead in its tracks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/114640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=114640"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/trumani"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=114640"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=114640"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=114640"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=114640"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=114640"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=114640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}