Tracking a single URL
In some situations, you may want to trigger a workflow any time a single link is clicked in a campaign. If you're only tracking a single url, this can be done within the workflow trigger.
Simply use the checkbox for Filter on data fields, choose url, and then paste in the url of the link you wish to track.
Once you've done that, any user who clicks on that link from the specified campaign will enter the workflow.
Tracking Multiple URL's
In other cases, you may want to perform a different action depending on which link was clicked on in a specific campaign.
Below will list out the steps required to respond differently based on which url was clicked on in a campaign.
1 - Workflow Trigger
First, use the Clicked an Email trigger in a workflow. Then select the campaign you're interested in.
2 - Adding Filters
Create a filter node for each link in your campaign that you want to respond to.
For this example, here is what our campaign looks like:
- Link 1 goes to "https://www.google.com/?utm_source=Iterable&utm_campaign=82502&utm_medium=email"
- Link 2 goes to "https://www.sparkpost.com/?utm_source=Iterable&utm_campaign=82502&utm_medium=email"
- Link 3 goes to "https://medium.com/?utm_source=Iterable&utm_campaign=82502&utm_medium=email"
Within the Filter Node, choose Fields Match, then Email Click, then url, and paste in the url used in your campaign.
Note: If you use the "Contains" option, you don't have to include the entire url. If you use the "Equals" option, the url will have to match exactly to what gets clicked, including UTM parameters or other custom parameters.
After creating the Filter Nodes, your workflow will look something like this:
3 - Adding Actions
From here, select any further filter nodes or action nodes desired.
In this example, you can see how clicking on the 1st link would result in an Email being sent. If link 2 were clicked, an SMS would be sent, and if link 3 were clicked, a Push would be sent.