2. Call it ‘custom js - get client id for tracker’ 3. When creating your variable choose 'Custom JavaScript' 4. Paste in the following code:- function() { try { var trackers = ga.getAll(); var i, len; for (i = 0, len = trackers.length; i < len; i += 1) { if (trackers[i].get('trackingId') === {{ga tracking id}}) { return trackers[i].get('clientId'); } } } catch(e) {} return 'false'; } We use a constant variable named {{ga tracking id}} to reference our Google Analytics property ID. Remember to use your own {{ga tracking id}} variable within the code 5. TweetDeck and Seesmic (TweetDeck’s direct competitor) both offer numerous URL-shortener options (bit.ly, is.gd, TinyURL, and twURL), but only bit.ly offers click tracking.
You can use Analytics Events to track clicks on links that take users to a website other than your own. If you were to add this bit of text to the end of all your Eventbrite links, followed by the user's client ID, then instead of generating a new client ID when the user shows up, Google Analytics will continue using that one instead. SEO, webmasters, used to think that the more links they had to their websites, the better would be its ranking on search engines.
Undo Undo Shorten URL @ShortenURL 15 May 2011 More Statistics for Sunday, May 15, 2011 Thanks. However, if it's a direct link to a resource like a document or PDF or JPG, to track this link when using Google Analytics you may need some custom tracking methods setup on your server to track that particular link to your resource. Another consideration is that some countries also restrict what content can be used their TLDs, so if you intend in shortening content that might be in violation of these laws, you'll need to find another TLD. Before you move on, let me let you know that twitter blocks a lot of link shortening services and has since flag them negatively. But otherwise, the free account is useful enough for comprehensive link tracking.
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. You can also get a visual glimpse of your engagement for a different perspective. These special error resistant links also work great in spoken form (Siri changes links to all upper case). When you create menu items on your website, you are creating internal links to the item pages. 3Using data from media partners to create dynamic segments Your media partners are often able to provide some data on e.g. publisher IDs, campaign details and so on.
However, there are many instances where you or your publisher may want to keep track of additional information. Will it be a similar message throughout several emails? The process must be fast, not handle clicks which have been deactivated by other processes and ensure links work even if the Analytics event fails. You'll want to make sure to enter the full number (including the "UA-"). If your website has WordPress installed in a directory, your options might look like this, where our blog is installed in the “blog” directory: If your website is your WordPress installation, it might look like this: This works best when you choose a page slug that is short and mindful of keywords. By tracking those links, you can find which one is working the best.