You can then create tags that wait for the gtm.linkClick event to happen, and perform additional tasks (like the external link tracker tag described below). note: There are a number of tagging strategies. In this case, this is what I used: Category: Email Link Click – I manually named this, so it’s easy for me to see that this category includes any link on an email address. Many sites that accept user-submitted content block links, however, to certain domains in order to cut down on spam, and for this reason, known URL redirection services are often themselves added to spam blacklists.
To pass a custom transaction ID in your tracking link, append the following parameter: ad_id You or your publisher needs to insert an externally generated transaction ID value in this parameter before the click registers in HasOffers. I once went bonkers when I couldn’t get a link click tag to work… and it all came down to a lowercase typo. As mentioned in the best practice section, it may make sense to leave a middle-rank parameter empty so you can use it in the future.
Many sites that accept user-submitted content block links, however, to certain domains in order to cut down on spam, and for this reason, known URL redirection services are often themselves added to spam blacklists. It depends on the amount of point of interest you need to track.
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. Advanced Tracking Link Features On top of all the features described above, HasOffers provides some much more advanced features that can help you modify and use your affiliate tracking link to your liking: Thank you for your feedback! That would help you determine whether the announcement emails are worthwhile or perhaps whether the regular emails need to be reformatted. 10Adjust Tracker Wizard Adjust’s Tracker Wizard provides a simple way for you to generate network specific tracking URLs. If you click the shortened link on bit.ly, you get access to detailed traffic information related to number of clicks, referring Web sites, and geographic locations of the users who clicked. Twitter will use this to make your timeline better.
Plus, you can also share the URL you shorten via QR code since this tool also offer it. When it comes to online advertising and marketing, link tracking is king. While URL shorteners have had some incredible usage tied to the growth (and constraints) of Twitter, I question their sustainability as a business. See the URL get method in the Reference document for more details. We recommend having a domain name dedicated to your shortener, though. You can also get a general overview of both open and click statistics from the Campaigns page in your account. This article is part of our HasOffers Basics series. It appears to be written in something like base64. The examples in this guide all use a REST-style JSON protocol. Once this is enabled, you can append the following parameter to your tracking link: url Unlike the url_id parameter, this parameter expects a valid, encoded deep URL to be added for traffic to redirect to: Payout on Click In some cases, you may want to dynamically pass the payout that the publisher receives for a session. In order to form the key, a hash function can be made, or a random number generated so that key sequence is not predictable. You can create custom tracking links offline and use them directly without visiting the AppsFlyer's dashboard. If you’re logged in you can also get the shortlink for any page on WordPress.com, there’s a link under the “Blog Info” menu in your admin bar. So unless shared or exposed publicly, short links never appear in search results.Geniuslink: smarter links for commerce Geniuslink offers URL shortening with your own custom branded domain powered by the most intelligent link management platform in existence. Well in this article, we will show you how to track links in WordPress using Google Analytics. It’s a good way to package up multiple links into one link. There is now a “Get Shortlink” button next to your permalink when you edit or write a post, and when you click it you’ll get a popup with the beautiful link already highlighted for your copy and pasting pleasure.