Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Oct 30, 2017
2 parents 6b35e40 + d879850 commit f756219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ You can let Google Analytics automatically send tracking data when your app cras
end

## License
This library is released under the same [Terms and Conditions as the Defold editor and service itself](http://www.defold.com/about-terms/).
This library is released under the same [Terms and Conditions as Defold](http://www.defold.com/about-terms/).

## Third party tools and modules used
The library uses the following modules:
Expand Down
4 changes: 2 additions & 2 deletions googleanalytics/tracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function M.create(tracking_id)
.. "&ul=" .. sys.get_sys_info().device_language
.. "&an=" .. url_encode(get_application_name())
.. "&aid=" .. url_encode(get_application_id())
.. "&av=" .. sys.get_config("project.version"),
.. "&av=" .. (sys.get_config("project.version") or "1.0"),
}

local event_params = tracker.base_params .. "&t=event"
Expand Down Expand Up @@ -143,4 +143,4 @@ function M.create(tracking_id)
end


return M
return M

0 comments on commit f756219

Please sign in to comment.