If you are using the newer Universal tracking please refer to the docs. Looks like a malfunctioning Holodisk, but the work that went into it, with the dancers, etc, impressive.
Some URL shorteners will redirect you to an ads page first before taking you to the real URL you supposed to redirected to. In the screenshot below, we used 301 forwarding which shows our LinkedIn URL in the browser. Here is what the firing rules look like for this tag:Event Equals gtm.linkClick: You will want to use this rule for ANY and ALL link click events. The need for this came about when one of our Healthcare Marketing clients needed to track the actual impact their PDFs were having on their organic search volume, and traffic in general. Campaign-, adgroup- and creative-level trackers have corresponding Campaign Structure Parameters, e.g. campaign, adgroup and creative.
If you use an affiliate plugin to format your affiliate links into something like this then you will have to enable tracking of internal links as outbound links. For example, the URL "" can be shortened to "", and the URL "" can be shortened to "". Twitter will use this to make your timeline better.
This means your URLs for blog posts will be instead of or something along those lines. It also creates a dashboard of URLs as you go, so you can see your existing links and avoid duplication. Don’t fall for one of those “build your Twitter follower count fast” programs. Typically, data: and javascript: URLs are not supported for security reasons. 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.
Before going to the tutorial check the working example: Working URL Shortener website: Below is the example of Google URL Shortener API with JavaScript.
URL: