liquid-google-analytics 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +46 -1
- data/lib/liquid/google_analytics.rb +1 -1
- data/lib/liquid/plugin_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7c273aa60e52b1088e7b169a0303d266a0f7d3f
|
4
|
+
data.tar.gz: 477623cbe78725cb3c9270a36a349950643fdf59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa7ad8424e9ffc9144b5e7a9745059799cc9faba2a927d41a98247731c2936b78fb333d2aa0b19bdd176416a7b42b1aa10c4f367b5cc326f42d22b1dd7e1d685
|
7
|
+
data.tar.gz: 662152dbf0b1058fb57fa5a74727b2ceb1593c8a49a7ba3d1ef5c8f7c17bef8a81095d4eed16cc577456526499dee651514a6be1439c4b184c8d971d9005b7f4
|
data/README.md
CHANGED
@@ -1 +1,46 @@
|
|
1
|
-
# Liquid Google Analytics Tag
|
1
|
+
# Liquid Google Analytics Tag
|
2
|
+
|
3
|
+
This plugin helps generate Google Analytics code snippet easily as a Liquid Tag call
|
4
|
+
|
5
|
+
### Installation
|
6
|
+
|
7
|
+
This plugin is available as a [RubyGem](https://rubygems.org/gems/liquid-google-analytics/)
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```
|
12
|
+
gem 'liquid-google-analytics'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute the `bundle install` command to install the gem.
|
16
|
+
|
17
|
+
Alternatively, you can also manually install the gem using the following command:
|
18
|
+
|
19
|
+
```
|
20
|
+
$ gem install liquid-google-analytics
|
21
|
+
```
|
22
|
+
|
23
|
+
For Jekyll Users, after the plugin has been installed successfully, add the following lines to your _config.yml in order to tell Jekyll to use the plugin:
|
24
|
+
|
25
|
+
```yaml
|
26
|
+
gems:
|
27
|
+
- liquid-google-analytics
|
28
|
+
```
|
29
|
+
|
30
|
+
### Usage
|
31
|
+
|
32
|
+
You need to use `google_analytics` as liquid tag and pass the Tracking Code as parameter shown below
|
33
|
+
|
34
|
+
```
|
35
|
+
{{ google_analytics UA-12345 }}
|
36
|
+
```
|
37
|
+
|
38
|
+
### Contribute
|
39
|
+
|
40
|
+
Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.
|
41
|
+
|
42
|
+
### Copyright
|
43
|
+
|
44
|
+
Copyright (c) 2015 Rohan Sakhale
|
45
|
+
|
46
|
+
License: MIT
|