Warning: Declaration of Jetpack_IXR_Client::query() should be compatible with IXR_Client::query(...$args) in /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378

Warning: Cannot modify header information - headers already sent by (output started at /home/simoni/blog.dadamailproject.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php:91) in /home/simoni/blog.dadamailproject.com/wp-includes/rest-api/class-wp-rest-server.php on line 1378
{"id":202,"date":"2017-07-06T04:23:48","date_gmt":"2017-07-06T04:23:48","guid":{"rendered":"http:\/\/blog.dadamailproject.com\/?p=202"},"modified":"2017-07-06T17:21:36","modified_gmt":"2017-07-06T17:21:36","slug":"easily-use-dada-mail-with-google-analytics-campaign-tracking","status":"publish","type":"post","link":"https:\/\/blog.dadamailproject.com\/2017\/07\/06\/easily-use-dada-mail-with-google-analytics-campaign-tracking\/","title":{"rendered":"Easily Use Dada Mail with Google Analytics Campaign Tracking"},"content":{"rendered":"

Dada Mail v10.7.0 comes with new options in the Send a Message<\/strong>, and Send a Webpage<\/strong> screens, to help you easily create special query parameters that can then be understood by using Google Analytics. with them,\u00a0 you can then keep track of visitors that originate from your mass mailings.<\/p>\n

In this blog post, I’m going to assume you’re familiar with Google Analytics, and using its UTM query parameters to create custom campaigns. But, if you’re not, check out the\u00a0 Google Analytics<\/a> site, the docs on Custom Campaigns<\/a>, the docs on Best Practices for Custom Campaigns<\/a>, as well as Google’s own URL builder<\/a>.<\/p>\n

So, let’s get to it! We’ll need version 10.7.0<\/strong> of Dada Mail to have this feature available, so if you haven’t already, install<\/a> or upgrade<\/a> to at least\u00a0 v10.7.0.<\/p>\n

First, log into your list control panel, and make sure you’re on the Send a Message<\/strong> screen. Find<\/strong> and click<\/strong> the tab labeled, Options<\/strong>.<\/p>\n

Within that tab, click<\/strong> the tab labeled, Analytics<\/strong>:<\/p>\n

<\/a><\/p>\n

This will reveal all the options for transforming the links in your message to work with Google Analytics and its Custom Campaigns:<\/p>\n

Add UTM parameters to links with the following domains:<\/strong><\/p>\n

Check this option to enable the feature itself. When it’s disabled (which is the default), none of the links in your message will be touched.<\/p>\n

Dada Mail can add the custom UTM parameters to every link in your message, or only to links that go to specific domains. If you leave the textbox underneath this option blank, all links<\/strong> will have custom UTM parameters added to them.<\/p>\n

But, if you would like to only target specific domains, just list them in the textbox – separate each domain with a space:<\/p>\n

<\/a><\/p>\n

In the example above, I’ve enabled adding the UTM parameters, and I’ve listed two domains to add them to, dadamailproject.com<\/strong> and, dadademo.com<\/strong>. Don’t list these domains with, “http:\/\/” or, “https:\/\/” – just the domain itself.<\/p>\n

The rest of the options available are the actual UTM parameters you can set. There are five:<\/p>\n

<\/a>For a full description of what each of these for, see the docs I’ve linked above – start with this one which explains the custom parameters<\/a>. For your convenience, we’ve set defaults for Campaign Source<\/strong> to the app’s name and Campaign Medium<\/strong> to email<\/strong>, so that right off the bat, any outgoing links you have you’ll know are coming from Pro Dada’s email messages!<\/p>\n

Campaign Term<\/strong> is an interesting one, as we treat it a bit special than the others. You may set a default for ALL links in the textbox provided, but Dada Mail will also do its best to try to find the text associated with the actual link click.<\/p>\n

For example, if in the source of your message, you have the following:<\/p>\n

<a href=\"http:\/\/dadamailproject.com\">Dada Mail Mailing List Manager<\/a><\/pre>\n

Dada Mail will set the Campaign Term to, Dada Mail Mailing List Manager<\/strong>. Then, you’ll know that that specific link was clicked, and not the link you have with the same URL in it, that says:<\/p>\n

<a href=\"http:\/\/dadamailproject.com\">\r\n    Download and Install Today!\r\n<\/a><\/pre>\n

This will report a Campaign Term of, Download and Install Today!<\/strong> You can then track which links work better in your mass mailings.<\/p>\n

In fact, all these parameters can be overridden in two other different ways.<\/p>\n

The first is to simply set the parameters yourself. If you use Google’s Campaign URL Builder<\/a> for example, and use the URL it creates in your message, Dada Mail will observe those parameters, and will not override them. For example, let’s set the Campaign Term to, “Best Mailing List Manager” in the URL Builder<\/a>:<\/p>\n

<\/a><\/p>\n

Here’s the URL it created for me:<\/p>\n

http:\/\/dadamailproject.com\/?utm_source=Pro%20Dada&utm_medium=email&utm_term=Best%20Mailing%20List%20Manager<\/pre>\n

If I then use this URL like so:<\/p>\n

<a href=\"http:\/\/dadamailproject.com\/?utm_source=Pro%20Dada&utm_medium=email&utm_term=Best%20Mailing%20List%20Manager>\r\n    Download and Install Today!\r\n<\/a><\/pre>\n

Dada Mail will keep the Campaign Term, Best Mailing List Manager<\/strong> instead of using the text that’s within your anchor tag, Download and Install Today!<\/strong>, or with whatever you set in the Campaign Term in the Analytics Tag. Options!<\/p>\n

Finally, you may set any of the UTM parameters using attributes inside the anchor tag itself So, for example, to set the Campaign Term in an attribute, I would use the following attribute: data-utm_term<\/strong>:<\/p>\n

<a href=\"http:\/\/dadamailproject.com\" data-utm_term=\"Give+them+the+goods\">\r\n    Download and Install Today!\r\n<\/a><\/pre>\n

Now, the Campaign term will be set by Dada Mail to, Give them the goods<\/strong> instead of, Download and Install Today!<\/strong><\/p>\n

Here’s the order of precedence to all this:<\/p>\n

    \n
  • Any query parameters<\/strong> found in the link itself have the highest precedence.<\/li>\n
  • Next, are the dada-utm_* attributes<\/strong> in the anchor tag, itself<\/li>\n
  • Then, (for Campaign Term), it’s the actual text found wrapped inside the anchor tag<\/strong><\/li>\n
  • Finally, the parameters you set within the Send a Message<\/strong>\/Send a Webpage screen will be used.<\/li>\n<\/ul>\n

    And that’s the new support for created the custom UTM parameters to be used in conjunction with platforms like Google Analytics. Give it a try, and let us know how it’s working for you. We’re looking forward on building upon this start of the feature and to add improvements over time!<\/p>\n

     <\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"

    Dada Mail v10.7.0 comes with new options in the Send a Message, and Send a Webpage screens, to help you easily create special query parameters that can then be understood by using Google Analytics. with them,\u00a0 you can then keep track of visitors that originate from your mass mailings. In this blog post, I’m going […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[18,7,12],"tags":[25,22,23,24],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paVOyw-3g","_links":{"self":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/202"}],"collection":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":3,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/posts\/202\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dadamailproject.com\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}