Inserting analytics trackers in your designs
Splio can automatically add analytics URL parameters to links in your designs. This allows identifying the source for each of your website visitors when they are coming from your campaigns, identify from which campaign they came from, and to identify the campaigns which provide a better conversion as well.
Splio can add URL parameters for:
- Google Analytics
- Custom trackers
Once analytics trackers are configured for a design, the URLs are automatically converted at the time of the sending.
Before you can insert trackers in your designs, you need to configure them.
To do so, go to ADMIN > Analytics, where you can find the list of all already configured trackers. Click "New tracker" from the menu on the left.
From here, select the desired Tracker type (Eulerian, Google Analytics, or Custom).
The "Always apply" option dictates the default state of each tracker in the design. If it is set to "Yes," the tracker will be enabled by default in all designs, disabled if "No."
Note that you can only configure one Eulerian tracker and one Google Analytics tracker, while you can have as many custom trackers as necessary. The words "Google Analytics" and "Eulerian" will be displays as the names of their respective trackers in the list.
To configure the Google Analytics tracker, you need to fill three required fields:
- Campaign name: will identify your campaign within the Google Analytics service. This value can be customized with values taken from the Splio database, see below.
- Medium: is used by Google Analytics to recognize the marketing medium from which the analyzed network traffic comes. Values such as "email", "cpc", or "banner" are common.
- Source: describes the advertiser or publication which is sending traffic. It may refer to your website, your company, or the name of your newsletter.
The field customization options shown below use the Google Analytics tracker as an example. However, you can customize other fields as well -- the Eulerian campaign name and all custom tracker field values, among others.
You can customize field values using variables. The example below shows how to customize the campaign name field for a Google Analytics tracker.
campaign name can be customized using variables: for instance, you may use the action's ID in it by entering .
The campaign name is made dynamic by including the sending identifier, represented by the $envoiid$ variable. As a result, each time this design is used to send a campaign, all emails sent in a batch will bear the same identifier. See image below:
Feel free to use all variables available to you, such as coupon data.
There is also a detailed guide to using variables in designs. Please refer to it for questions regarding variables.
Remember that the URL length can never exceed 255 characters when using variables. If a URL is too long, it will be invalid and may not be accepted.
To configure your Eulerian tracker, enter your tracking domain and website ID (mandatory). You also need to choose whether to send the contact's email address to Eulerian and the field whose value will serve as the Recipient's ID (you can select it from a list of basic and custom fields).
You are also required to provide a Campaign name, which can also be customized (see above).
Once your settings are saved, Eulerian will be available when creating or editing designs.
Unlike Google Analytics and Eulerian trackers, you can configure multiple custom trackers in Splio.
Each custom tracker must have a name, which will be visible when choosing trackers for designs.
For each tracker you can define parameter-value pairs. The parameter value can be customized, that is, it may contain a value taken from a database field.
Inserting trackers in your designs
When creating a design, go to the "Analytics" page to display all available trackers.
You can activate and deactivate each set of tracking parameters by using the button pairs on the right (in the example above, the "name" tracker is enabled, while the "Google Analytics" and "Test1" trackers are disabled). You can also modify the contents of all fields. Such modifications will only affect this design and its copies.
Using custom tracking domains
Splio gives you the option to specify a tracking domain on a per-link basis within the HTML source. To do so requires adding a
tracking_domain attribute to the link tag, as in the following example:
<a href="http://www.splio.com/" tracking_domain="nl2.splio.com">
The link will be processed by Splio at the time of sending.
You need to take into account that the URL length can never exceed 255 characters. Should a URL be too long, it will be incorrect and will not work as expected.