Such scripts avoid many issues with shortening services, keep the domain name as part of the shortened link, and can be made private. 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. As you shorten your links, Google will display them below with its long URL version, when it was created, its corresponding shortened goo.gl link and how many clicks it has received.
Once the call is complete, it can run a callback function so we can redirect to the outbound page. Go to the homepage of the URL shortening service that you used in the first step.
I think a few of these points are worth following up on. They also allow you to track your links and provide you with the ability to understand and visualise your audience. Our CTID can be passed through any affiliate network using SubID tracking. You can also pass the CTID to affiliate networks with pixel tracking or postback tracking if the network supports it.
The second condition makes sure that we’re not capturing any relative links that typically looks like href="/some-url-path". More » Is.gd Is.gd provides one of the simplest URL shortening experiences by giving you nothing more than a field to input your long link so you can instantly transform into a shorter one.
You will also need hosting for the domain, if you already have hosting you can add the domain to your existing package. True to its name, the URL macro plug the URL of the page that the link click occurred on. The next page will show you a shortened link. 7. To view stats for your custom campaigns go to Google Analytics Reporting » Traffic » Sources » Campaigns and you will see something like this. HasOffers stores the value of ad_id as the transaction ID for the session. This action makes it more convenient for your visitors to read and makes the addresses more suitable to share on Twitter.