Integrate Analytics Triggers with Adobe I/O Events
These instructions describe how to use Adobe Analytics triggers to notify you of Adobe I/O events, including the behavior of your site’s users. Follow the instructions below to try the solution yourself.
Introduction
What are Triggers?
Triggers is an Experience Cloud Activation core service that enables marketers to identify, define, and monitor key consumer behaviors, and then generate cross-solution communication to re-engage visitors. Triggers uses Adobe Analytics as the data source for consumer behavior. For more information on triggers, see the Triggers Help Page.
Before setting up and using Adobe I/O, you will need to do the following:
Obtain product authorization
To complete this solution, you will need authorization to use the following services:
- Adobe Analytics, including Triggers
- Adobe Campaign
- Adobe Experience Cloud Activation Core Services
- An Adobe ID, if you do not have one already
Obtain administrative permissions
You will also need administrative permissions for the following:
- Adobe Analytics
- Your enterprise organization
If you do not have administrative permissions, please contact your Adobe System Administrator. After requesting administrative permissions, watch for an email from Adobe Systems Incorporated, as shown:
Set up products
To set up Analytics Triggers:
Get product access through Adobe Admin Console
To get access through the Adobe Admin Console:
Sign into the console by clicking the Sign in button on the administrator rights email you received from Adobe and then providing your credentials.
On the main screen of the Admin Console, select Products.
On the Products page of the console, verify that your requested products have been added to the site and then select the Adobe Analytics icon.
Select the Details links and do the following:
Verify that Triggers appears in the Inclued Services section.
To give permissions to users who want access to Adobe services in the cloud:
Select User management and then select Users.
Select the user’s name.
For the user’s Access and rights, provide Product Access and Admin Rights from the drop-down for the available products and services.
Specify a new trigger
You can specify triggers for many events on your site. This example will set notifications to be sent when carts are abandoned: set a trigger for sessions when the user visits either a cart.html, checkout.html or order.html page, but never reaches the thank-you.html page within a ten minute session. The trigger indicates that the user added products to the cart, and was about to make a purchase, but later decided otherwise, or forgot to complete the purchase.
To specify a new trigger:
On the Experience Cloud home page, select the Apps icon, and then select Activation.
In the Web Activation section, select the Triggers option.
On the Triggers page, select the New Triggers button, and then choose Abandonment.
On the New Trigger box, specify a Name and provide a Description for your trigger. Select the Report Suite that contains the Adobe Analytics data you want to trigger from.
On the Triggers Settings page, define the business rules for your trigger. You can drag a dimension/metric box from the left panel to the right side of the screen and then specify the business rules for what must happen and what must not happen in a session. In this case, set the trigger to fire after 10 minutes of inactivity after the rules are met.
Save your changes.
Once you save the trigger, any event in your report suite that meets the defined business rules criteria will cause a trigger to fire. You can view the status of triggers on the Triggers page.
Use Adobe Developer Console
Integrations are created as part of a project within Adobe Developer Console. This requires you to have access to Console in order to create a project, add events to your project, configure the events, and register your webhook.
For detailed instructions on completing these steps, please begin by reading the Adobe Developer Console Getting Started guide.
When you are ready to add events to your project follow the steps provided, making sure to select Analytics Triggers.
Once you have completed the event registration, you will be taken to the Registration Details page where you will be able to see the details of your new registration.
For more information, read the Introduction to Webhooks.
The following image shows an example of an event registration using Creative Cloud Libraries. Results for Adobe Analytics will be similar.
Watch the solution work
Your enterprise may have its own tool that you can use to subscribe and listen to webhook events. Alternatively, you can use the following procedure to set up notifications with Slack.
To watch your trigger work on Slack:
Clone the repository and follow the setup described on https://github.com/hirenshah111/webhook_server.
Modify the Slack details in webhook_server/public/javascripts/app.js according to how you want to see the notifications.
Run the application and create a triggers2 listener, then select Connect.
Trigger messages are received as POST
requests on this thread.