@@ -61,7 +61,7 @@ <h1>social-feed.js</h1>
61
61
62
62
var updateFeed = function ( ) {
63
63
var initialQuery = $ ( '#query' ) . val ( ) ;
64
- initialQuery = initialQuery . replace ( " " , "" ) ;
64
+ initialQuery = initialQuery . replace ( " " , "" ) ;
65
65
var queryTags = initialQuery . split ( "," ) ;
66
66
$ ( '.social-feed-container' ) . socialfeed ( {
67
67
// FACEBOOK
@@ -118,6 +118,23 @@ <h1>social-feed.js</h1>
118
118
119
119
} ) ;
120
120
</ script >
121
+ <!-- Remove this part on your website. This is only to track the popularity of the Social-feed plugin website-->
122
+ < script >
123
+ ( function ( i , s , o , g , r , a , m ) {
124
+ i [ 'GoogleAnalyticsObject' ] = r ;
125
+ i [ r ] = i [ r ] || function ( ) {
126
+ ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments )
127
+ } , i [ r ] . l = 1 * new Date ( ) ;
128
+ a = s . createElement ( o ) ,
129
+ m = s . getElementsByTagName ( o ) [ 0 ] ;
130
+ a . async = 1 ;
131
+ a . src = g ;
132
+ m . parentNode . insertBefore ( a , m )
133
+ } ) ( window , document , 'script' , '//www.google-analytics.com/analytics.js' , 'ga' ) ;
134
+
135
+ ga ( 'create' , 'UA-59783367-1' , 'auto' ) ;
136
+ ga ( 'send' , 'pageview' ) ;
137
+ </ script >
121
138
</ body >
122
139
123
140
</ html >
0 commit comments