To use custom campaigns, you add UTM parameters to your URL which are then recorded in your custom analytics report. The website is just as basic it was when it launched, but it does the deed. If your organization has multiple people shortening links and posting them, be sure to provide access and training to everyone involved. Before the plain-text version of your campaign is sent, links will look something like this example. ADDENDUM: Plan Out Your Events in a Spreadsheet Your event reporting interface in Google Analytics will either look really pretty, or really messy, depending on how you organize your event Categories, Actions, and Labels: Take a look how the profile above has named categories…. do you think they are easy to understand? When a request is received for a shorthand link, the registry database is searched for an associated URL.
There are no real extra features or services, so this is good choice if you just want to get the job done as fast and as smoothly as possible without all the extra fluff like signing in and CAPTCHAs and other stuff. The secret to high click-through rates involves some of the principles that apply to search engine optimization: Write a descriptive and catchy headline that’s relevant to most of your followers and have a network of people who are truly interested in hearing from you. To track only the HTML version of your campaign, and not the plain-text version, you can create a custom tracking code using Google's resources and add it to the HTML of your campaign. Such URLs are difficult to memorize, type-out or distribute. You publicize this page through twitter, facebook, various banner placement on your website, email newsletter, etc. For example, here's what is returned if you call the shorten method without specifying a long URL: { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Required", "locationType": "parameter", "location": "resource.longUrl" } ], "code": 400, "message": "Required" } } reason specifies the error reason.
Use an online search tool: One great tool for coming up with good domains for URL shorteners is Domai.nr, which lets you type in a full company name and the site suggests variations of it using numerous alternate extensions and other methods mentioned here and even links you to where you can purchase the domains (this is especially handy for country TLDs). They keep URLs that are loaded with UTM tracking tags from looking ugly by hiding the length and characters in the UTM tracking system. You can also determine if the links coming to your PDF are negative links coming from a website you don’t want to be affiliated with. There are other methods of redirecting, but a 301 is the best choice if you are concerned about SEO.
Libya, for instance, exercised its control over the .ly domain in October 2010 to shut down vb.ly for violating Libyan pornography laws. If you have a link domain enabled, wait to enable HSTS until after you have uploaded this certificate for your link domain. Services that don’t do this can end up being blacklisted on major websites which won’t allow links from such services to be displayed.
Twitter will use this to make your timeline better. Links are public, so anyone is free to pass that link to others. This can be added to existing JavaScript files or in a script block as long as it’s loaded somewhere within the HTML body (ideally, just before the closing tag). jQuery (or your alternative) must be loaded first although the Google Analytics tracking code can appear anywhere on the page. /* Track outbound links in Google Analytics */ (function($) { "use strict"; // current page host var baseURI = window.location.host; // click event on body $("body").on("click", function(e) { // abandon if link already aborted or analytics is not available if (e.isDefaultPrevented() || typeof ga !== "function") return; // abandon if no active link or link within domain var link = $(e.target).closest("a"); if (link.length != 1 || baseURI == link[0].host) return; // cancel event and record outbound link e.preventDefault(); var href = link[0].href; ga('send', { 'hitType': 'event', 'eventCategory': 'outbound', 'eventAction': 'link', 'eventLabel': href, 'hitCallback': loadPage }); // redirect after one second if recording takes too long setTimeout(loadPage, 1000); // redirect to outbound page function loadPage() { document.location = href; } }); })(jQuery); // pass another library here if required The event is recorded with the category name ‘outbound’, action name ‘link’ and the value set to the URL of the outbound page. Short URLs, for example, will be subject to linkrot if the shortening service stops working; all URLs related to the service will become broken. On the Design step in the Content Builder, click the Preview and Test drop-down menu, and choose Enter Preview Mode. Doing so generates a tracking link unique to that publisher and offer: What is generated looks something like this: Each part of the affiliate tracking link helps our ad server determine what to do with the traffic when a user follows the link: demo.go2cloud.org - This is the tracking domain of your network, using the provided go2cloud.org domain. aff_c - This part after the domain tells the ad server that this user is clicking through, as opposed to a conversion or impression. offer_id=1001 - In HasOffers, each offer is given an ID number, which is used to connect the click session to the rest of an offer's information. aff_id=2002 - The affiliate ID tells HasOffers which publisher receives credit for the click and the conversion (if the user converts). See if you are using Classic Analytics (ga.js) or Universal Analytics (analytics.js).