One of the many features in Salesforce Marketing Cloud that I love is the event details functionality. It’s so easy to use and it offers a wide range of customization options. In this blog post, I’ll show you how to add the event ID to the event details email.
Step one: The event ID is not auto-populated.
When sending event details emails, you must first populate the Event ID field or it will remain blank. To do this, navigate to the event in Salesforce and click on the Edit button in the upper right corner. You’ll see the event’s information in a pop-up window.
In this example, I’ll use the retail event, The Salesforce50 Winter Sales Event. You can click on the magnifying glass to see the event ID:
You’ll notice that it’s not automatically populated. To add the event ID to the event details email, click on the little “+Add Event ID” button. A new field will appear next to the Event Name and Location fields.
In this example, the Event Name is “The Salesforce50 Winter Sales Event” and the Event Location is “London”.
Notice how the Event ID field is grayed out and unavailable for editing? That’s because you’ve already added it to the event. When you’ve added an event’s ID to the event’s details, you can’t edit that event. You can, however, edit other aspects of the event in Salesforce.
Step two: The event details are not formatted correctly.
If you view the HTML source code for the event details email, you’ll see that it’s not formatted correctly. This is particularly bad if you’ve sent the email from a mobile device. On a mobile device, the code looks like this:
The problem is, in the above example, the <h1> tag is missing. This means it will not render correctly on mobile devices. In the event details pop-up window in Salesforce, you’ll also notice the same problem – the <h1> tag is missing. To correct this, either edit the email’s HTML on a desktop or mobile device or navigate to the event’s details in Salesforce and enter the <h1> tag in the header of the event’s details.
Step three: The unsubscribe link is missing.
If you email marketing analytics company, Maestro, and ask them about the event details email, they’ll tell you that the unsubscribe link is missing. What this means is that the person who subscribed to the email may not unsubscribe because they don’t know how or where to find the unsubscribe link.
To counter this, go to the event’s details in Salesforce and enter a generic unsubscribe link in the footer of the page. If you want, you can enter a specific link like this one for Mylittlescotchers: