Brevity and simplicity are great characteristics of web page URLs. No wonder that URL shorteners are very popular. Our web agency creates appealing, feature-rich, and user-friendly websites. Today we are sharing a post on URL shorteners: what they are, why they are used, and how to integrate a URL shortener with a website.
If your website is built on Drupal, the second part of the post will be especially interesting for you because we will discuss URL shortener integration on Drupal websites.
What is a URL shortener?
A link shortener is a service that reduces the length of your URL. Even web addresses over a hundred characters long can turn into trimmed links that do not exceed 20 characters. The underlying technology is web page redirection. A user clicks on the short address and is navigated to the long one. Famous examples of link shorteners include, but are not limited to Bitly, TinyURL, Bag.gy, Ow.ly, and Yourls.
Bitly link shortener
Reasons to use a link shortener
Initially used for Twitter, links shorteners have become a common practice in a variety of marketing activities. Here are a few scenarios in which the link shortening technique is used:
There are restrictions in the allowed number of characters imposed by messaging apps — for example, link shorteners became especially popular due to Twitter’s rule of 140 characters in one tweet.
You need to make the URL easy to remember and put it on a print resource (banner, presentation, etc.)
Your goal is to beautify your links and make them more aesthetically appealing, which should convince more visitors to click.
You want to learn your customers’ behavior by using the monitoring features in famous URL shorteners.
You want to use the UTM parameters, or tags added to your URLs for the purpose of tracking the user behavior. These usually look long but link shorteners can make them much shorter.
You want to use the advanced features like changing destination addresses, link retargeting, traffic splitting, and more.
Link shortener integration with a website built on Drupal
You can use link shorteners directly on their own websites where you just need to enter the long address and grab the short address.
However, it’s a more interesting idea to integrate a link shortener with a website. In particular, we will see how to integrate Drupal with a link shortener.
To set up URL shortening in Drupal, you can use a third-party service integration via a URL shortener API or just the Pathauto module to auto generate short web addresses. However, the most convenient way is to use a contributed module to perform URL shortener integration for Drupal.
Drupal modules to integrate your website with a link shortener
Shorten URLs
The Shorten URLs is an easy-to-use and lightweight module that provides an API to integrate Drupal with TinyURL, Bitly, and a dozen of other link shortener services. It is used by other modules as well because it is primarily an API. The Shorten URLs module is ready both for Drupal 7 and Drupal 8 sites.
It offers an intuitive user interface for URL shortening as a page or a block. In addition, there is a block that displays the current page’s shortened address is meant for quick copying.
The module comes packed with four submodules:
The Shorten URLs as the main module provides an API and user interface for URL shortening using common services.
The Record Shortened URLs submodule tracks and shows the statistics of shortened URLs to website admins.
The Shorten URLs Custom Services submodule allows you to add custom URL shortening services via the UI.
The Shorten URLs Input Filter submodule offers an input filter for automatic URL shortening in the text.
Shorten URLs Drupal module
ShURLy
The ShURLy is a URL shortening service created as a Drupal module. It has a stable Drupal 7 version, but Drupal 8 websites will need to wait a little because ShURLy for Drupal 8 is in development. The ShURLy module has plenty of interesting features, some of which are as follows:
Click here 1501
Click here 1502
Click here 1503
Click here 1504
Click here 1505
Click here 1506
Click here 1507
Click here 1508
Click here 1509
Click here 1510
Click here 1511
Click here 1512
Click here 1513
Click here 1514
Click here 1515
Click here 1516
Click here 1517
Click here 1518
Click here 1519
Click here 1520
Click here 1521
Click here 1522
Click here 1523
Click here 1524
Click here 1525
Click here 1526
Click here 1527
Click here 1528
Click here 1529
Click here 1530
Click here 1531
Click here 1532
Click here 1533
Click here 1534
Click here 1535
Click here 1536
Click here 1537
Click here 1538
Click here 1539
Click here 1540
Click here 1541
Click here 1542
Click here 1543
Click here 1544
Click here 1545
Click here 1546
Click here 1547
Click here 1548
Click here 1549
Click here 1550
Click here 1551
Click here 1552
Click here 1553
Click here 1554
Click here 1555
Click here 1556
Click here 1557
Click here 1558
Click here 1559
Click here 1560
Click here 1561
Click here 1562
Click here 1563
Click here 1564
Click here 1565
Click here 1566
Click here 1567
Click here 1568
Click here 1569
Click here 1570
Click here 1571
Click here 1572
Click here 1573
Click here 1574
Click here 1575
Click here 1576
Click here 1577
Click here 1578
Click here 1579
Click here 1580
Click here 1581
Click here 1582
Click here 1583
Click here 1584
Click here 1585
Click here 1586
Click here 1587
Click here 1588
Click here 1589
Click here 1590
Click here 1591
Click here 1592
Click here 1593
Click here 1594
Click here 1595
Click here 1596
Click here 1597
Click here 1598
Click here 1599
Click here 1600
Click here 1601
Click here 1602
Click here 1603
Click here 1604
Click here 1605
Click here 1606
Click here 1607
Click here 1608
Click here 1609
Click here 1610
Click here 1611
Click here 1612
Click here 1613
Click here 1614
Click here 1615
Click here 1616
Click here 1617
Click here 1618
Click here 1619
Click here 1620
Click here 1621
Click here 1622
Click here 1623
Click here 1624
Click here 1625
Click here 1626
Click here 1627
Click here 1628
Click here 1629
Click here 1630
Click here 1631
Click here 1632
Click here 1633
Click here 1634
Click here 1635
Click here 1636
Click here 1637
Click here 1638
Click here 1639
Click here 1640
Click here 1641
Click here 1642
Click here 1643
Click here 1644
Click here 1645
Click here 1646
Click here 1647
Click here 1648
Click here 1649
Click here 1650
Click here 1651
Click here 1652
Click here 1653
Click here 1654
Click here 1655
Click here 1656
Click here 1657
Click here 1658
Click here 1659
Click here 1660
Click here 1661
Click here 1662
Click here 1663
Click here 1664
Click here 1665
Click here 1666
Click here 1667
Click here 1668
Click here 1669
Click here 1670
Click here 1671
Click here 1672
Click here 1673
Click here 1674
Click here 1675
Click here 1676
Click here 1677
Click here 1678
Click here 1679
Click here 1680
Click here 1681
Click here 1682
Click here 1683
Click here 1684
Click here 1685
Click here 1686
Click here 1687
Click here 1688
Click here 1689
Click here 1690
Click here 1691
Click here 1692
Click here 1693
Click here 1694
Click here 1695
Click here 1696
Click here 1697
Click here 1698
Click here 1699
Click here 1700
Click here 1701
Click here 1702
Click here 1703
Click here 1704
Click here 1705
Click here 1706
Click here 1707
Click here 1708
Click here 1709
Click here 1710
Click here 1711
Click here 1712
Click here 1713
Click here 1714
Click here 1715
Click here 1716
Click here 1717
Click here 1718
Click here 1719
Click here 1720
Click here 1721
Click here 1722
Click here 1723
Click here 1724
Click here 1725
Click here 1726
Click here 1727
Click here 1728
Click here 1729
Click here 1730
Click here 1731
Click here 1732
Click here 1733
Click here 1734
Click here 1735
Click here 1736
Click here 1737
Click here 1738
Click here 1739
Click here 1740
Click here 1741
Click here 1742
Click here 1743
Click here 1744
Click here 1745
Click here 1746
Click here 1747
Click here 1748
Click here 1749
Click here 1750
Click here 1751
Click here 1752
Click here 1753
Click here 1754
Click here 1755
Click here 1756
Click here 1757
Click here 1758
Click here 1759
Click here 1760
Click here 1761
Click here 1762
Click here 1763
Click here 1764
Click here 1765
Click here 1766
Click here 1767
Click here 1768
Click here 1769
Click here 1770
Click here 1771
Click here 1772
Click here 1773
Click here 1774
Click here 1775
Click here 1776
Click here 1777
Click here 1778
Click here 1779
Click here 1780
Click here 1781
Click here 1782
Click here 1783
Click here 1784
Click here 1785
Click here 1786
Click here 1787
Click here 1788
Click here 1789
Click here 1790
Click here 1791
Click here 1792
Click here 1793
Click here 1794
Click here 1795
Click here 1796
Click here 1797
Click here 1798
Click here 1799
Click here 1800
Click here 1801
Click here 1802
Click here 1803
Click here 1804
Click here 1805
Click here 1806
Click here 1807
Click here 1808
Click here 1809
Click here 1810
Click here 1811
Click here 1812
Click here 1813
Click here 1814
Click here 1815
Click here 1816
Click here 1817
Click here 1818
Click here 1819
Click here 1820
Click here 1821
Click here 1822
Click here 1823
Click here 1824
Click here 1825
Click here 1826
Click here 1827
Click here 1828
Click here 1829
Click here 1830
Click here 1831
Click here 1832
Click here 1833
Click here 1834
Click here 1835
Click here 1836
Click here 1837
Click here 1838
Click here 1839
Click here 1840
Click here 1841
Click here 1842
Click here 1843
Click here 1844
Click here 1845
Click here 1846
Click here 1847
Click here 1848
Click here 1849
Click here 1850
Click here 1851
Click here 1852
Click here 1853
Click here 1854
Click here 1855
Click here 1856
Click here 1857
Click here 1858
Click here 1859
Click here 1860
Click here 1861
Click here 1862
Click here 1863
Click here 1864
Click here 1865
Click here 1866
Click here 1867
Click here 1868
Click here 1869
Click here 1870
Click here 1871
Click here 1872
Click here 1873
Click here 1874
Click here 1875
Click here 1876
Click here 1877
Click here 1878
Click here 1879
Click here 1880
Click here 1881
Click here 1882
Click here 1883
Click here 1884
Click here 1885
Click here 1886
Click here 1887
Click here 1888
Click here 1889
Click here 1890
Click here 1891
Click here 1892
Click here 1893
Click here 1894
Click here 1895
Click here 1896
Click here 1897
Click here 1898
Click here 1899
Click here 1900
Click here 1901
Click here 1902
Click here 1903
Click here 1904
Click here 1905
Click here 1906
Click here 1907
Click here 1908
Click here 1909
Click here 1910
Click here 1911
Click here 1912
Click here 1913
Click here 1914
Click here 1915
Click here 1916
Click here 1917
Click here 1918
Click here 1919
Click here 1920
Click here 1921
Click here 1922
Click here 1923
Click here 1924
Click here 1925
Click here 1926
Click here 1927
Click here 1928
Click here 1929
Click here 1930
Click here 1931
Click here 1932
Click here 1933
Click here 1934
Click here 1935
Click here 1936
Click here 1937
Click here 1938
Click here 1939
Click here 1940
Click here 1941
Click here 1942
Click here 1943
Click here 1944
Click here 1945
Click here 1946
Click here 1947
Click here 1948
Click here 1949
Click here 1950
Click here 1951
Click here 1952
Click here 1953
Click here 1954
Click here 1955
Click here 1956
Click here 1957
Click here 1958
Click here 1959
Click here 1960
Click here 1961
Click here 1962
Click here 1963
Click here 1964
Click here 1965
Click here 1966
Click here 1967
Click here 1968
Click here 1969
Click here 1970
Click here 1971
Click here 1972
Click here 1973
Click here 1974
Click here 1975
Click here 1976
Click here 1977
Click here 1978
Click here 1979
Click here 1980
Click here 1981
Click here 1982
Click here 1983
Click here 1984
Click here 1985
Click here 1986
Click here 1987
Click here 1988
Click here 1989
Click here 1990
Click here 1991
Click here 1992
Click here 1993
Click here 1994
Click here 1995
Click here 1996
Click here 1997
Click here 1998
Click here 1999
Click here 2000